Google data (Trends, YouTube, Ads Transparency, Play)

io.github.ducnhd由 GitHub 帳號 ducnhd 發布v0.2.0更新於 Oct 24, 2026

Google Trends, YouTube, Ads Transparency and Play reviews over plain HTTP. No API key.

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理透過一般 HTTP 查詢 Google Trends、YouTube 列表、廣告透明度中心的廣告與 Google Play 評論,不需 API 金鑰。

可以做什麼
查詢 Google Trends 的關鍵字熱度走勢,在單次請求中比較最多五個關鍵字,並列出某國的熱門趨勢。列出 YouTube 頻道的 Shorts 或影片,或回傳 YouTube 搜尋結果。依名稱查找廣告透明度中心的廣告主,並列出其投放的每則廣告格式、預覽與顯示日期。取得 Google Play 應用程式評論,含評分、內容、日期、版本與開發者回覆。
適用情境
適合互動式研究:了解某主題的搜尋熱度、查看競爭對手的廣告、抽樣應用程式評論或瀏覽 YouTube 內容。不適合批次或高頻大量蒐集,README 指出這類需求應改用輪換代理。
執行需求
以本機程序執行;需安裝 google-data-mcp 這個 Python 套件(pipx、pip 或 uvx),並在 MCP 用戶端註冊。未宣告需要 API 金鑰、帳號或環境變數。需要連線至 Google 的網路,結果會快取在使用者的快取目錄。
安裝前請注意
請求從使用者本機 IP 發出,Google 依 IP 計算的額度會隨時間累積;README 稱依節奏請求後位址仍會被拒絕。這些是公開頁面但沒有官方 API,各平台服務條款限制自動存取,使用後果由使用者自負。Play 評論預設不含評論者身分;include_author 選項會加入作者名稱、頭像與帳號 ID。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Google data (Trends, YouTube, Ads Transparency, Play),將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

google-data-mcp

[PyPI]

An MCP server for four Google data surfaces that answer to plain HTTP — no API key, no browser, no scraping service:

ToolWhat it returns
google_trends_interestInterest over time for one keyword (0–100, weekly or hourly points)
google_trends_compareUp to 5 keywords in ONE request, so the values are comparable
google_trends_trendingWhat is trending right now in a country
youtube_listingA channel's Shorts, a channel's videos, or search results
google_ads_advertisersAdvertisers in the Ads Transparency Center, by name
google_ads_creativesEvery ad an advertiser runs — format, preview URL, first/last shown
google_play_reviewsApp reviews — rating, text, date, version, developer reply

Read this before you install

Everything leaves from your machine's IP, and Google's per-IP budget accumulates over hours. This is not a caveat buried at the bottom; it is the main thing that decides whether this server is right for your job.

Measured: an unpaced burst was rate-limited at request 93, and after roughly 130 paced requests spread over hours the same address was refused on the first request of a fresh session. While writing this server, both the author's IPs — a home connection and a datacenter VPS — ended the day refused by Google Trends.

So this server caches every result on disk (~/.cache/google-data-mcp) and paces its requests. That is enough for interactive use: asking an agent a handful of questions, exploring a topic, checking a competitor. It is not enough for bulk work, and no amount of local code can make one IP behave like many.

If you need volume, the same clients run behind rotating proxies as Apify Actors: Google Trends · YouTube · Ads Transparency.

What is deliberately missing

YouTube transcripts. They look available — the watch page still lists caption tracks — but api/timedtext returns zero bytes and /youtubei/v1/get_transcript answers Precondition check failed even when sent the page's own INNERTUBE_CONTEXT and visitorData, and the ANDROID and IOS player clients are refused the same way. A transcript tool here would be a promise this server cannot keep, so there isn't one.

Install

bash
pipx install google-data-mcp# or: pip install google-data-mcp# or, without installing anything: uvx google-data-mcp

Then register it with your MCP client. For Claude Code:

bash
claude mcp add google-data -- google-data-mcp

Or by hand, in an MCP client config:

json
{  "mcpServers": {    "google-data": {      "command": "google-data-mcp"    }  }}

Notes on the data

  • Trends values are relative within a single request. Two separate google_trends_interest calls are not comparable to each other; that is what google_trends_compare is for. Google caps a comparison at 5 terms and silently drops a 6th, so a 6th is refused rather than quietly ignored.
  • Play reviews differ per locale. Each hl/gl pair returns a different set of reviews — six locales gave 120 unique reviews of the same app. Vary them to widen coverage rather than paging deeper in one language.
  • Reviewer identity is omitted by default. The records carry an author name, avatar and Google account id; rating, text, date and version answer product questions without them. Set include_author if you genuinely need the name.
  • Zero ads is a real answer. Google keeps advertisers whose ads have stopped running and still reports a count for them, so an empty ads list with a non-zero declared count is information, not a failure.
  • searchVolume on trending terms is Google's own rounded bucket, not a precise count.

Legal

These are public pages, but none of them has an official public API and each platform's Terms of Service restrict automated access. You are responsible for how you use the output. No personal data is collected by default.

Development

bash
python -m venv .venv && .venv/bin/pip install -e ..venv/bin/python -m google_data_mcp        # speaks MCP over stdio

Each client is plain standard library and can be exercised on its own, which is the fastest way to check whether Google changed something:

bash
.venv/bin/python -c "from google_data_mcp.play import PlayClient; print(len(PlayClient().reviews('com.spotify.music', limit=40)))"

來源:README.md,提交 b9328cc

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。