Skip to content
Windsurf

Google Analytics 4 for Windsurf

io.github.stucchi/google-analytics

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

client:Windsurf transport:stdio runtime:pypi

Install Google Analytics 4 in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_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>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

Google Analytics 4 in other clients