QuerySail: Google Analytics
com.querysail由 querysail.com 發布官方發布者v1.0.0更新於 Oct 24, 2026
Hosted, read-only Google Analytics 4 MCP: reports, period comparisons, realtime, custom fields.
發布方自己的服務:QuerySail: Google Search Console
概覽
託管的唯讀 Google Analytics 4 MCP 伺服器,讓助理用自然語言列出資源並產生流量、比較與即時報表。
- 可以做什麼
- 列出已連結帳號可讀取的 GA4 資源,以及某個資源可查詢的維度、指標、自訂欄位與關鍵事件
- 依日期、管道、來源、頁面、國家或裝置等維度執行報表,涵蓋使用者、工作階段、瀏覽量、互動、事件、關鍵事件與收益,並支援篩選
- 比較兩個期間,列出成長或衰退最多的管道、來源、頁面或國家
- 查看最近 30 分鐘內的活躍使用者、瀏覽量與事件,可依國家、城市、裝置、頁面或事件細分
- 適用情境
- 適合想讓助理直接回答自家網站或應用程式分析問題(流量、互動、轉換、期間變化或即時活動),而不必自行撰寫 Google Analytics API 查詢的情況。
- 執行需求
- 遠端 Streamable HTTP 端點,使用 OAuth 2.1 登入;無需安裝、無需 Google Cloud 專案或 API 金鑰。需要 QuerySail 帳號並在 Account → Connections 連結 Google Analytics,7 天試用期後需付費訂閱。僅支援本機指令的用戶端需安裝 Node.js 以使用 mcp-remote 橋接。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 QuerySail: Google Analytics,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/com.querysail%2Fga4/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"querysail-google-analytics": {
"type": "http",
"url": "https://mcp.querysail.com/ga4/mcp"
}
}
}README
QuerySail: Google Analytics MCP server
[QuerySail logo]QuerySail is a hosted MCP server for Google Analytics 4. Connect it to ChatGPT, Claude, Codex, Cursor or VS Code, sign in, connect your Google account once, and ask about your traffic, engagement and conversions in plain language. There is nothing to install, no Google Cloud project and no API key to paste.
- Endpoint:
https://mcp.querysail.com/ga4/mcp(Streamable HTTP, OAuth 2.1 with dynamic client registration) - Website: https://querysail.com/google-analytics
- Pricing: included in the same plan as QuerySail for Google Search Console. 7-day free trial, no card required, then $8/month. See https://querysail.com/pricing.
This repository holds the public listing files (MCP Registry server.json, a Claude Code plugin, client configs). The service itself is hosted at querysail.com; its source is not published here.
Tools
All tools are read-only. QuerySail cannot create or edit properties, data streams, key events, audiences or any other Google Analytics setting.
Example prompts
- How many users and sessions did my site have in the last 28 days?
- Which channels brought the most sessions last month, and how did that change from the month before?
- What are my top landing pages by key events?
- How many people are on the site right now, and from which countries?
- Compare organic search sessions with the same weeks last year.
Setup
You need a QuerySail account with Google Analytics connected: sign up at https://querysail.com and choose Connect Google Analytics under Account → Connections. Each client below opens a browser window to sign in the first time.
Claude Code
Then run /mcp, choose querysail-ga4 and sign in. Or install it as a plugin, which also adds a Google Analytics analysis skill:
Claude Desktop and claude.ai
Open Customize → Connectors, select + Add → Add custom connector, name it QuerySail GA4 and paste https://mcp.querysail.com/ga4/mcp as the server URL.
ChatGPT
Turn on Developer mode under Settings → Security and login, go to chatgpt.com/plugins, select the plus button and paste the endpoint as the connection URL.
Codex
Cursor
Add to ~/.cursor/mcp.json:
VS Code
Run MCP: Add Server, choose HTTP and paste the endpoint, or add to mcp.json:
Cline
Open MCP Servers → Remote Servers, name it querysail-ga4, paste the endpoint, choose Streamable HTTP and click Add Server. Or add to cline_mcp_settings.json:
Sign in with your QuerySail account when Cline asks.
Clients that only run local commands
Use the mcp-remote bridge (needs Node.js):
Agent skill
The querysail-google-analytics skill tells coding agents such as Claude Code, Codex, Cursor and OpenCode which QuerySail tool to call for each question and how to report the numbers. Install it with the skills CLI (needs Node.js):
Data and limits
- Google access uses the
analytics.readonlyscope, granted separately from Search Console. Refresh tokens are encrypted at rest. You can hide properties, disconnect Google or delete your account at any time. - Reports are fetched from Google when asked and cached for at most 15 minutes; realtime reports are not cached. Universal Analytics properties are not supported.
- Google may apply thresholding or sampling to some reports; QuerySail passes those flags on to your assistant. Google's per-property API quotas apply.
- Privacy: https://querysail.com/privacy · Terms: https://querysail.com/terms · Support: https://querysail.com/support
License
The files in this repository are MIT licensed. The QuerySail service is subject to its terms.
來源:README.md,提交 d496671
工具
0版本歷史
1- v1.0.0最新Oct 11, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分