MCP ServerSTDIOOfficialv2.0.1

ga4 MCP Server

Google Analytics 4 MCP: reports, realtime data, custom dimensions, data streams.

io.github.mharnett/ga4

Hosted URL

https://github.com/mharnett/mcp-ga4

Transport

STDIO

Auth

2 required env vars

Connect to ga4

Hosted endpoint — paste into any MCP client.

https://github.com/mharnett/mcp-ga4

Environment variables

Configuration this server reads at startup.

  • GA4_PROPERTY_IDRequired

    GA4 property ID (numeric)

  • GOOGLE_APPLICATION_CREDENTIALSRequired

    Path to service account JSON credentials file

Resources

Where to find authoritative docs and source for ga4.

Try ga4 with 30+ AI models

Open MCP Agent Studio and connect this server to Claude, GPT, Gemini, DeepSeek and more — no install required.

Open Agent Studio

Related servers

More on MCP Playground