NestDaddy

Google Analytics 4

io.github.stucchi/google-analytics ยท v0.1.1

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

Connect Runs on your machine

Terminal
claude mcp add google-analytics -e GA_CREDENTIALS=<GA_CREDENTIALS> -e GA_CREDENTIALS_PATH=<GA_CREDENTIALS_PATH> -- uvx google-analytics-4-mcp==0.1.1
claude_desktop_config.json
{
  "mcpServers": {
    "google-analytics": {
      "command": "uvx",
      "args": [
        "google-analytics-4-mcp==0.1.1"
      ],
      "env": {
        "GA_CREDENTIALS": "<GA_CREDENTIALS>",
        "GA_CREDENTIALS_PATH": "<GA_CREDENTIALS_PATH>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "google-analytics": {
      "command": "uvx",
      "args": [
        "google-analytics-4-mcp==0.1.1"
      ],
      "env": {
        "GA_CREDENTIALS": "<GA_CREDENTIALS>",
        "GA_CREDENTIALS_PATH": "<GA_CREDENTIALS_PATH>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "google-analytics": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "google-analytics-4-mcp==0.1.1"
      ],
      "env": {
        "GA_CREDENTIALS": "<GA_CREDENTIALS>",
        "GA_CREDENTIALS_PATH": "<GA_CREDENTIALS_PATH>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

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

Details

Package[email protected] (PYPI, stdio)
First published1 Mar 2026
Last updated1 Mar 2026
Registry nameio.github.stucchi/google-analytics

More data and analytics servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.