Skills/PyPI/google-analytics-mcp

google-analytics-mcp@2.12.1

VERIFIED· not started

Publisher claims: "Model Context Protocol for Google Analytics 4 (Data API) allowing autonomous agents to query dimensions and metrics. Gives agents analysis-ready GA4 access with schema discovery, server-side aggregation, and smart defaults." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry PyPI (MCP server)Publisher surendranb · publishing for 545 daysInstalls 9,198Last detonated 22 min ago
$claude mcp add google-analytics-mcp -- uvx google-analytics-mcp
WatchReport an issue

Coverage

Not started: dependency install failed; the server itself was not observed.
Tested
the dependency install step · every file read, file written and host contacted by what ran
Not tested
server startup · the tool list · tool behavior

What this means for the label: Verified here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Before you give it your token

It will ask for
GOOGLE_APPLICATION_CREDENTIALSConfiguration, not credentials: GA_MCP_TELEMETRY, GA4_MCP_INTERNAL, GA4_MCP_SOURCE, GA4_PROPERTY_ID, GA4_SESSION_FILE, GITHUB_ACTIONS, TERM_PROGRAM
Where it talks to
no vendor host named in the codeAlso builditwithai.xyz, google.com, ga4mcp.com, workers.dev, githubusercontent.com — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · no network
What we could not test
server startup · the tool list · tool behavior

Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names builditwithai.xyz, google.com, ga4mcp.com, workers.dev, githubusercontent.com as well as its own vendor. The guard injects GOOGLE_APPLICATION_CREDENTIALS only into requests to the host you bind (and its subdomains) and refuses the rest.

$vet-skills run --net declared -- uvx google-analytics-mcp

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

What changed since 2.11.7

vet-skills diff google-analytics-mcp 2.11.7 2.12.1

In the sandbox, this version reached for nothing 2.11.7 did not. Compared from the two recorded runs, not from source.

2.11.7 was not run in the sandbox (install failed); the comparison covers what static analysis recorded only.

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-20 and scored it 80/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 0 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.1sprocessdependency install exit 1 ·
0.1sclaimednot started: dependency install failed (exit 1); the server itself was not observed
0.1sprocessscript backend runs setup only
0.1sprocessno install scripts to re-run

Static findings

CRITICAL
Pipe-to-shell patternga4_mcp/coordinator.py:645 · Pipe-to-shell pattern — downloads and immediately executes remote code["Connect in 10s via 1-Click Browser Sign-In: run 'curl -fsSL https://ga4.builditwithai.xyz/install | bash'",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST06
MEDIUM
Python subprocess execution detectedga4_mcp/telemetry.py:253 · Python subprocess execution detectedout = subprocess.check_output(Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST05
CRITICAL
Pipe-to-shell patternga4_mcp/server.py:42 · Pipe-to-shell pattern — downloads and immediately executes remote code["Connect in 10s via 1-Click Browser Sign-In: run 'curl -fsSL https://ga4.builditwithai.xyz/install | bash'",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST06
MEDIUM
Remote installer piped to shellga4_mcp/coordinator.py:645 · Remote installer piped to shell["Connect in 10s via 1-Click Browser Sign-In: run 'curl -fsSL https://ga4.builditwithai.xyz/install | bash'",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST07
MEDIUM
Remote installer piped to shellga4_mcp/server.py:42 · Remote installer piped to shell["Connect in 10s via 1-Click Browser Sign-In: run 'curl -fsSL https://ga4.builditwithai.xyz/install | bash'",Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST07

Cost to the agent

Instructions loaded
≈97 tok
1 file · 36 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

Not checked against OSV yet; the weekly check has not reached this version.