google-analytics

v1.0.3
com.mcparmory/google-analytics Checked 6 hours ago Published 6 months ago

Query GA4 analytics data with custom reports, pivot tables, and audience exports

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add google-analytics -- uvx mcparmory-google-analytics==1.0.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "google-analytics": {
      "args": [
        "mcparmory-google-analytics==1.0.3"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "google-analytics": {
      "args": [
        "mcparmory-google-analytics==1.0.3"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "google-analytics": {
      "args": [
        "mcparmory-google-analytics==1.0.3"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.google-analytics]
command = "uvx"
args = ["mcparmory-google-analytics==1.0.3"]

Docker

Requires Docker

Run in a terminal
claude mcp add google-analytics -- docker run -i --rm ghcr.io/mcparmory/google-analytics:1.0.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "google-analytics": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mcparmory/google-analytics:1.0.3"
      ],
      "command": "docker"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "google-analytics": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mcparmory/google-analytics:1.0.3"
      ],
      "command": "docker"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "google-analytics": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mcparmory/google-analytics:1.0.3"
      ],
      "command": "docker",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.google-analytics]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/mcparmory/google-analytics:1.0.3"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: run_pivot_reports_batch, run_reports_batch, validate_report_compatibility, get_audience_export, generate_pivot_report, get_realtime_report, run_report, list_audience_exports, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json