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 分