AI 开源雷达

meka-im/google-trends-for-agent

替代 pytrends,为 AI agent/CLI/MCP 返回校准每日搜索量

★ 250 协议: MIT 最近提交: 0d 传输方式: stdio / sse 仓库地址 ↗

解决什么问题

没有它,用户只能面对已归档的 pytrends、原始 0–100 相对曲线和频繁的 HTTP 429 失败。

适用客户端

安装命令

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

一键配置

{
  "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>"
      }
    }
  }
}

安全标记

维护状态

最近提交2026-12-05(0d)
Star250
待处理 issue4
协议MIT
已归档否
数据抓取于2026-12-05

原文摘录

以下为仓库 README 原文,未做改写,用于核对上面的摘要。

`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.

同类替代