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. 44 installs a week from npm. Last commit 13 Sep 2026.

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

Installs per day peak 18 · avg 6 · +144% w/w
a month agotoday
44
Installs / week
npm · @mindstone/mcp-server-google-analytics
12
Stars
1 open issues
13 Sep 2026
Last commit
0 releases in 90 days
License
TypeScript

What the code does

We read the source, 19 h ago · rules 3dff92dd89df

A tool parameter reaches a dangerous call

A value the model can set ends up inside a file or shell call. That is not a flaw by itself — for a terminal server it is the job — but it is where things go wrong when it is not.

A tool parameter reaches a file or shell call replace_workspace_document.document_id → connectors/pandadoc/src/tools/documents.ts:891
          fs.writeFileSync(outFd, pdfBuffer);
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Runs an external command connectors/office/src/index.ts:403
    const child = spawn(process.execPath, [script], {
  if (isUnder(resolvedAbs, sshDir)) return { hit: true, reason: '~/.ssh/** is sensitive' };
Page loads a third-party script connectors/office/src/addin/taskpane.html:10
  <script src="https://appsforoffice.microsoft.com/lib/1.1/hosted/office.js"></script>
    const entries = fs.readdirSync(workspacePath, { withFileTypes: true });

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

A tool parameter here reaches a dangerous call

That is not a flaw by itself — but it is where things go wrong when it is not the job. We re-read this code on every release. Watch it and you hear from us the day another one appears.

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 mcp-server-google-analytics -- npx -y @mindstone/mcp-server-google-analytics
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-google-analytics": {
      "args": [
        "-y",
        "@mindstone/mcp-server-google-analytics"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-server-google-analytics]
command = "npx"
args = ["-y", "@mindstone/mcp-server-google-analytics"]
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server-google-analytics": {
      "args": [
        "-y",
        "@mindstone/mcp-server-google-analytics"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "mcp-server-google-analytics": {
      "args": [
        "-y",
        "@mindstone/mcp-server-google-analytics"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: GOOGLE_APPLICATION_CREDENTIALS (Absolute path to ADC or service-account JSON file), GA4_PROPERTY_ID (Default GA4 property ID (e.g. 123456789)). The author declared them in the registry entry; get the values from the project itself.

Alternatives to Google Analytics 4

same job, measured the same way
Google Analytics
by codechap

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

local only
Google Analytics 4 MCP
by scalably

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

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
Youtube Video Analyzer
by ludmila-omlopes

MCP stdio server for analyzing YouTube videos with Google Gemini

30 installs/wk 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 Ads
by mharnett

Google Ads MCP with MCC support: 35 tools for campaigns, keywords, reporting, GAQL.

298 installs/wk local only
Gam Seller MCP Node
by juan-sibbo

Governed, read-only MCP server exposing Google Ad Manager inventory discovery to buyer agents

107 installs/wk 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 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 npm package @mindstone/mcp-server-google-analytics was installed 44 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 with the file path that client actually reads. It runs locally, so the command pulls @mindstone/mcp-server-google-analytics straight from npm; nothing to host, nothing to sign up for.
How many people use Google Analytics 4?
The npm package @mindstone/mcp-server-google-analytics was installed 44 times in the last week. Week over week that is +144%. 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 TypeScript, 12 stars on GitHub and 1 open issue, but we could not determine the licence, and without one the code is not open source by default.