Best for
- Users who want lightweight, interactive Google Trends research through an AI assistant.
- Developers and SEO practitioners seeking CLI, MCP, or DeepSeek Harness integration.
This is an unofficial, MIT-licensed Google Trends CLI and MCP tool with four trend-query tools and search-volume estimates based on public Google Ads anchors. It suits lightweight research; estimated data, reliance on undocumented endpoints, and possible rate limits make it unsuitable as a guaranteed or official data source.
Strongest · Setup experience 13/20 Weakest · Reliability 8/20
Static review · not runReviewed 2026-12-03
Read the FMRS scoring method →Runtime:Node.js 20+
APIFY_TOKEN
Apify API token, needed for Apify Actor egress; obtain it from your Apify account.
HTTPS_PROXY
Optional HTTPS proxy URL; set it to your own proxy if needed.
HTTP_PROXY
Optional HTTP proxy URL; set it to your own proxy if needed.
GTFA_EGRESS
Optional egress mode setting for local or Apify Actor routing.
GTFA_APIFY_ACTOR
Your Apify Actor ID when using your own Actor for egress.
Requires Node.js 20 or later. Add the install_config to your MCP client, then restart or reconnect the client. The default uses your local network; Apify on-demand cloud egress can be configured using the project documentation.
{"mcpServers":{"google-trends":{"command":"npx","args":["-y","-p","google-trends-for-agent","gtfa-mcp"]}}}
Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"google-trends": {
"command": "npx",
"args": [
"-y",
"-p",
"google-trends-for-agent",
"gtfa-mcp"
]
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.google-trends] command = "npx" args = ["-y", "-p", "google-trends-for-agent", "gtfa-mcp"]
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add google-trends -- npx -y -p google-trends-for-agent gtfa-mcp
Run it in a terminal; replace any <…> placeholders with your own values first.
After connecting, confirm that trends_ask, trends_snapshot, trends_compare, and trends_now appear in the client's tool list. Call trends_now for US trending searches and check that it returns results.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
Google Trends for Agent is an MIT-licensed open-source tool with a CLI and local MCP server for trend queries, keyword comparisons, and daily search-volume estimates calibrated against Google Ads anchors. It is not an official Google product; the volume figures are anchor-based estimates, not measurements from Google.
Manage UniFi Network controllers through MCP.
Manage UniFi networks and devices through MCP.
Ask your affiliate networks in plain English from your AI workspace.
Run 119 Horosa astrology and metaphysics techniques locally.
Source revision daed48739627 Data synced 2026-12-05 Read the FMRS scoring method Markdown