MCP Hub › Developer Tools › Google Analytics 4

Google Analytics 4 MCP server

by stucchi · io.github.stucchi/google-analytics

Manage GA4 properties, data streams, conversions, and run reports via Admin & Data APIs.

🛠 Developer ToolsPythonv0.1.1
Open in MCP HubGitHub repository ↗

How to install Google Analytics 4

Python (uvx)

claude mcp add google-analytics -- uvx google-analytics-4-mcp==0.1.1

Or add it to your MCP config (Claude Desktop, Cursor, VS Code):

{
  "mcpServers": {
    "google-analytics": {
      "command": "uvx",
      "args": [
        "google-analytics-4-mcp==0.1.1"
      ]
    }
  }
}

Environment variables:
GA_CREDENTIALS – Google Service Account JSON key content (copy-paste the entire JSON)
GA_CREDENTIALS_PATH – Alternative: path to the Service Account JSON key file

Replace placeholders in <angle brackets> with your own values. Review what a server can access before you enable it.

Details

Version
0.1.1
Published
2026-03-01
Updated
2026-03-01
Namespace
io.github.stucchi
Source
stucchi/mcp-google-analytics

Similar developer tools servers