Skip to content
mcp/skillhub

Google Analytics 4 MCP Server

by get-mcp-adscom.getmcpads/google-analyticsv2.0.1

Google Analytics 4 MCP server: 27 read tools.

0Node.jsstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Active13d ago

Install Google Analytics 4 MCP server

Install in Claude Code

claude mcp add google-analytics -e GA4_CLIENT_ID='<ga4-client-id>' -e GA4_CLIENT_SECRET='<ga4-client-secret>' -e GA4_REFRESH_TOKEN='<ga4-refresh-token>' -- npx -y @getmcpads/google-analytics-mcp-server

Configuration

VariableRequiredSecretDescription
GA4_CLIENT_IDyes—OAuth client ID.
GA4_CLIENT_SECRETyesyesOAuth client secret.
GA4_REFRESH_TOKENyesyesOAuth refresh token, analytics.readonly scope.
GA4_PROPERTY_ID——Default GA4 property ID.

Freshness

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

  1. Last commit (default branch)

    2026-09-26 · 13d ago · GitHub

  2. Latest release

    2026-09-23 · 16d ago · GitHub · v2.0.1

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-09-23 · 16d ago · official registry · v2.0.1

FAQ

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

Run: claude mcp add google-analytics -e GA4_CLIENT_ID='<ga4-client-id>' -e GA4_CLIENT_SECRET='<ga4-client-secret>' -e GA4_REFRESH_TOKEN='<ga4-refresh-token>' -- npx -y @getmcpads/google-analytics-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Google Analytics 4 require an API key?

Yes. It expects GA4_CLIENT_ID, GA4_CLIENT_SECRET, GA4_REFRESH_TOKEN, of which 2 are secrets.

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

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

›Is Google Analytics 4 in the official MCP registry?

Yes, as com.getmcpads/google-analytics.

Alternatives to Google Analytics 4

Other data & analytics MCP servers.

View all