Google Trends MCP server
{
"mcpServers": {
"hasdata-google-trends": {
"command": "npx",
"args": [
"-y",
"@hasdata/google-trends-mcp@latest"
],
"env": {
"HASDATA_API_KEY": "<hasdata_api_key>",
"YOUR_KEY": "<your_key>"
}
}
}
}{
"mcpServers": {
"hasdata-google-trends": {
"command": "npx",
"args": [
"-y",
"@hasdata/google-trends-mcp@latest"
],
"env": {
"HASDATA_API_KEY": "<hasdata_api_key>",
"YOUR_KEY": "<your_key>"
}
}
}
}{
"mcpServers": {
"hasdata-google-trends": {
"command": "npx",
"args": [
"-y",
"@hasdata/google-trends-mcp@latest"
],
"env": {
"HASDATA_API_KEY": "<hasdata_api_key>",
"YOUR_KEY": "<your_key>"
}
}
}
}{
"servers": {
"hasdata-google-trends": {
"command": "npx",
"args": [
"-y",
"@hasdata/google-trends-mcp@latest"
],
"env": {
"HASDATA_API_KEY": "${input:hasdata_api_key}",
"YOUR_KEY": "${input:your_key}"
}
}
},
"inputs": [
{
"id": "hasdata_api_key",
"type": "promptString",
"description": "Hasdata api key",
"password": true
},
{
"id": "your_key",
"type": "promptString",
"description": "Your key",
"password": true
}
]
}{
"mcpServers": {
"hasdata-google-trends": {
"command": "npx",
"args": [
"-y",
"@hasdata/google-trends-mcp@latest"
],
"env": {
"HASDATA_API_KEY": "<hasdata_api_key>",
"YOUR_KEY": "<your_key>"
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall npx -y @hasdata/google-trends-mcpversion 1.0.6
What it does
This server exposes Google Trends data through a single MCP tool, allowing you to query search interest over time, by region, and related queries without scraping or a Google account. It is for developers building AI applications that need current trend data.
- Retrieve search interest trends for a term over a time period to identify when demand peaks.
- Get regional interest breakdowns by state or country to see where a topic is most popular.
- Find rising and top related queries for a search term to discover associated interests and breakout trends.
Tools this server exposes
| Tool | Does |
|---|---|
| google_trends | Query Google Trends data for interest over time, by region, and related queries and topics, returned as JSON. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.