Skip to content
mcp/skillhub

Google Analytics MCP Server

by surendranbio.github.surendranb/google-analytics-mcpv2.8.2

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

242Pythonstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Active7d ago

Install Google Analytics MCP server

Install in Claude Code

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

Configuration

VariableRequiredSecretDescription
GOOGLE_APPLICATION_CREDENTIALSyesyesAbsolute path to your Google Cloud service account JSON key with GA4 property access.
GA4_PROPERTY_IDyes—Numeric GA4 Property ID to query, for example 123456789.

Freshness

Active — last maintenance signal 7d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-03 · 7d ago · GitHub

  2. Latest release

    2026-08-18 · 53d ago · GitHub · v2.11.3

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-07-27 · 3mo ago · official registry · v2.8.2

FAQ

›How do I install the Google Analytics MCP server in Claude Code?

Run: claude mcp add google-analytics-surendranb -e GOOGLE_APPLICATION_CREDENTIALS='<google-application-credentials>' -e GA4_PROPERTY_ID='<ga4-property-id>' -- uvx google-analytics-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Google Analytics require an API key?

Yes. It expects GOOGLE_APPLICATION_CREDENTIALS, GA4_PROPERTY_ID, of which 1 is a secret.

›Can I use Google Analytics as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Google Analytics in the official MCP registry?

Yes, as io.github.surendranb/google-analytics-mcp.

Alternatives to Google Analytics

Other data & analytics MCP servers.

View all