mcpbeat Sign in

Ga4 MCP Server

local only

Ga4 runs on your own machine — the client starts it, so there is no endpoint to ping. 127 installs a week from npm. Last commit 9 Sep 2026.

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

Installs per day peak 84 · avg 22 · +1% w/w
a month agotoday
127
Installs / week
npm · mcp-ga4
0
Stars
0 open issues
9 Sep 2026
Last commit
0 releases in 90 days
MIT
License
TypeScript

Nothing serious here today

Today is the operative word: we check Ga4 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 ga4 -- npx -y mcp-ga4
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "ga4": {
      "args": [
        "-y",
        "mcp-ga4"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.ga4]
command = "npx"
args = ["-y", "mcp-ga4"]
.cursor/mcp.json
{
  "mcpServers": {
    "ga4": {
      "args": [
        "-y",
        "mcp-ga4"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "ga4": {
      "args": [
        "-y",
        "mcp-ga4"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: GA4_PROPERTY_ID (GA4 property ID (numeric)), GOOGLE_APPLICATION_CREDENTIALS (Path to service account JSON credentials file). The author declared them in the registry entry; get the values from the project itself.

Alternatives to Ga4

same job, measured the same way
Google Analytics
by codechap

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

local only
I
Google Analytics 4
by stucchi

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

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

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

local only
SEO Tools: Google Analytics 4
by antohins

Google Analytics 4: reports, traffic sources, landing pages, events, realtime (read-only).

47 installs/wk local only
Google_analytics
by pipeworx-io

Google Analytics MCP Pack

35 tools answering
Google Analytics
by mcparmory

Query GA4 analytics data with custom reports, pivot tables, and audience exports

248 installs/wk local only
Google Analytics 4
by mindstone

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

44 installs/wk local only
Google Analytics 4
by getmcpads

Google Analytics 4: 27 read-only tools across the Data API and the Admin API.

78 installs/wk local only

Ga4 — questions

Answers built from our own checks of this server.

Why is there no uptime for Ga4?
Ga4 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 npm package mcp-ga4 was installed 127 times last week.
How do I connect Ga4?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls mcp-ga4 straight from npm; nothing to host, nothing to sign up for.
How many people use Ga4?
The npm package mcp-ga4 was installed 127 times in the last week. Week over week that is +1%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Ga4 open source?
Yes — it is published under the MIT licence, written in TypeScript and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.