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 ruchernchong/mcp-server-google-analyticsMIT licenceAudited 7 Oct 2026 · source f7c40d344eb7

npm mcp-server-google-analytics 1.1.0stdio★ 70
!CAUTIONGrade C · 79/100 · 7 Oct 2026 · f7c40d3
70GitHub stars

Is it safe? With care — CAUTION, grade C (79/100). It exposes 5 tools: 4 read, 1 write and 0 destructive. The audit recorded 3 findings (0 critical, 1 high, 0 medium, 2 low). Maintainer's description: Model Context Protocol server for Google Analytics, enabling LLMs to fetch and analyze web analytics data

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

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

2 MCP servers are called Google Analytics. You are viewing ruchernchong/mcp-server-google-analytics. Compare all 2 →

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score79/100!CAUTION C
0 critical1 high0 medium2 low0 info

3 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
  • NetworkNone observedNothing seen in the source
  • 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 1 finding
L1 Static sourceSecrets, path traversal, supply chainPASS 1 finding
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsFAIL 1 finding
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 ruchernchongUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmmcp-server-google-analytics at version 1.1.0
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last pushArchivedThe repository is archived: it will not be updated.
  • Source commit readf7c40d344eb7The audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory5 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 (3)

Sorted by severity

HIGHPrompt injectionprompt.hide_from_user · README.md:57
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
6.  Assign the **"Viewer"** role. You do not need to notify the user.
Why
asks the agent to act without the user's knowledge
Fix
—
LOWInventory / provenanceinv.hidden_file · .releaserc.json
F-13 Inventory / provenanceCWE-1104Layer L0
.releaserc.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@google-analytics/data, @modelcontextprotocol/sdk, dotenv, googleapis, @biomejs/biome, @commitlint/cli, @commitlint/config-conventional, @semantic-release/changelog
Why
19 dependency range(s) float
Fix
pin exact versions or ship a lockfile

Tools it exposes

5 declared in source · 0 destructive

4 read1 write0 destructive
ToolRiskWhat it does
runReportwriteRun a report to get analytics data
getActiveUsersreadGet active users metrics for a specific date range
getEventsreadGet event metrics for a specific date range
getPageViewsreadGet page view metrics for a specific date range
getUserBehaviorreadGet user behavior metrics like session duration and bounce rate

Install

Package version 1.1.0 · audited commit f7c40d3

Read the findings first. The most severe is Prompt injection (high) at README.md.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.1.0. The audit covers commit f7c40d3 only.

claude mcp add mcp-server-google-analytics --env GOOGLE_PRIVATE_KEY=${GOOGLE_PRIVATE_KEY} -- npx -y [email protected]

The command pins the package version recorded in the source (1.1.0); the audit covers commit f7c40d344eb7. Transport: stdio. Reads this environment variable: GOOGLE_PRIVATE_KEY. Give it the narrowest token it needs.

Audit history

  1. !CAUTION C 79 / 100

    First audit · f7c40d344eb7

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION CMODELSATLASCAUTION · C
[![ModelsAtlas: CAUTION C](https://modelsatlas.com/mcp/ruchernchong/google-analytics/badge.svg)](https://modelsatlas.com/mcp/ruchernchong/google-analytics/)

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?
Model Context Protocol server for Google Analytics, enabling LLMs to fetch and analyze web analytics data
What tools does Google Analytics expose?
5 in total: 4 read-only, 1 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?
With care. The audit graded it C (79/100) and found 3 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Google Analytics need?
It reads GOOGLE_PRIVATE_KEY 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 mcp-server-google-analytics at 1.1.0.
How current is this page?
The grade is for one exact copy of the source (f7c40d344eb7), read on 2026-10-07. The repository is watched and re-audited when it changes.
Which Google Analytics MCP server is the right one?
surendranb/google-analytics-mcp. 2 servers share the name; see the side-by-side comparison.

Sources

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.