Google Analytics 4 MCP

io.scalably/ga4-mcp

Google Analytics 4 MCP: reports, realtime, funnels, pivots, metadata, admin lists. 17 tools.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "ga4-mcp": {
      "command": "uvx",
      "args": [
        "scalably-ga4-mcp"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "<your GOOGLE_APPLICATION_CREDENTIALS>"
      }
    }
  }
}
Environment variables
  • GOOGLE_APPLICATION_CREDENTIALSrequiredPath to a Google service-account JSON file with the analytics.readonly scope; add the service account as a Viewer on each GA4 property

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Data & Analytics
Version
1.0.1
Registry
active
Published
9/9/2026
Browse all Data & Analytics →

Add the badge to your site

Show visitors that Google Analytics 4 MCP is listed here — it’s also the link we check for a free listing.

Google Analytics 4 MCP — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-scalably-ga4-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Google Analytics 4 MCP — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Google Analytics 4 MCP — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-scalably-ga4-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.