# googleanalytics/google-analytics-mcp

Repository: https://github.com/googleanalytics/google-analytics-mcp
Canonical: https://ross.abutalabs.com/products/google-analytics-mcp
Language: Python
License: Apache-2.0
License Family: permissive
Last push: 2026-08-07T19:23:35+00:00

## Health v2 (maintenance only)
Score: 82/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 95, longevity 29
- inputs: {"age_days": 413, "days_push": 26, "days_rel": 35, "gap_med": 8, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3047, forks 665 (observed 2026-08-28T04:07:39.395332+00:00)

## What it is
A local MCP (Model Context Protocol) server that exposes Google Analytics Admin and Data APIs as tools for LLMs like Gemini. It lets AI assistants retrieve account/property info and run core, funnel, and realtime GA4 reports.

## Use cases
- query google analytics reports with an llm
- run ga4 funnel reports via mcp
- let gemini access my google analytics data
- get realtime analytics through an ai assistant
- list google analytics accounts and properties via mcp
- ask an ai chatbot for website traffic stats

## When to choose
- you use an MCP-compatible LLM client and want natural-language access to GA4 data
- you want official Google-maintained integration with the Analytics Admin and Data APIs
- you need realtime, funnel, or custom dimension/metric reporting through AI tools

## When to avoid
- you need a traditional dashboard or GUI analytics tool
- you use a client that doesn't support MCP
- you need GA4 features beyond the exposed tools (e.g., audience management or data import)
- you require a production-stable, fully supported product

## Facets
- artifact type: service
- maturity: experimental
- function: mcp, analytics, api-framework
- domain: analytics, large-language-models, developer-tools
- platform: python, cli, self-hosted
- tags: google-analytics, mcp-server, llm-tools, reporting, ga4, ai-agents

## Member repositories
- googleanalytics/google-analytics-mcp (main) score 82

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:39.395332+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:28:55.998140+00:00, confidence not recorded.
  - readme: https://github.com/googleanalytics/google-analytics-mcp (fetched 2026-08-28T04:07:39.395332+00:00, sha 20a4ce171ee4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
