Skip to content
Claude Desktop

Google Analytics 4 for Claude Desktop

io.github.stucchi/google-analytics

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

client:Claude Desktop transport:stdio runtime:pypi

Install Google Analytics 4 in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "google-analytics": {
      "command": "uvx",
      "args": [
        "google-analytics-4-mcp"
      ],
      "env": {
        "GA_CREDENTIALS": "<GA_CREDENTIALS>",
        "GA_CREDENTIALS_PATH": "<GA_CREDENTIALS_PATH>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

Google Analytics 4 in other clients