QuerySail: Google Analytics MCP Server
Hosted, read-only Google Analytics 4 MCP: reports, period comparisons, realtime, custom fields.
QuerySail: Google Analytics scores 66 (Good), licensed MIT. It can be reached as a remote MCP endpoint. It declares 5 tools. Filed under Data and analytics. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: OAuth sign-in. Your client opens a browser window to sign in with the provider. No key goes in the config file. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "querysail-querysail-ga4": { "url": "https://mcp.querysail.com/ga4/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools5Tool docs quality grade B
All capabilitiescompare_reporttoolCompares two periods (previous period, same weekdays a year earlier, or custom dates) and lists the channels, sources, pages or countries that gained or lost the most.
list_fieldstoolLists the dimensions and metrics a property can report on, including its custom dimensions, custom metrics and key events.
list_propertiestoolLists the Google Analytics 4 properties your connected Google accounts can read, with exact property IDs and their Analytics accounts.
Active users, views and events in the last 30 minutes, by country, city, device, page or event.
run_reporttoolUsers, sessions, views, engagement, events, key events, revenue and any other Data API metric, broken down by date, channel, source/medium, landing page, page, country, device, event and more, with filters.
About
QuerySail: Google Analytics MCP server
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.
| Tool | What it does |
|---|---|
list_properties | Lists the Google Analytics 4 properties your connected Google accounts can read, with exact property IDs and their Analytics accounts. |
list_fields | Lists the dimensions and metrics a property can report on, including its custom dimensions, custom metrics and key events. |
run_report | Users, sessions, views, engagement, events, key events, revenue and any other Data API metric, broken down by date, channel, source/medium, landing page, page, country, device, event and more, with filters. |
compare_report | Compares two periods (previous period, same weekdays a year earlier, or custom dates) and lists the channels, sources, pages or countries that gained or lost the most. |
run_realtime_report | Active users, views and events in the last 30 minutes, by country, city, device, page or event. |
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
claude mcp add --transport http --scope user querysail-ga4 https://mcp.querysail.com/ga4/mcp
Then run /mcp, choose querysail-ga4 and sign in. Or install it as a plugin, which also adds a Google Analytics analysis skill:
/plugin marketplace add querysail/querysail-ga4
/plugin install querysail-ga4@querysail-ga4
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
codex mcp add querysail-ga4 --url https://mcp.querysail.com/ga4/mcp
codex mcp login querysail-ga4
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"querysail-ga4": { "url": "https://mcp.querysail.com/ga4/mcp" }
}
}
VS Code
Run MCP: Add Server, choose HTTP and paste the endpoint, or add to mcp.json:
{
"servers": {
"querysail-ga4": { "type": "http", "url": "https://mcp.querysail.com/ga4/mcp" }
}
}
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:
{
"mcpServers": {
"querysail-ga4": { "type": "streamableHttp", "url": "https://mcp.querysail.com/ga4/mcp" }
}
}
Sign in with your QuerySail account when Cline asks.
Clients that only run local commands
Use the mcp-remote bridge (needs Node.js):
{
"mcpServers": {
"querysail-ga4": { "command": "npx", "args": ["mcp-remote", "https://mcp.querysail.com/ga4/mcp"] }
}
}
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):
npx skills add https://querysail.com --skill querysail-google-analytics
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.
Frequently asked questions
What is QuerySail: Google Analytics MCP Server?
Hosted, read-only Google Analytics 4 MCP: reports, period comparisons, realtime, custom fields.
How do I install QuerySail: Google Analytics MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. QuerySail: Google Analytics MCP Server connects to the remote endpoint https://mcp.querysail.com/ga4/mcp, so there is nothing to install locally.
Is QuerySail: Google Analytics MCP Server free and open source?
Yes. QuerySail: Google Analytics MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does QuerySail: Google Analytics MCP Server support remote (HTTP) connections?
Yes. QuerySail: Google Analytics MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does QuerySail: Google Analytics MCP Server provide?
QuerySail: Google Analytics MCP Server provides 5 tools, including compare_report, list_fields, list_properties, and run_realtime_report. See the full tool list for descriptions and parameters.
How is QuerySail: Google Analytics MCP Server's trust score calculated?
QuerySail: Google Analytics MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.