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 分