# Google Analytics MCP server (slim)

> Google's open-source MCP server for Google Analytics 4. It runs locally or as a self-hosted HTTP service and lets agents list accounts and properties and run standard, realtime, funnel and conversions reports through the Admin and Data APIs.

- Full: https://www.anchorterminal.com/tools/google-analytics-mcp.md (~9,050 tokens) · this version ~1,430 tokens · JSON https://www.anchorterminal.com/tools/google-analytics-mcp.json · canonical https://www.anchorterminal.com/tools/google-analytics-mcp
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-23 · pricing https://www.anchorterminal.com/tools/google-analytics-mcp#pricing · reviews https://www.anchorterminal.com/tools/google-analytics-mcp#reviews
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

**BB · 77/100 · rank #91 of 1654 · #1 in Product analytics & experimentation · agent-ready · confidence medium**


Assessment: Google's own GA4 server gives agents ten read-only report and property tools under the analytics.readonly scope, with three create-only write tools behind --allow-write. Filters and date ranges are free-form objects explained in long description text, and it isn't in the official MCP registry.

## Facts

- Kind: MCP server · vendor: Google · category: Product analytics & experimentation · legal entity: Google LLC · provenance 86/100
- Local only (stdio, Streamable HTTP): pypi `analytics-mcp`
- Auth: OAuth · pricing: Free · x402: no · licence: Apache-2.0
- Benchmark probes: not run yet, so Performance is pending
- Surface listed: The analytics-mcp server, read from a shallow clone of googleanalytics/google-analytics-mcp (README, pyproject.toml, coordinator.py, the tool modules, tests and workflows), Google's docs page, PyPI and the MCP registry on 23 November 2026. Nothing was installed or run
- APIs behind it: Google Analytics Admin API (accounts, properties, Google Ads links, annotations, key events, custom dimensions) and Data API v1 (runReport, runRealtimeReport, runFunnelReport, runConversionsReport, getMetadata)
- Running it: pipx run analytics-mcp or uvx, Python 3.10 or later. Both the analytics-mcp and google-analytics-mcp console scripts start it. --transport http with --stateless-http serves many users, and a root Dockerfile runs it on Cloud Run
- Quotas: Data API token buckets per property per day, per property per hour, per project per property per hour, concurrent requests per property and server errors. An empty bucket returns 429. Analytics 360 properties get 5 to 10 times the standard quota
- Agent skills: Google pairs the server with Google Analytics agent skills (google-analytics-data-api-basics, google-analytics-admin-api-basics) installed with npx skills add google/skills/skills/analytics

- Scores: Reliability 82, Performance not tested, Schema & documentation 66, Agent ergonomics 78, Security & auth 69, Payments & pricing 90, Task success not tested, Maintenance & community 80, Transparency & trust 78
- Why: Reliability, Scored as a local stdio package. · Schema & documentation, Every tool publishes a JSON Schema input generated from the Python signatures, with required fields set by hand for the report and write too… · Agent ergonomics, Ten read tools by default and 13 with --allow-write, but run_report, run_realtime_report, run_funnel_report and run_conversions_report embed… · Security & auth, Application Default Credentials with the analytics.readonly OAuth scope, and analytics.edit only for write tools. · Payments & pricing, Free, self-hosted, nothing to buy, so 30 + 30 + 30. Google Analytics standard properties are free. · Maintenance & community, 1.1.0 on PyPI on 6 November 2026 (30). · Transparency & trust, Apache-2.0 (30).
- Sources: 7, open questions: 4, both in the full twin
- Capabilities: analytics.query, analytics.funnels
- JSON: https://www.anchorterminal.com/api/v1/tools/google-analytics-mcp.json · card, about 200 tokens, for choosing between listings: https://www.anchorterminal.com/tools/google-analytics-mcp.card.md
- Its vendor verifies the listing with `verify_listing` or `POST https://www.anchorterminal.com/api/v1/verify` (the full twin says how); no effect on the grade.
- Support: Discord https://discord.com/channels/971845904002871346/1398002598665257060; https://github.com/googleanalytics/google-analytics-mcp/issues; more in the full twin

## Before you call it

1. Call get_account_summaries first to find the numeric property ID, then pass it to every report tool
2. Call get_custom_dimensions_and_metrics before using a custom field in run_report
3. Pass field names in snake_case (dimension_filter, order_bys), as the tool takes protobuf names, not the REST API's camelCase
4. If a report fails with 429, wait and retry with fewer dimensions or a shorter date range, as Data API quota is charged by request complexity
5. Set return_property_quota to true on long analyses to watch the property's remaining tokens

## Connect

```bash
pipx run analytics-mcp
```

```bash
claude mcp add analytics-mcp --scope user -e GOOGLE_APPLICATION_CREDENTIALS=PATH_TO_CREDENTIALS_JSON -e GOOGLE_CLOUD_PROJECT=YOUR_PROJECT_ID -- pipx run analytics-mcp
```
Full config and headless snippets are in the full page. Through letme (picks today, calling later): https://letme.dev/google-analytics-mcp

## Similar tools

| Tool | Grade | Score | Shared capabilities | Slim |
| --- | --- | --- | --- | --- |
| Amplitude | BB | 71.1 | analytics.query, analytics.funnels | https://www.anchorterminal.com/tools/amplitude.min.md |
| PostHog | B | 69.9 | analytics.query, analytics.funnels | https://www.anchorterminal.com/tools/posthog.min.md |
| Userpilot | B | 66.2 | analytics.query, analytics.funnels | https://www.anchorterminal.com/tools/userpilot.min.md |
| Fullstory | B | 64.9 | analytics.query, analytics.funnels | https://www.anchorterminal.com/tools/fullstory.min.md |
| Mixpanel | B | 64.4 | analytics.query, analytics.funnels | https://www.anchorterminal.com/tools/mixpanel.min.md |


## Panel reviews (0, desk reviews from public material, no calls made)

