Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

google-analytics-mcp

local MCP server

Installation

Terminal

claude mcp add google-analytics-mcp -e GOOGLE_APPLICATION_CREDENTIALS=... -e GA4_PROPERTY_ID=... -- uvx google-analytics-mcp

Run in your project folder. Add --scope user to use it everywhere.

Claude Desktop, Cursor & other clients

Add to claude_desktop_config.json or .cursor/mcp.json.

{
  "mcpServers": {
    "google-analytics-mcp": {
      "command": "uvx",
      "args": [
        "google-analytics-mcp"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "...",
        "GA4_PROPERTY_ID": "..."
      }
    }
  }
}

Fill in the environment variables with your own credentials.

Summary

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

Questions

google-analytics-mcp is a local MCP server distributed as the pypi package google-analytics-mcp.

Run: claude mcp add google-analytics-mcp -e GOOGLE_APPLICATION_CREDENTIALS=... -e GA4_PROPERTY_ID=... -- uvx google-analytics-mcp

Run: codex mcp add google-analytics-mcp --env GOOGLE_APPLICATION_CREDENTIALS=... --env GA4_PROPERTY_ID=... -- uvx google-analytics-mcp

Similar MCP servers

NameStars
  1. mcp-ssh-managerio.github.bvisible/mcp-ssh-manager493
  2. Avrotizeio.github.clemensv/avrotize131
  3. orionbelt-analyticsio.github.ralfbecher/orionbelt-analytics48
  4. UCAIio.github.nirholas/abi-to-mcp38
  5. cacheoverflowio.github.GetCacheOverflow/cacheoverflow19
  6. clipkitdev.clipkit/clipkit17
  7. Google Analytics 4io.github.mindstone/mcp-server-google-analytics12
  8. agenticorgio.github.mishrasanjeev/agenticorg11
Buy me a coffee