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

VariableRequiredSecretDescription
GOOGLE_APPLICATION_CREDENTIALSYesYesAbsolute path to your Google Cloud service account JSON key with GA4 property access.
GA4_PROPERTY_IDYesNoNumeric GA4 Property ID to query, for example 123456789.

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/surendranb/google-analytics-mcp
Version pinnedPassEvery package has an explicit version
Secrets requestedInfoAsks for 1 secret: GOOGLE_APPLICATION_CREDENTIALS
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account surendranb
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPassgoogle-analytics-mcp 2.8.2 has no setup.py; nothing runs at install
Code red flagsPassRead 19 files in google-analytics-mcp 2.8.2: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo 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.

Popularity24 / 40

244 GitHub stars, 1,992 downloads last week, 0 Hacker News posts (0 points). Best two of the three, each on a log scale.

Activity25 / 25

Last push 2026-10-28, last release 2026-10-28, 55 commits in 90 days.

Issue health13 / 15

16 closed of 18 issues.

Our checks20 / 20

0 warnings, each costing a fifth.

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 nameio.github.surendranb/google-analytics-mcp
PublisherGitHub account surendranb
How the name is verifiedName verified via GitHub account surendranb. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagespypi google-analytics-mcp 2.8.2 (stdio)
Version2.8.2
Published
Last updated
Source repositoryhttps://github.com/surendranb/google-analytics-mcp
WebsiteNone linked
CategoryAnalytics & monitoring (assigned by keyword rule, not by hand)

Related servers in Analytics & monitoring