MCP directory
MG

Mcp Google Analytics

by github.com/leonardosepulvedat · v1.3.0 · updated Aug 21, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • GA_SERVICE_ACCOUNT_JSONsecret

    Service account JSON for reading reports: file path or inline JSON (needed for read tools)

  • GA_PROPERTY_ID

    Numeric GA4 property ID, e.g. 123456789 (needed for read tools)

  • GA_MEASUREMENT_ID

    Measurement ID of the data stream, e.g. G-XXXXXXXXXX (needed for event-sending tools)

  • GA_API_SECRETsecret

    Measurement Protocol API secret (needed for event-sending tools)

More from github.com/leonardosepulvedat

More MCP servers