google-analytics-mcp
io.github.surendranb/google-analytics-mcp
About google-analytics-mcp
google-analytics-mcp is an MCP server published by the GitHub account surendranb. GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
It runs on your own machine: your AI client starts it from the PyPI package google-analytics-mcp at version 2.8.2.
It asks for one secret: GOOGLE_APPLICATION_CREDENTIALS. Give it a key with the least access that still works.
It also needs GA4_PROPERTY_ID set before it starts.
Version 2.8.2 was published on 27 July 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
GOOGLE_APPLICATION_CREDENTIALS | Yes | Yes | Absolute path to your Google Cloud service account JSON key with GA4 property access. |
GA4_PROPERTY_ID | Yes | No | Numeric GA4 Property ID to query, for example 123456789. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/surendranb/google-analytics-mcp |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 1 secret: GOOGLE_APPLICATION_CREDENTIALS |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account surendranb |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | google-analytics-mcp 2.8.2 has no setup.py; nothing runs at install |
| Code red flags | Pass | Read 19 files in google-analytics-mcp 2.8.2: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 19 files, including comments and the README |
Popularity & health: 82 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
49 forks, 9 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.surendranb/google-analytics-mcp |
|---|---|
| Publisher | GitHub account surendranb |
| How the name is verified | Name verified via GitHub account surendranb. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | pypi google-analytics-mcp 2.8.2 (stdio) |
| Version | 2.8.2 |
| Published | |
| Last updated | |
| Source repository | https://github.com/surendranb/google-analytics-mcp |
| Website | None linked |
| Category | Analytics & monitoring (assigned by keyword rule, not by hand) |
Related servers in Analytics & monitoring
- loggly-mcp7/7Read-only Loggly search and analytics with aggregation-first…
- mcp-google-analytics7/7GA4 MCP that reads AND writes: reports, funnels, audits, and…
- HYPD AI - Paid Ads & Analytics3/3Google Ads, Meta (Facebook) Ads, GA4 and Merchant Center analysis…
- Google Analytics 47/7Google Analytics 4 MCP server with reporting, schema discovery, and…
- ai tag debugger7/7QA-tests your site analytics, ad and consent tags (GA4, GTM, Ads,…
Google Ads + Meta Ads + SEO/GEO MCP3/3Google Ads, Meta Ads, Google Analytics (GA4) & Search Console MCP…