PlugWiki

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.

ServerOfficialRunsSign-inRead-onlyGitHub stars
Google AnalyticsThis pageOfficialLocalGoogle credentialsBy default3.6K
StapeCommunityHostedAccountAlways6
google-analytics-mcpCommunityLocalService account–244
Google Analytics 4 (getmcpads)CommunityLocalOAuth tokenAlways0
mcp-google-analyticsCommunityLocalService account–2

All Google Analytics MCP servers

30 active · 1 official · official first, then by GitHub stars

Show all 30

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.

Server facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Archived servers are not listed.