Google Analytics (unofficial)

com.safe-mcp由 safe-mcp.com 發布官方發布者v1.0.0更新於 Oct 24, 2026

Connect Google Analytics to ChatGPT. Query GA4 data in plain English and get instant insights.

已驗證Streamable HTTP可網頁執行資料與分析商業與電商

概覽

AI 產生的概覽

非官方遠端 MCP 伺服器,讓助理用自然語言查詢 GA4、Google Search Console 與 Bing Webmaster 資料,產生報表與漏斗分析。

可以做什麼
列出已連結與缺少的 GA4 資源、資料串流、Search Console 與 Bing Webmaster 網站及目前分析面映射,並檢視或更新網站/應用程式分析面的持久化選擇器(marketing_get_sources、marketing_manage_surface)。探索標準行銷報表圖、可用資料來源、支援的指標與維度,以及目前啟用的連接器(marketing_get_catalog)。針對 GA4 網站與應用程式分析、Search Console 和 Bing Webmaster 產生總計、趨勢與依維度拆分的報表(marketing_get_report)。分析有序轉換步驟漏斗與跨來源到達頁漏斗,包含各步驟流失(marketing_get_funnel)。
適用情境
適合需要從 GA4、Search Console 與 Bing Webmaster 取得行銷或流量報表而不必手寫查詢的情境,例如近 30 天彙總、營收、工作階段與轉換漏斗。當資源或網站選擇器未知時,先查詢資料來源。
執行需求
遠端 streamable HTTP 端點 api.safe-mcp.com;未宣告任何套件、環境變數或請求標頭。它依賴已連結的 GA4 資源、Google Search Console 網站與 Bing Webmaster 網站,這些帳號須已連結至該服務。
安裝前請注意
此伺服器為非官方,且未宣告身分驗證,需考量其可存取的分析資料範圍及端點營運方。marketing_manage_surface 使用 action='update' 會持久化修改選擇器,影響後續分析映射。報表會揭露已連結資源的流量、營收與轉換資料。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.safe-mcp%2Fgoogle-analytics-unofficial/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "google-analytics-unofficial": {
      "type": "http",
      "url": "https://api.safe-mcp.com/mcp"
    }
  }
}

工具

5

marketing_get_sources

Discover marketing data sources

Lists connected and missing GA4, Google Analytics properties, property IDs, web streams, app streams, measurement IDs, Firebase app IDs, Google Search Console sites, Bing Webmaster sites, and current analysis surface mappings. Use this before reporting when property/site selectors are unknown.

輸入參數sourcessurfaceId

marketing_get_catalog

List supported marketing reporting sources, metrics, and dimensions

Use this when the user wants to discover the canonical marketing reporting graph, available sources, supported metrics, supported dimensions, or which connectors are live today. Each source also reports a `passthrough` field describing whether native fields beyond the curated list are accepted (GA4 accepts any native dimension/metric; Search Console accepts any native dimension; Bing is limited to the curated fields). Do not use this for GA4 account discovery or data retrieval.

輸入參數source

marketing_get_report

Get holistic marketing report data

Primary reporting tool for a given GA4 property or site. Use for totals, trends, and breakdowns by dimension across GA4 website traffic and app analytics, Google Search Console site traffic, and Bing Webmaster — including last-30-days summaries, revenue, leads, sessions, users, engagement/time-on-page (average_session_duration, user_engagement_duration), and period-over-period comparisons. Drill deep: GA4 supports up to 9 grouped dimensions (date/hour, geo, device/browser/OS, source/medium/channel, landing_page/page_path, etc.). Defaults to all mapped connected sources merged into one standardized view, aligned on the shared grain (typically landing_page) so a page row blends GA4 sessions+engagement with Search Console/Bing clicks/impressions/CTR/position; per-source detail (e.g. full query lists) stays in sourceSections. Note GA4 has no `query` dimension and Search Console/Bing have no sessions/engagement, so those cannot share one row — query is a Search Console/Bing breakdown. Narrow with sources or sourceMode='single'. Any GA4 dimension/metric name not in the catalog is passed through to the GA4 API automatically; metricMode='source_native' forces a pure GA4-native report. Pass one date range for a single window or two date ranges for period-over-period comparison.

輸入參數appsitelimitoffsetsourcemaxRowsmetrics必填siteUrlsourcesorderByspageSizeproperty另有 15 個

marketing_get_funnel

Get marketing funnel data

Use for ordered conversion-step analysis: GA4 ordered_steps step funnels (e.g. session_start → add_to_cart → purchase) and cross-source holistic_bundle landing-page funnels joining GA4, Google Search Console, and Bing Webmaster. Covers funnel drop-off between steps (e.g. from landing on the site to adding to cart to purchasing), conversion paths, and acquisition-to-conversion context. Pass one date range for a single window or two date ranges for period-over-period comparison.

輸入參數apptype必填limitfunnelpropertysurfaceIddateRanges必填propertyIdappStreamIdbingSiteUrlga4PropertyIdfunnelBreakdown另有 4 個

marketing_manage_surface

Get or update analysis surface mappings

Gets or updates persisted selectors for a website/app analysis surface. Use action='get' to inspect mappings and action='update' to persist GA4, Search Console, or Bing Webmaster selectors.

輸入參數nameaction必填selectorssurfaceIdmainDomainselectorSets

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 83%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。

其他 Safe-Mcp 整合