Skip to main content

Google Analytics MCP

io.github.surendranb/google-analytics-mcp

v2.11.7Updated Oct 28, 2026stdio · PyPI

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

Install

Needs 1 secret. Replace 2 placeholders with your own values.

Run in your terminal. Replace 2 placeholders.

claude mcp add google-analytics-mcp -e 'GOOGLE_APPLICATION_CREDENTIALS=<your-google-application-credentials>' -e 'GA4_PROPERTY_ID=<your-ga4-property-id>' -- uvx google-analytics-mcp==2.11.7

Configuration

2 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • GOOGLE_APPLICATION_CREDENTIALS
    Env var· required· secret
    Absolute path to your Google Cloud service account JSON key with GA4 property access.
  • GA4_PROPERTY_ID
    Env var· required
    Numeric GA4 Property ID to query, for example 123456789.

Listed in the official MCP Registry since Oct 28, 2026. Mirrored daily; last checked Nov 26, 2026.