Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/HasData/google-trends-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/hasdata/google-trends-mcp/hasdata-google-trends)<a href="https://agentmods.dev/rules/hasdata/google-trends-mcp/hasdata-google-trends"><img src="https://agentmods.dev/badge/rules/hasdata/google-trends-mcp/hasdata-google-trends/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/hasdata/google-trends-mcp/hasdata-google-trends"><img src="https://agentmods.dev/badge/rules/hasdata/google-trends-mcp/hasdata-google-trends.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00019 | $0.00841 |
| Opus 5.5 | $0.00008 | $0.00336 |
| Sonnet 5.5 | $0.00004 | $0.00168 |
| Haiku 4.5 | $0.00002 | $0.00084 |
Grade A, and why
hasdata-google-trends scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Google Trends through HasData
One tool, hasdata_google_trends_search_getTrendsData. It takes q and returns one block of data, and which block you get is decided by dataType.
dataType renames the answer
timeseries returns interestOverTime, geoMap returns geoMap, relatedTopics returns relatedTopics and relatedQueries returns relatedQueries. The top-level key changes with the parameter, so reading a fixed key means three of the four calls look empty. One call gives one block, and a question that needs the curve and the regions needs two calls.
Interest is relative, never absolute
Google Trends reports interest on a 0 to 100 scale inside the requested window and set of terms. The numbers are not searches, and they are not comparable across two separate calls, because each call rescales to its own maximum.
Comparing terms means putting them in one request. q takes them comma-separated up to five, and a sixth is rejected with a 400. Each point then carries a values array with one entry per term, each holding query, extractedValue and a hasData flag, which is how a term with nothing behind it is distinguished from a term sitting at zero.
That comparison cannot be carried into the other blocks. relatedTopics and relatedQueries take a single term and answer a multi-term q with a 422 reading supportsSingleQuery.
A point also carries isPartial. The final bucket of a running window is usually partial, so treating it as a finished period turns an incomplete count into a fall.
Rising is labelled, not measured
In relatedQueries, a rising entry reads either as a percentage such as +300% or as Breakout. A Breakout still carries an extractedValue, and it is a sentinel far above any real percentage rather than a measurement. Sorting the rising list on that number puts the sentinels on top as though they were the biggest gains, so sort on the label and treat Breakout as its own category.
Targeting
geo is an enum of documented locations and a value outside it fails with a 422 naming geo, so a made-up code is rejected rather than ignored. region chooses the granularity of a geoMap between country, region, dma and city, and its default follows geo, so pass it explicitly or report which granularity you actually got. cat narrows to a category, gprop switches the corpus to images, news, froogle or youtube, and date takes Google's own range strings such as now 1-H or today 12-m.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3d ago Changed · +6 lines dc3aeb325c96
- 23d ago First seen · 39 lines · 19 tokens per session scan A 80314e1d84ed
hasdata-google-trends is a cursor rule published in the GitHub repository HasData/google-trends-mcp (5 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 841 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.
Other cursor rules, from other repositories
hasdata-instagram
How to pull public Instagram profiles and post feeds through the HasData MCP server.
hasdata-booking
How to pull Booking.com hotel search and property details through the HasData MCP server.
hasdata-zillow
How to pull Zillow listings and property details through the HasData MCP server.
hasdata-indeed
How to pull Indeed job listings and postings through the HasData MCP server.
hasdata-tiktok
How to pull TikTok profiles, post feeds, keyword search and comments through the HasData MCP server.
hasdata-airbnb
How to pull Airbnb stays and listing details through the HasData MCP server.