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
We read the source, 19 h ago · rules 3dff92dd89df
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.
fs.writeFileSync(outFd, pdfBuffer);
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.
const fullPath = path.join(stagingDir, filename);
const child = spawn(process.execPath, [script], {
if (isUnder(resolvedAbs, sshDir)) return { hit: true, reason: '~/.ssh/** is sensitive' };
<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.
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.
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.
claude mcp add mcp-server-google-analytics -- npx -y @mindstone/mcp-server-google-analytics
{
"mcpServers": {
"mcp-server-google-analytics": {
"args": [
"-y",
"@mindstone/mcp-server-google-analytics"
],
"command": "npx"
}
}
}
[mcp_servers.mcp-server-google-analytics]
command = "npx"
args = ["-y", "@mindstone/mcp-server-google-analytics"]
{
"mcpServers": {
"mcp-server-google-analytics": {
"args": [
"-y",
"@mindstone/mcp-server-google-analytics"
],
"command": "npx"
}
}
}
{
"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.
MCP server for Google Analytics 4 — reports, realtime data, and admin
Google Analytics 4 MCP: reports, realtime, funnels, pivots, metadata, admin lists. 17 tools.
Google Analytics 4: 27 read-only tools across the Data API and the Admin API.
MCP stdio server for analyzing YouTube videos with Google Gemini
Manage GA4 properties, data streams, conversions, and run reports via Admin & Data APIs.
Google Ads MCP with MCC support: 35 tools for campaigns, keywords, reporting, GAQL.
Governed, read-only MCP server exposing Google Ad Manager inventory discovery to buyer agents
Google Analytics 4: reports, traffic sources, landing pages, events, realtime (read-only).
Answers built from our own checks of this server.