Mcp Google Trends Scraper

com.mambabuilt由 mambabuilt.com 发布v1.0.0更新于 Nov 7, 2026

Google Trends interest, regions, and related queries per term, with no Google login or key

概览

AI 生成的概览

通过 Apify actor 获取搜索词的 Google Trends 关注度、地区分布和相关查询,返回每个词的汇总行与明细行。

可以做什么
  • 按搜索词获取 Google Trends 数据,可选地区、时间范围、类别和搜索类型
  • 获取每个词的汇总行:平均、最新与峰值关注度、近期变化、最高地区、热门与上升查询
  • 获取关注度随时间变化、按地区关注度、相关查询和相关主题的明细行
  • 可将词按每 5 个一组在同一尺度上比较,或为每个词单独出图
适用场景
适合让助手回答搜索热度趋势问题、比较不同国家或美国都会区的词条热度,或找出上升中的查询,而无需手动登录 Google Trends。
运行要求
以 npm 包形式通过 npx 在本机运行,需要 Node.js 18 或更高版本。需要 Apify 账号,并通过环境变量 APIFY_TOKEN 提供 Apify API 令牌;无令牌时工具仍会列出,但调用需要令牌。需要访问 Apify 的网络连接。
安装前请注意
每次调用都会运行按事件计费的 Apify actor,费用计入你的 Apify 账号(按词报告、额外行数和运行启动计费),词条多或反复调用会产生费用;可用 max_charge_usd 参数限制单次运行花费。APIFY_TOKEN 密钥需写入客户端配置。搜索词和设置会经 Apify 代理发送给 Apify 与 Google Trends。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mcp Google Trends Scraper,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Google Trends Scraper MCP Server

[npm version] [license]

An MCP server for the Mamba Labs Google Trends Scraper actor on Apify. Read Google Trends for your search terms and get a summary row per term plus flat detail rows.

What's Inside

What it does

Give search terms, with a geo, timeframe, category, or search property if you want them. For each term you get one summary row (average, latest, and peak interest, recent change, top region, top and rising queries) and flat rows for interest over time, regions, and related queries. Terms can be compared in groups of 5 on one scale. Values are relative to the chart, not search counts.

All of the work runs on Apify. This package is a thin client that starts the actor run, waits for it, and hands back the dataset rows.

Quick start

You need Node.js 18 or newer and an Apify account with an API token.

Add this to your Claude Desktop config (claude_desktop_config.json), Cursor, or any MCP client:

json
{  "mcpServers": {    "mamba-google-trends-scraper": {      "command": "npx",      "args": [        "-y",        "@mambalabsdev/mcp-google-trends-scraper"      ],      "env": {        "APIFY_TOKEN": "your-apify-token"      }    }  }}

Restart the client. The get_google_trends tool appears.

Prerequisites

Example prompts

  • "How has interest in matcha changed in the US over the last 12 months?"
  • "Compare coffee and tea by US metro area."
  • "What are the rising search queries around ozempic?"

Tool

get_google_trends. One tool. Example arguments:

json
{  "terms": [    "coffee",    "matcha"  ],  "geo": "US",  "timeframe": "today 12-m"}

Inputs

Every buyer facing input of the actor. Omitted inputs take the actor's own defaults.

InputTypeRequiredDescription
termsarraynoSearch terms, up to 200 per run. A Google topic ID such as /m/0j6n6s8 also works.
geostringnoEmpty for worldwide, or a Google geo code such as US, DE, or US-CA.
timeframestringnonow 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all, or two dates as YYYY-MM-DD YYYY-MM-DD.
categorystringnoGoogle Trends category number. 0 is all categories. The number is in the cat= part of a Trends URL.
propertystringnoWhich Google search to read: web, news, images, youtube, or shopping.
comparebooleannotrue: terms are charted together in groups of 5, on one shared scale. false: each term gets its own chart. Each term is charged either way.
outputsarraynoAny of interest_over_time, interest_by_region, related_queries, related_topics. Default is the first three. See Limitations for related_topics.
region_resolutionstringnoauto: countries worldwide, regions inside a country. DMA is US metro areas. CITY needs a geo. COUNTRY needs an empty geo.
max_charge_usdstringnoOptional. The run stops before a charge that would pass this amount. Summary rows are always returned.
proxy_modestringnoauto (default): requests go through the Apify proxy pool, and a request the pool cannot get through is retried on residential addresses. residential: every request uses residential addresses. A reliability setting only; it does not change what you pay.

Pricing

Pay per event on Apify, billed to your Apify account. Prices in USD.

EventFree planBronzeSilverGold
term-report, one search term with data, summary row plus up to 170 detail rows$0.0065$0.006175$0.00585$0.005525
extra-rows, each further 100 detail rows on one term past the first 170$0.0035$0.003325$0.00315$0.002975
apify-actor-start, per run start$0.002$0.002$0.002$0.002

A term with no data, a term Google refused, and refused input are free. Mamba Labs pays the platform costs of the run, Apify proxy traffic included.

Full actor documentation

apify.com/mambalabs/google-trends-scraper

License

MIT. See LICENSE.

来源:README.md,提交 213be9c

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.0最新Nov 7, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分