google-analytics-mcp
google-analytics-mcp
Google's officially maintained GA4 MCP server. Ask "which channel drove the most conversions last month?" and the AI pulls the data from GA4 itself, instead of you assembling dimensions and metrics in the reporting UI.
The GA4 interface has always been a barrier — the dimension and metric names are numerous and unintuitive, and the combination you want usually needs a custom exploration. Asking in plain language removes that layer.
Why use it
Good for: anyone who needs GA4 numbers but doesn't want to fight the reporting UI — content and growth roles especially.
Before connecting: you'll need a Google Cloud service account, granted read access on the GA4 property. Viewer is sufficient.
Before you connect
Config example (to connect)
{
"mcpServers": {
"analytics-mcp": {
"command": "pipx",
"args": ["run", "analytics-mcp"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "PATH_TO_CREDENTIALS_JSON",
"GOOGLE_PROJECT_ID": "YOUR_PROJECT_ID"
}
}
}
}Install / Connect
# No npm package — install from source.
# See the repo's README for the exact command:
# https://github.com/googleanalytics/google-analytics-mcpFollow the official README; env and args vary per server.
🛠️ Maintenance weight 30% · 62 pts
📊 Adoption weight 25% · 62 pts
✅ Usability weight 20% · 20 pts
❤️ Health & community weight 25% · 64 pts
Sources: GitHub API · updated 2026-08-19
90-day trend
⭐ stars +0%
Frequently Asked Questions
Does it support Universal Analytics?
No, GA4 only. UA has been sunset.
Can it change my GA configuration?
It's built for querying data. Granting the service account Viewer keeps it read-only, which is the recommended setup.
Similar / alternative servers
io.github.A1-x-Tech/mcp-google-business
Google Business Profile MCP
com.politicalcomms/api
Compliant political SMS/MMS from MCP clients: projects, contacts, analytics, bil
io.github.A1-x-Tech/mcp-google-tagmanager
Google Tag Manager MCP
io.github.A1-x-Tech/mcp-google-forms
Google Forms MCP
One email a week, 5 minutes to see what happened in the MCP ecosystem
New servers, breakout trends, abandonment alerts — tracked automatically, curated by hand, sent to your inbox.
One email a week · unsubscribe anytime · no data selling