Skip to main content

MCP Google Analytics

io.github.leonardosepulvedat/mcp-google-analytics

v1.3.0Updated Aug 21, 2026stdio · npm

GA4 MCP that reads AND writes: reports, funnels, audits, and server-side events. 26 tools.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add mcp-google-analytics -- npx -y [email protected]

Configuration

4 settings.

  • GA_SERVICE_ACCOUNT_JSON
    Env var· optional· secret
    Service account JSON for reading reports: file path or inline JSON (needed for read tools)
  • GA_API_SECRET
    Env var· optional· secret
    Measurement Protocol API secret (needed for event-sending tools)
  • GA_PROPERTY_ID
    Env var· optional
    Numeric GA4 property ID, e.g. 123456789 (needed for read tools)
  • GA_MEASUREMENT_ID
    Env var· optional
    Measurement ID of the data stream, e.g. G-XXXXXXXXXX (needed for event-sending tools)

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