Google Trends MCP Server
Connect your AI agents to HasData's Google Trends MCP server. Scrape interest over time, rising queries, and regional breakdowns in structured JSON over streamable HTTP.
https://mcp.hasdata.com/api/mcp?apis=google_trends - Transport
- Streamable HTTP
- Auth
- OAuth or API key
- Tools
- 1 Google Trends tool
- Price
- 5 credits / call


See the Google Trends MCP server in action
Select a sample prompt to inspect the tool it chooses and the JSON payload your agent receives.
How has interest in "mcp server" moved over the last year in the US?
Which queries are rising alongside "mcp server" in the US?
Which US states search for "mcp server" most?
What topics does Google associate with "mcp server"?
The Google Trends tool your agent can call
1 toolOne tool with four modes. dataType decides whether a call returns the interest curve, the map, the related topics or the related queries, so the same call shape answers four different questions.
+ hasdata_google_trends_search_getTrendsData Interest, geography and related terms 5 params 5 credits
Try| Parameter | Type | Required | Example |
|---|---|---|---|
| q | string | required | "mcp server" |
| dataType | enum | optional | "timeseries" |
| geo | string | optional | "US" |
| date | string | optional | "today 12-m" |
| gprop | enum | optional | "youtube" |
- interestOverTime
- geoMap
- relatedTopics
- relatedQueries
Every call is 5 credits. Failed calls are not billed.
One endpoint, any MCP client
Config blocks for Claude Desktop, Cursor, VS Code, Windsurf and Claude Code, in each one’s native format. Authenticate with browser OAuth or an x-api-key header.
Claude Code
hasdata-google-trends · connected · 1 toolCursor
hasdata-google-trends · 1 tool enabledClaude Desktop
hasdata-google-trends · connected · 1 toolVS Code / Copilot
hasdata-google-trends · running · 1 toolWindsurf
hasdata-google-trends · 1 toolCodex CLI
hasdata-google-trends · 1 toolRaw HTTP / curl
{ "tools": [ … 1 item ] }Google Trends plus whatever else you need
Name the services in the query string and the server exposes only their tools. Every one draws from the same key and the same balance.
Free on GitHub, paid in hours
Anyone can clone a free MCP to scrape Google Trends. Whether that stays free depends on the shape of your project.
A script I run once
A weekly report
A pipeline in production
A feature in my product
One balance, every interface
A flat monthly price against a known credit ceiling. Move up a plan when you outgrow it.
Free
Startup
Basic
RecommendedGrowth
Monthly tool call volume
Custom price based on required volume
Past 20M credits a month, or terms the self-serve plans do not cover. We shape the contract around your workload.
Before you wire it in
Do I need a Google account or API key?
No. The only credential is your HasData key. The tool reads the public Google Trends pages a signed-out visitor sees.
Are the numbers actual search volumes?
No, and this is the single most common misreading. Google Trends returns a relative index where 100 is the peak of the period you asked for. A value of 50 means half the peak, not fifty searches. For absolute volume you need a keyword tool, not Trends.
Why did the curve change when I changed the date range?
Because the index is rescaled to whatever window you request. The same week can read 40 over five years and 100 over three months. Compare curves only when they were pulled with the same <code>date</code>.
Can I get YouTube or Google News trends instead of web search?
Yes. Pass <code>gprop</code> as <code>youtube</code>, <code>news</code>, <code>images</code> or <code>froogle</code> for Shopping. Leave it out for web search.
How fresh is the data? Is anything cached?
Every tool call fetches the page at that moment. Trends itself lags by a day or two on the most recent bucket, which is Google’s own behaviour rather than ours.
How many calls can run in parallel?
One on the free tier, five on Startup, fifteen on Basic, and fifty on Growth. The larger Growth volumes raise it to 200, 300 and 500.
What happens when I run out of credits?
Nothing is charged on top of the plan. Calls stop until the billing cycle renews.
Does it work with Claude Desktop, Cursor, VS Code and Claude Code?
Yes, all four, plus anything else that speaks MCP over streamable HTTP. Claude Desktop connects through OAuth, and the rest take the URL and an API key header.
Is HasData affiliated with Google?
No. HasData is an independent service and is not affiliated with, endorsed by, or sponsored by Google LLC. Google Trends is a trademark of its respective owner.