Skip to main content

Google Analytics 4

com.getmcpads/google-analytics

v2.1.2Updated Nov 8, 2026stdio · npm

Google Analytics 4 MCP server: 27 read tools, no write tools.

Install

Needs 2 secrets. Replace 3 placeholders with your own values.

Run in your terminal. Replace 3 placeholders.

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

Configuration

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

  • GA4_CLIENT_SECRET
    Env var· required· secret
    OAuth client secret.
  • GA4_REFRESH_TOKEN
    Env var· required· secret
    OAuth refresh token, analytics.readonly scope.
  • GA4_CLIENT_ID
    Env var· required
    OAuth client ID.
  • GA4_PROPERTY_ID
    Env var· optional
    Default GA4 property ID.
  • GA4_PROPERTY_IDS
    Env var· optional
    Comma-separated property IDs every tool is limited to. Optional in 2.x, required in 3.0.0.

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