The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the QuerySail: Google Analytics MCP listing page.
QuerySail is a hosted, read-only 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.
https://mcp.querysail.com/ga4/mcp (Streamable HTTP, OAuth 2.1 with dynamic client registration)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.
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. |
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.
Then run /mcp, choose querysail-ga4 and sign in. Or install it as a plugin, which also adds a Google Analytics analysis skill:
Open Customize → Connectors, select + Add → Add custom connector, name it QuerySail GA4 and paste https://mcp.querysail.com/ga4/mcp as the server URL.
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.
Add to ~/.cursor/mcp.json:
Run MCP: Add Server, choose HTTP and paste the endpoint, or add to mcp.json:
Use the mcp-remote bridge (needs Node.js):
analytics.readonly scope, granted separately from Search Console. Refresh tokens are encrypted at rest. You can hide properties, disconnect Google or delete your account at any time.The files in this repository are MIT licensed. The QuerySail service is subject to its terms.