mcpbeat Sign in

Google Analytics MCP Server

local only

Google Analytics MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 1 753 installs a week from pypi. Last commit 17 Sep 2026.

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

Installs per day peak 3 407 · avg 692 · -26% w/w
a month agotoday
1 753
Installs / week
pypi · google-analytics-mcp
242
Stars
1 open issues
17 Sep 2026
Last commit
0 releases in 90 days
MIT
License
Python

What the code does

We read the source, 19 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

            or os.path.exists("/.dockerenv")):
            out = subprocess.check_output(

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add google-analytics-mcp -- uvx google-analytics-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "google-analytics-mcp": {
      "args": [
        "google-analytics-mcp"
      ],
      "command": "uvx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.google-analytics-mcp]
command = "uvx"
args = ["google-analytics-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "google-analytics-mcp": {
      "args": [
        "google-analytics-mcp"
      ],
      "command": "uvx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "google-analytics-mcp": {
      "args": [
        "google-analytics-mcp"
      ],
      "command": "uvx"
    }
  }
}

This one needs environment variables set before it will start: GOOGLE_APPLICATION_CREDENTIALS (Absolute path to your Google Cloud service account JSON key with GA4 property access.), GA4_PROPERTY_ID (Numeric GA4 Property ID to query, for example 123456789.). The author declared them in the registry entry; get the values from the project itself.

Alternatives to Google Analytics MCP

same job, measured the same way
Google Search Console MCP Server
by conorbronsdon

Google Search Console for AI agents: search analytics, sitemaps, URL inspection.

38 installs/wk local only
Google Analytics 4
by mindstone

Google Analytics 4 MCP server with reporting, schema discovery, and admin visibility tools

44 installs/wk local only
Samarth Gtm MCP
by samarthanalytics-sj

Google Tag Manager + read-only GA4 MCP server. Read-only by default, gated writes, audits.

2 096 installs/wk local only
Gam Seller MCP Node
by juan-sibbo

Governed, read-only MCP server exposing Google Ad Manager inventory discovery to buyer agents

107 installs/wk local only
MCP Veo
by acedatacloud

MCP server for Google Veo AI video generation

844 installs/wk answering
Cortexpad
by cortexpad

Google Keep-style notes app with an MCP server for AI agents to read/write notes.

answering
Gpc MCP Server
by muhammetali

Google Play Console MCP Server for AI coding agents

53 installs/wk local only
Google Maps MCP Server
by cablate

18 Google Maps tools for AI agents — geocode, search, directions, weather, and more.

3 246 installs/wk local only

Google Analytics MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Google Analytics MCP?
Google Analytics MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package google-analytics-mcp was installed 1 753 times last week.
How do I connect Google Analytics MCP?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls google-analytics-mcp straight from pypi; nothing to host, nothing to sign up for.
How many people use Google Analytics MCP?
The pypi package google-analytics-mcp was installed 1 753 times in the last week. Week over week that is -26%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Google Analytics MCP open source?
Yes — it is published under the MIT licence, written in Python, 242 stars on GitHub and 1 open issue. The source link is on this page, so you can read exactly what it does with your data before you connect it.