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

MCP server · Audited from source

mcp-google-analytics

by leonardosepulvedat/mcp-google-analyticsMIT licenceAudited 7 Oct 2026 · source 9e3cb0c12327

npm mcp-google-analytics 1.3.1stdio★ 2
✓SAFEGrade B · 89/100 · 7 Oct 2026 · 9e3cb0c
2GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 26 tools: 12 read, 14 write and 0 destructive. The audit recorded 2 findings (0 critical, 0 high, 0 medium, 2 low). Maintainer's description: GA4 MCP that reads AND writes: reports, funnels, audits, and server-side events (Measurement Protocol). 26 tools.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “mcp-google-analytics (leonardosepulvedat/mcp-google-analytics)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/leonardosepulvedat/mcp-google-analytics

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

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

2 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
  • NetworkDeclared2 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 1 finding
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 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 leonardosepulvedatUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmmcp-google-analytics at version 1.3.1
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push46 days agoActivity of the repository when we read it.
  • Source commit read9e3cb0c12327The 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 inventory26 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 (2)

Sorted by severity

LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, axios, google-auth-library, zod, @types/node, typescript, vitest
Why
7 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:41
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- Documentation only: added an at-a-glance table of all 18 tools, five new Measurement Protocol usage examples (validation, server-side conversions, ecommerce funnel with shared `client_id`, custom au
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine

Tools it exposes

26 declared in source · 0 destructive

12 read14 write0 destructive
ToolRiskWhat it does
ga_batch_run_reportswriteNo description in the source
ga_run_funnel_reportwriteNo description in the source
ga_run_pivot_reportwriteNo description in the source
ga_run_realtime_reportwriteNo description in the source
ga_run_reportwriteNo description in the source
ga_send_add_to_cartwriteNo description in the source
ga_send_begin_checkoutwriteNo description in the source
ga_send_eventwriteNo description in the source
ga_send_loginwriteNo description in the source
ga_send_pageviewwriteNo description in the source
ga_send_purchasewriteNo description in the source
ga_send_refundwriteNo description in the source
ga_send_signupwriteNo description in the source
ga_send_view_itemwriteNo description in the source
ga_check_compatibilityreadNo description in the source
ga_get_account_summariesreadNo description in the source
ga_get_metadatareadNo description in the source
ga_get_propertyreadNo description in the source
ga_list_accountsreadNo description in the source
ga_list_custom_dimensionsreadNo description in the source
ga_list_custom_metricsreadNo description in the source
ga_list_data_streamsreadNo description in the source
ga_list_google_ads_linksreadNo description in the source
ga_list_key_eventsreadNo description in the source
ga_list_propertiesreadNo description in the source
ga_validate_eventreadNo description in the source

Install

Package version 1.3.1 · audited commit 9e3cb0c

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

The command pins the package version recorded in the source (1.3.1); the audit covers commit 9e3cb0c12327. Transport: stdio. Reads these environment variables: GA_API_SECRET, GA_SERVICE_ACCOUNT_JSON. Give it the narrowest token it needs.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · 9e3cb0c12327

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/leonardosepulvedat/mcp-google-analytics/badge.svg)](https://modelsatlas.com/mcp/leonardosepulvedat/mcp-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 mcp-google-analytics

What is the mcp-google-analytics MCP server?
GA4 MCP that reads AND writes: reports, funnels, audits, and server-side events (Measurement Protocol). 26 tools.
What tools does mcp-google-analytics expose?
26 in total: 12 read-only, 14 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is mcp-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 mcp-google-analytics need?
It reads GA_API_SECRET and GA_SERVICE_ACCOUNT_JSON 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 mcp-google-analytics run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as mcp-google-analytics at 1.3.1.
How current is this page?
The grade is for one exact copy of the source (9e3cb0c12327), read on 2026-10-07. The repository is watched and re-audited when it changes.

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.