Google Analytics 4
Read-only MCP access to GA4 reports, realtime data, metadata, administration, diagnostics, and audience exports.
Install Google Analytics 4
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"google-analytics-4": {
"command": "npx",
"args": [
"-y",
"@getmcpads/google-analytics-mcp-server"
],
"env": {
"GA4_CLIENT_ID": "YOUR_VALUE_HERE",
"GA4_CLIENT_SECRET": "YOUR_VALUE_HERE",
"GA4_REFRESH_TOKEN": "YOUR_VALUE_HERE",
"GA4_PROPERTY_ID": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
claude mcp add --env GA4_CLIENT_ID=YOUR_VALUE_HERE --env GA4_CLIENT_SECRET=YOUR_VALUE_HERE --env GA4_REFRESH_TOKEN=YOUR_VALUE_HERE --env GA4_PROPERTY_ID=YOUR_VALUE_HERE --transport stdio google-analytics-4 -- npx -y @getmcpads/google-analytics-mcp-serverRun in your terminal. Add --scope project to share it with your team through .mcp.json.
Automated check passed— started and listed 27 tools correctly ().
Overview
Use cases
- Run GA4 traffic and conversion reports
- Inspect dimensions, metrics, and query compatibility
- Diagnose ecommerce and BigQuery export coverage
- Review property configuration and accessible resources
- Query existing audience export snapshots
Key features
- 27 read-only Data API and Admin API tools
- Core, realtime, pivot, batch, and funnel reporting
- Metadata and dimension-metric compatibility checks
- Ecommerce, audience, BigQuery, and tagging diagnostics
- Property quota snapshots and configuration inspection
- Default redaction for identifiers in audience-related results
Tools27
What Google Analytics 4 lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
What it can do
From the 27 tools this server returned when we ran it; 27 declare their own safety hints.
Observed 2026-11-02 in an isolated sandbox. A description of reach, not a security audit.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 11d ago via OSV.dev · @getmcpads/google-analytics-mcp-server (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Google Analytics 4 works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Google Analytics 4
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/google-analytics-4)<a href="https://allmcps.com/mcp/google-analytics-4"><img src="https://allmcps.com/api/badge/google-analytics-4?style=directory" alt="Google Analytics 4 on AllMCPs" /></a>