mcpbeat Sign in

Google Analytics 4 MCP Server

local only

Google Analytics 4 runs on your own machine — the client starts it, so there is no endpoint to ping. 112 installs a week from pypi. Last commit 2 Mar 2026.

Manage GA4 properties, data streams, conversions, and run reports via Admin & Data APIs.

Installs per day peak 24 · avg 14 · +8% w/w
a month agotoday
112
Installs / week
pypi · google-analytics-4-mcp
0
Stars
0 open issues
2 Mar 2026
Last commit
from GitHub
—
License
Python

Nothing serious here today

Today is the operative word: we check Google Analytics 4 every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add google-analytics -- uvx google-analytics-4-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "google-analytics": {
      "command": "uvx",
      "args": [
        "google-analytics-4-mcp"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.google-analytics]
command = "uvx"
args = ["google-analytics-4-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "google-analytics": {
      "command": "uvx",
      "args": [
        "google-analytics-4-mcp"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "google-analytics": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "google-analytics-4-mcp"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: GA_CREDENTIALS (Google Service Account JSON key content (copy-paste the entire JSON)), GA_CREDENTIALS_PATH (Alternative: path to the Service Account JSON key file).

Alternatives to Google Analytics 4

same job, measured the same way
Ga4
by mharnett

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

165 installs/wk local only
Google Analytics
by codechap

MCP server for Google Analytics 4 — reports, realtime data, and admin

local only
Real Estate MCP Server
by thenextgennexus

Search properties via Redfin and Google Maps real estate data

30 installs/wk local only
Google Analytics 4 MCP
by scalably

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

97 installs/wk local only
Google Analytics 4
by mindstone

Google Analytics 4 MCP server with reporting, schema discovery, and admin visibility tools

64 installs/wk local only
Google Search Console
by ni-c

MCP server for Google Search Console: properties, sitemaps, search analytics and URL inspection

153 installs/wk local only
Google Webtools MCP
by stufently

Google Search Console + GA4 for AI agents: properties, reports, indexing, verification, SEO.

local only
P
Perceptdot GA4
by perceptdot

AI agent vision for Google Analytics 4 — with ROI measurement. perceptdot.com

46 installs/wk local only

Google Analytics 4 — questions

Answers built from our own checks of this server.

Why is there no uptime for Google Analytics 4?
Google Analytics 4 runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package google-analytics-4-mcp was installed 112 times last week.
How do I connect Google Analytics 4?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls google-analytics-4-mcp straight from pypi; nothing to host, nothing to sign up for.
How many people use Google Analytics 4?
The pypi package google-analytics-4-mcp was installed 112 times in the last week. Week over week that is +8%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Google Analytics 4 open source?
We cannot say either way: written in Python and 0 stars on GitHub, but we could not determine the licence, and without one the code is not open source by default.