Skip to content
Claude Desktop

mcp google analytics for Claude Desktop

io.github.leonardosepulvedat/mcp-google-analytics

GA4 MCP that reads AND writes: reports, funnels, audits, and server-side events. 26 tools.

client:Claude Desktop transport:stdio runtime:npm

Install mcp google analytics 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": {
    "mcp-google-analytics": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-analytics"
      ],
      "env": {
        "GA_SERVICE_ACCOUNT_JSON": "<GA_SERVICE_ACCOUNT_JSON>",
        "GA_PROPERTY_ID": "<GA_PROPERTY_ID>",
        "GA_MEASUREMENT_ID": "<GA_MEASUREMENT_ID>",
        "GA_API_SECRET": "<GA_API_SECRET>"
      }
    }
  }
}

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

mcp google analytics in other clients