Google Analytics MCP
by dhawalshah
Query GA4 properties through MCP with standard reports, custom dimensions, realtime users, and experimental funnel analysis.
Install Google Analytics MCP
Run the project’s own setup commands, in order.
Setup steps from the project
dhawalshah/google-analytics-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com
git clone https://github.com/dhawalshah/google-analytics-mcpcd google-analytics-mcppip install -r requirements.txtcp .env.example .env # fill in valuespython setup_local_auth.py
Overview
Use cases
- Analyze page views and active users across a date range
- Compare traffic sources, devices, or event activity
- Inspect realtime visitors during a live campaign
- Discover valid GA4 dimensions before building a report
- Measure drop-off across a multi-step funnel
Key features
- Local STDIO deployment
- Cloud Run remote deployment with OAuth
- GA4 property and metadata discovery
- Custom metric and dimension reports
- Realtime users from the last 30 minutes
- Experimental funnel analysis
Tools10
What Google Analytics MCP 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.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Google Analytics MCP 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 MCP
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/dhawalshah-google-analytics-mcp)<a href="https://allmcps.com/mcp/dhawalshah-google-analytics-mcp"><img src="https://allmcps.com/api/badge/dhawalshah-google-analytics-mcp?style=directory" alt="Google Analytics MCP on AllMCPs" /></a>