Google Analytics MCP Server
Google Analytics' official MCP server queries GA4 reports, dimensions and metrics. It is an official, vendor-maintained server. Works in Claude and Cursor.
What Google Analytics can do
Tools Google Analytics exposes
4 tools · from docsThe exact tools this MCP server gives your AI.
| run_report | Run a GA4 report | read |
| get_realtime | Read realtime data | read |
| list_dimensions | List dimensions | read |
| list_metrics | List metrics | read |
Try asking Claude
Example prompts once Google Analytics is connected.
Set up Google Analytics
Pick your client. Every snippet is copy-ready.
Claude Desktop → Settings → Developer → Edit Config (claude_desktop_config.json).
{
"mcpServers": {
"google-analytics": {
"command": "uvx",
"args": [
"google-analytics-mcp"
]
}
}
}Permissions & safety
Runs locally, so your data stays on your machine and only what the AI needs is sent to the model.
This server is read-only, so it cannot change your data.
Troubleshooting
FAQ
Google Analytics runs as a local MCP server. Get its install command from https://github.com/googleanalytics/google-analytics-mcp, add it to your client's MCP config, then restart the client.
More Web & Product Analytics MCP servers
PostHog
Web & Product Analytics
PostHog's official MCP server queries product analytics, funnels, insights and feature flags.
Tacto — Time Tracking for Trello
Web & Product Analytics
Logs, edits and restores time entries on Trello cards with Tacto, finds, creates, moves and renames cards, sets estimates, and reports where a person's or team's hours went, previewing each change and asking for confirmation on every change, only on edits and deletions, or never, as chosen.
Mixpanel
Web & Product Analytics
Runs segmentation, funnel and retention queries on Mixpanel data, explores events and properties, edits Lexicon event and property metadata and tags, reviews and dismisses data quality issues, reads session replay data and creates dashboards.
Want Search Console and GA4 together with Google Maps rankings in Claude?
Try GBPAudit.AIRunning a digital business since 2019 and a local SEO agency, Ari built and shipped GBPAudit.AI as a Claude connector. Every server here is connected and its tools read before it's listed.
Something wrong with this listing? Report it.