Google Analytics MCP
Official
Google's open-source MCP server for Google Analytics 4, installed with pipx and signed in through Google Application Default Credentials. It can also be hosted as a multi-tenant HTTP service where each user signs in with Google OAuth.
At a glance
- Publisher
- Official
- Connects to
- Google Analytics
- Runs
- Local or self-hosted
- Sign-in
- Not documented
- Access
- Read-only
- Availability
- Available
What it can do
- List your GA accounts and properties and read property details
- Run standard reports and funnel reports with the Data API
- Run conversions reports with ad costs, conversions, ROAS and attribution models
- Run realtime reports
- List Google Ads links, key events, annotations and custom dimensions and metrics
- Create annotations, custom dimensions and key events (only with --allow-write)
Setup takes a Google Cloud project with the Analytics Admin and Data APIs enabled, plus gcloud credentials with the analytics.readonly scope. Write tools need the --allow-write flag, the analytics.edit scope and the Editor role (Marketer or Editor for key events).
Notes from our review
Reporting access only in the reviewed guide. Configuration edits are not supported.
Other Google Analytics options
We compare 4 Google Analytics MCP servers side by side, with setup steps.
Compare Google Analytics MCP servers