Google Trends — Claude Code MCP server: what it does, how to install
Brings Google Trends figures into your agent: how a query's popularity shifts, where it gets searched, what people look up next to it. No API key.
no license 411 installs updated 2026-05-17
claude mcp add --transport http trends https://trends--google.run.toolsWhat Google Trends does
One tool, get_trends, and a data_type switch. Ask for TIMESERIES to watch interest in a term move over time, GEO_MAP for a regional breakdown, RELATED_TOPICS or RELATED_QUERIES for what people search alongside it. Leave the parameter out and you get TIMESERIES.
Nothing runs locally. The server sits at https://trends--google.run.tools and speaks HTTP, so setup is a URL in your MCP config. It plugs into Claude, Codex, Cursor, GitHub Copilot, Windsurf, Cline, Zed and Gemini CLI.
No API key is involved: requests are routed through SerpAPI, and the service states that it has no affiliation with Google. That endpoint is the whole install — block https://trends--google.run.tools and there is nothing to fall back on.
What it helps with
- chart how interest in a keyword moved across a period
- break interest down by country or region
- surface topics that searchers pair with a term
- pull related queries for keyword research
- drop trend numbers into a report without manual exports
Example prompts for the agent
- Show me the interest curve for
dyson airwrapmonth by month withget_trends,data_type: TIMESERIES. - Map interest by region for
coffee machineusingdata_type: GEO_MAP. - What topics come up alongside
llm agents? Runget_trendswithdata_type: RELATED_TOPICS.
How to install Google Trends
Platform CLI: remote server
claude mcp add --transport http trends https://trends--google.run.toolsPlatform CLI: remote server
codex mcp add google-trends --url https://trends--google.run.toolsConfig file
{
"mcpServers": {
"google-trends": {
"url": "https://trends--google.run.tools"
}
}
}Config file
{
"servers": {
"google-trends": {
"type": "http",
"url": "https://trends--google.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http google-trends https://trends--google.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Google Trends
How do I install Google Trends in Claude Code?
Run claude mcp add --transport http google-trends https://trends--google.run.tools. No key and no local process are needed.
What does Google Trends do?
It gives the agent a get_trends tool that fetches Google Trends data for a term in one of four modes: TIMESERIES, GEO_MAP, RELATED_TOPICS or RELATED_QUERIES.
Do I need an API key?
No. Requests go through SerpAPI, and the service is not affiliated with Google — the numbers arrive via that intermediary.