Skip to content
mcp/skillhub

Google Analytics MCP Server

by surendranbio.github.surendranb/google-analytics-mcpv2.8.2

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

243Pythonstdioofficial registry

context tax

pending

security

100/100

cold start

pending

freshness

Active28d ago

Our reading of Google Analytics, from the data

Google Analytics is a data & analytics MCP server from surendranb, listed in the official MCP Registry.

We haven't measured its tool list yet, so its token cost is unknown.

Maintenance is active: the last public signal was 28 days ago (2026-10-14). For comparison, 66% of data & analytics servers are active or maintained.

With 243 GitHub stars it ranks #28 of 1,391 data & analytics servers we index.

It runs locally on your machine over stdio and needs one secret (GOOGLE_APPLICATION_CREDENTIALS); use a scoped, least-privilege key.

Install Google Analytics MCP server

Install in Claude Code

claude mcp add google-analytics-surendranb -e GOOGLE_APPLICATION_CREDENTIALS='<google-application-credentials>' -e GA4_PROPERTY_ID='<ga4-property-id>' -- uvx google-analytics-mcp

Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works

npx mcpskillhub test pypi:google-analytics-mcp --env GOOGLE_APPLICATION_CREDENTIALS --env GA4_PROPERTY_ID

Configuration

VariableRequiredSecretDescription
GOOGLE_APPLICATION_CREDENTIALSyesyesAbsolute path to your Google Cloud service account JSON key with GA4 property access.
GA4_PROPERTY_IDyes—Numeric GA4 Property ID to query, for example 123456789.

Security signals

100/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.

Deductions

No findings from the checks that ran.

Checks

  • ✓Repository hygiene (archived, activity, license, security policy)
  • ○Package metadata (install scripts, provenance) — pending
  • ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
  • ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending

Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules

Freshness

Active — last maintenance signal 28d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-14 · 28d ago · GitHub

  2. Latest release

    2026-08-18 · 3mo ago · GitHub · v2.11.3

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-07-27 · 4mo ago · official registry · v2.8.2

How it compares in Data & Analytics

Against the most-starred data & analytics servers we index. Token cost is per model turn, measured from each server's live tool list.

ServerStarsToolsTokens / turnFreshnessRuns
Google Analytics (this)243—not measuredActivelocal
Netdata81,005—not measuredActivehosted
Metabase49,728—not measuredActivehosted
PostHog40,338—not measuredActivelocal + hosted
Agent-Native Analytics7,433—not measuredActivehosted
Finance Toolkit5,439—not measuredActivelocal + hosted
All data & analytics MCP servers

FAQ

›How do I install the Google Analytics MCP server in Claude Code?

Run: claude mcp add google-analytics-surendranb -e GOOGLE_APPLICATION_CREDENTIALS='<google-application-credentials>' -e GA4_PROPERTY_ID='<ga4-property-id>' -- uvx google-analytics-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Google Analytics require an API key?

Yes. It expects GOOGLE_APPLICATION_CREDENTIALS, GA4_PROPERTY_ID, of which 1 is a secret.

›Can I use Google Analytics as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Google Analytics in the official MCP registry?

Yes, as io.github.surendranb/google-analytics-mcp.

Sources and method

Official MCP Registry entry
updated 2026-07-27
GitHub repository
fetched 2026-10-19
Package registry (npm / PyPI)
listed
Last checked against all sources
2026-10-19

The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.

Alternatives to Google Analytics

Other data & analytics MCP servers.

View all

Comparing Google servers? All Google MCP servers, official and community.