meka-im/google-trends-for-agent
A pytrends alternative giving AI agents and MCP clients calibrated daily search volume.
What it solves
Without it, users face an archived pytrends, raw 0–100 relative curves, and frequent HTTP 429 failures.
- Calibrated daily search volume
- CLI and MCP server
- Stable JSON and error codes
Works with
- cursor
- vscode
- cline
- windsurf
- cli
Install
npx -y -p google-trends-for-agent gtfa snapshot Sora --geo US --json --pretty npx -y -p google-trends-for-agent gtfa-mcp --http --port 4321 # http://127.0.0.1:4321/mcp Copy-ready config
{
"mcpServers": {
"google-trends": {
"command": "npx",
"args": [
"-y",
"-p",
"google-trends-for-agent",
"gtfa-mcp"
]
}
}
} {
"mcpServers": {
"google-trends": {
"url": "https://mcp.apify.com?tools=meka.im/google-trends-for-agent"
}
}
} {
"mcpServers": {
"google-trends": {
"command": "npx",
"args": [
"-y",
"-p",
"google-trends-for-agent",
"gtfa-mcp",
"--egress",
"actor-public"
],
"env": {
"APIFY_TOKEN": "<your-apify-token>"
}
}
}
} Security flags
- Needs API key: Yes
- Runs locally: Yes
- Network access: Yes
- Needs root: No
Maintenance
| Last commit | 2026-12-05(0d) |
|---|---|
| Stars | 250 |
| Open issues | 4 |
| License | MIT |
| Archived | No |
| Data fetched | 2026-12-05 |
Source excerpt
Verbatim README excerpt, unedited, so you can check the summary above.
`google-trends-for-agent` (`gtfa`) is a modern open-source (MIT) alternative to the archived [`pytrends`](https://github.com/GeneralMills/pytrends) library, built for AI agents, CLI workflows, and MCP clients.