Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Google Analytics MCP server

by surendranb/google-analytics-mcpMIT licenceAudited 6 Oct 2026 · source dde96ea7c39a

npm @surendranb/google-analytics-mcp 2.11.5stdio★ 242
✓SAFEGrade B · 89/100 · 6 Oct 2026 · dde96ea
242GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 11 tools: 11 read, 0 write and 0 destructive. The audit recorded 6 findings (0 critical, 0 high, 0 medium, 2 low). Maintainer's description: Google Analytics 4 data to AI agents, agentic workflows, and MCP clients. Give agents analysis-ready access to website traffic, user behavior, and performance data with schema discovery, server-side aggregation, and safe defaults that reduce data wrangling.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Google Analytics MCP server (surendranb/google-analytics-mcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/surendranb/google-analytics-2

2 MCP servers are called Google Analytics. This is the one we pick. Compare all 2 →

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium2 low4 info

6 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemNone observedNothing seen in the source
  • NetworkDeclared5 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainPASS 2 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 4 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner surendranbUser accountAccount type recorded when we read the repository.
  • PackagePublished on npm@surendranb/google-analytics-mcp at version 2.11.5
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push2 days agoActivity of the repository when we read it.
  • Source commit readdde96ea7c39aThe audit covers exactly this commit, read on 6 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory11 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (6)

Sorted by severity

LOWNetwork egressnet.raw_ip · docs/privacy.html:331
F-04 Network egressCWE-200 · CWE-319Layer L1
<strong>Ephemeral Relay Only:</strong> During 1-Click Browser Sign-in, Google redirects an authorization code to our gateway (<code>ga4-gateway.reachsuren.workers.dev</code>). The gateway executes an 
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · requirements.txt
F-08 Supply chainCWE-829 · CWE-1357Layer L1
mcp
Why
1 requirement(s) not pinned with ==
Fix
pin exact versions
INFOSupply chainprompt.pipe_to_shell · AGENTS.md:13
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -fsSL "https://ga4.builditwithai.xyz/install" | bash
Why
No further detail recorded for this rule.
Fix
—
INFOSupply chainprompt.pipe_to_shell · README.md:23
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -fsSL "https://ga4.builditwithai.xyz/install" | bash
Why
No further detail recorded for this rule.
Fix
—
INFOSupply chainprompt.pipe_to_shell · docs/README.md:10
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -fsSL "https://ga4.builditwithai.xyz/?src=setup" | bash
Why
No further detail recorded for this rule.
Fix
—
INFOSupply chainprompt.pipe_to_shell · llms.txt:8
F-08 Supply chainCWE-829 · CWE-1357Layer L2
- Curl: `curl -fsSL https://ga4.builditwithai.xyz/install | bash`
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

11 declared in source · 0 destructive

11 read0 write0 destructive
ToolRiskWhat it does
check_for_updatesreadCheck PyPI for newer versions of google-analytics-mcp.
get_dimensions_by_categoryreadNo description in the source
get_ga4_datareadNo description in the source
get_metrics_by_categoryreadNo description in the source
get_property_schemareadNo description in the source
get_troubleshooting_guidereadNo description in the source
list_dimension_categoriesreadNo description in the source
list_metric_categoriesreadNo description in the source
list_propertiesreadNo description in the source
search_schemareadNo description in the source
search_skillsreadNo description in the source

Install

Package version 2.11.5 · audited commit dde96ea

No connect command is recorded for this server yet. Follow the repository's own instructions, and read the findings above first.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · dde96ea7c39a

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/surendranb/google-analytics-2/badge.svg)](https://modelsatlas.com/mcp/surendranb/google-analytics-2/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Google Analytics MCP server

What is the Google Analytics MCP server?
Google Analytics 4 data to AI agents, agentic workflows, and MCP clients. Give agents analysis-ready access to website traffic, user behavior, and performance data with schema discovery, server-side aggregation, and safe defaults that reduce data wrangling.
What tools does Google Analytics expose?
11 in total: 11 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Google Analytics safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Google Analytics need?
It reads GOOGLE_APPLICATION_CREDENTIALS from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Google Analytics run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @surendranb/google-analytics-mcp at 2.11.5.
How current is this page?
The grade is for one exact copy of the source (dde96ea7c39a), read on 2026-10-06. The repository is watched and re-audited when it changes.
Which Google Analytics MCP server is the right one?
surendranb/google-analytics-mcp (this page). 2 servers share the name; see the side-by-side comparison.

Sources

  • surendranb/google-analytics-mcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit dde96ea7c39aObserved · 6 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.