Google Analytics MCP servers: which one to use
Use Google's own server for GA4 if you can run it locally. Pick Stape's hosted server to sign in with Google in Claude or ChatGPT without installing anything.
- Servers
- 30
- active
- Official
- 1
- by Google Analytics
- Hosted
- 8
- nothing to install
- Local
- 21
- runs on your machine
- OAuth
- 1
- sign in, no key
Google publishes an official Google Analytics server for GA4, but it is marked experimental and runs on your computer using your Google credentials. It can run reports and look up your account and properties. Writing is off unless you start it with an extra flag. Stape runs a hosted, read-only server with Google sign-in. Other community servers mostly use a service account or an OAuth token, and one of them also sends events to GA4.
Good for
- Marketers who want Claude to answer traffic and conversion questions from GA4
- Analysts who want funnel, realtime and attribution reports without opening the GA4 interface
- Agencies that query several client properties in one conversation
- Anyone who wants an assistant to read GA4 data but never change it
Which Google Analytics MCP server to use
Use Google's server for GA4 if you are fine with an experimental local setup. Pick Stape's server for a hosted, read-only connection, or mcp-google-analytics if you also want to send events.
| Server | Official | Runs | Sign-in | Read-only | GitHub stars |
|---|---|---|---|---|---|
| Google AnalyticsThis page | Official | Local | Google credentials | By default | 3.6K |
| Stape | Community | Hosted | Account | Always | 6 |
| google-analytics-mcp | Community | Local | Service account | – | 244 |
| Google Analytics 4 (getmcpads) | Community | Local | OAuth token | Always | 0 |
| mcp-google-analytics | Community | Local | Service account | – | 2 |
All Google Analytics MCP servers
30 active · 1 official · official first, then by GitHub stars
- Google Analytics MCP ServerOfficialLocaltoken in env
Google's official Google Analytics MCP server: runs locally and queries GA4 reports and property settings with your Google credentials. Read-only unless you add the --allow-write flag.
3.6K GitHub stars
google-analytics-mcpLocalGA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
244 GitHub stars- mcparmory-google-analyticsLocal
Query GA4 analytics data with custom reports, pivot tables, and audience exports
32 GitHub stars
Google Analytics 4LocalGoogle Analytics 4 MCP server with reporting, schema discovery, and admin visibility tools
14 GitHub stars
SEO Tools: Google Analytics 4LocalGoogle Analytics 4: reports, traffic sources, landing pages, events, realtime (read-only).
8 GitHub stars- google-analytics-mcpHostedOAuth
MCP server for Google Analytics by Stape
6 GitHub stars
mcp-gtm-ga4LocalGTM + GA4 MCP: tag management, consent auditing, workspace versioning, reports.
3 GitHub stars- Google E-commerce (GA4, Search Console, Merchant Center, Ads)Local
Multi-client read and controlled write (off by default): GA4, GSC, Merchant, GTM, ad platforms.
3 GitHub stars
mcp-google-analyticsLocalGA4 MCP that reads AND writes: reports, funnels, audits, and server-side events. 26 tools.
2 GitHub stars
ga4-mcpLocalGA4 + Google Search Console MCP server for Claude, Copilot, Cursor, Codex, Gemini, and any MCP-compatible AI agent.
2 GitHub stars
ai tag debuggerLocalQA-tests your site analytics, ad and consent tags (GA4, GTM, Ads, Meta, TikTok) from chat.
1 GitHub stars- mcp-ga4-admin-tsLocal
Google Analytics 4 Admin API tools via Model Context Protocol
1 GitHub stars - anacraft — Google Analytics 4Hosted
Ask your Google Analytics 4 property how the site is doing: traffic, pages, events, audit.
1 GitHub stars - GA4 SEO MCPLocal
Set up and audit site measurement: GA4, Search Console and PageSpeed. Read-only unless enabled.
1 GitHub stars
Google_analyticsHosted or LocalGoogle Analytics MCP Pack
0 GitHub stars
mcp-ga4LocalGoogle Analytics 4 MCP: reports, realtime data, custom dimensions, data streams.
0 GitHub stars- mcp-server-google-analyticsLocal
Google Analytics 4 (GA4) MCP サーバー - ADC対応版。サービスアカウント認証とApplication Default Credentials の両方をサポート
0 GitHub stars
Google Analytics 4LocalGoogle Analytics 4 MCP server: 27 read tools, no write tools.
0 GitHub stars- google-analytics-mcp-tsLocal
Google Analytics 4 MCP server with a one-command service account setup for Claude Code, Cursor and Codex
0 GitHub stars - ga4-mcp
Free, read-only Google Analytics 4 MCP server by Tag Pilot. Your GA4 data goes straight from your machine to Google.
0 GitHub stars
Show all 30Show fewer
- Google Analytics 4Local
Manage GA4 properties, data streams, conversions, and run reports via Admin & Data APIs.
0 GitHub stars - Google Analytics 4 MCPLocal
Google Analytics 4 MCP: reports, realtime, funnels, pivots, metadata, admin lists. 17 tools.
0 GitHub stars - Google Analytics 4 MCP by InsightfulPipeHosted
Hosted Google Analytics 4 MCP server, with each action switched on or off per account.
0 GitHub stars - mcp-server-google-analytics
MCP server for Google Analytics 4 — reports, realtime data, and admin
0 GitHub stars - QuerySail: Google AnalyticsHosted
Hosted, read-only Google Analytics 4 MCP: reports, period comparisons, realtime, custom fields.
0 GitHub stars - Tag Pilot GA4Local
Free, read-only Google Analytics 4: reports, funnels, realtime. Sign in with Google, no GCP setup.
0 GitHub stars - Vosik Signals Google Analytics 4Hosted
Read-only Google Analytics 4 MCP server for AI assistants.
0 GitHub stars - Perceptdot GA4Local
AI agent vision for Google Analytics 4 — with ROI measurement. perceptdot.com
30/wk downloads a week - Google AnalyticsHosted
Usuários, sessões, páginas e origens do tráfego do seu site
- Google Analytics (unofficial)Hosted
Connect Google Analytics to ChatGPT. Query GA4 data in plain English and get instant insights.
Questions
Is there an official Google Analytics MCP server?
Yes. Google publishes it in its googleanalytics GitHub organization, and its README calls it experimental. It runs locally and uses the Analytics Admin and Data APIs.
Is the official server read-only?
By default, yes. Its only write tool, which adds an annotation, needs the --allow-write flag and the edit scope. Without that, the README asks only for the read-only Analytics scope.
Is there a hosted Google Analytics MCP server?
Yes, from Stape, a third party. It runs at https://mcp-google-analytics.stape.io/mcp with Google sign-in built in, and its README says it is a fork of Google's server. Its README says every tool is read-only.
Does it work in Claude?
Yes. Google's README has setup steps for Claude Code and Gemini, and Stape's README covers Claude Desktop and Claude Code. The getmcpads server lists Claude Desktop, Claude Code and Cursor.
Does it work in ChatGPT?
Stape's README has a ChatGPT section, so that is the one to try. The official server runs locally, and its README does not mention ChatGPT.
Does it work with GA4 properties?
Yes. Google's server uses the Google Analytics Admin API and Data API, and Stape's README says its tools query GA4 accounts. Neither README mentions Universal Analytics, so check that your property is GA4.
How do I sign in?
Google's server uses Application Default Credentials, set up with the gcloud tool and the read-only Analytics scope. Stape's hosted server asks you to sign in with Google. surendranb's google-analytics-mcp and mcp-google-analytics use a service account that you add to your GA4 property, and the getmcpads server uses an OAuth refresh token.
Can an assistant change my GA4 settings?
Not with the official server unless you start it with the write flag, and then only to add annotations. mcp-google-analytics can send events to GA4, so use a Viewer service account when you only want reports.
Are the servers free?
Yes, the software is free. Google's server and Stape's are Apache-2.0 on GitHub, and surendranb's and mcp-google-analytics are MIT. You still need a GA4 property and Google credentials.