Skip to content
Cursor

Google Analytics 4 for Cursor

com.getmcpads/google-analytics

Google Analytics 4 MCP server: 27 read tools.

client:Cursor transport:stdio runtime:npm

Install Google Analytics 4 in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "google-analytics": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@getmcpads/google-analytics-mcp-server"
      ],
      "env": {
        "GA4_CLIENT_ID": "<GA4_CLIENT_ID>",
        "GA4_CLIENT_SECRET": "<GA4_CLIENT_SECRET>",
        "GA4_REFRESH_TOKEN": "<GA4_REFRESH_TOKEN>",
        "GA4_PROPERTY_ID": "<GA4_PROPERTY_ID>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Google Analytics 4 in other clients