{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.leonardosepulvedat/mcp-google-analytics",
  "slug": "mcp-google-analytics",
  "title": "mcp-google-analytics",
  "summary": "GA4 MCP that reads AND writes: reports, funnels, audits, and server-side events.",
  "version": "1.3.0",
  "serverKey": "mcp-google-analytics",
  "pageUrl": "https://mcpkglabs.com/tool/mcp-google-analytics",
  "installMdUrl": "https://mcpkglabs.com/tool/mcp-google-analytics/install.md",
  "trust": {
    "score": 87,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T12:49:54.148072345Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-analytics@1.3.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp-google-analytics -- npx -y mcp-google-analytics@1.3.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-google-analytics\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-google-analytics@1.3.0\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-google-analytics\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-google-analytics@1.3.0\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"mcp-google-analytics\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-google-analytics@1.3.0\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp-google-analytics]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-google-analytics@1.3.0\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "GA_SERVICE_ACCOUNT_JSON",
      "required": false,
      "secret": true,
      "description": "Service account JSON for reading reports: file path or inline JSON (needed for read tools)",
      "help": "Service account JSON for reading reports: file path or inline JSON (needed for read tools)",
      "placeholder": "<GA_SERVICE_ACCOUNT_JSON>"
    },
    {
      "name": "GA_PROPERTY_ID",
      "required": false,
      "secret": false,
      "description": "Numeric GA4 property ID, e.g. 123456789 (needed for read tools)",
      "help": "Numeric GA4 property ID, e.g. 123456789 (needed for read tools)",
      "placeholder": "<GA_PROPERTY_ID>"
    },
    {
      "name": "GA_MEASUREMENT_ID",
      "required": false,
      "secret": false,
      "description": "Measurement ID of the data stream, e.g. G-XXXXXXXXXX (needed for event-sending tools)",
      "help": "Measurement ID of the data stream, e.g. G-XXXXXXXXXX (needed for event-sending tools)",
      "placeholder": "<GA_MEASUREMENT_ID>"
    },
    {
      "name": "GA_API_SECRET",
      "required": false,
      "secret": true,
      "description": "Measurement Protocol API secret (needed for event-sending tools)",
      "help": "Measurement Protocol API secret (needed for event-sending tools)",
      "placeholder": "<GA_API_SECRET>"
    }
  ],
  "expectedTools": [
    "ga_run_report",
    "ga_run_realtime_report",
    "ga_get_metadata",
    "ga_list_accounts",
    "ga_list_properties",
    "ga_get_property",
    "ga_list_data_streams",
    "ga_run_pivot_report",
    "ga_run_funnel_report",
    "ga_batch_run_reports",
    "ga_get_account_summaries",
    "ga_list_custom_dimensions",
    "ga_list_custom_metrics",
    "ga_list_key_events",
    "ga_list_google_ads_links",
    "ga_check_compatibility",
    "ga_send_event",
    "ga_validate_event",
    "ga_send_pageview",
    "ga_send_purchase",
    "ga_send_login",
    "ga_send_signup",
    "ga_send_add_to_cart",
    "ga_send_begin_checkout",
    "ga_send_view_item",
    "ga_send_refund"
  ],
  "agentSteps": [
    "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).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: ga_run_report, ga_run_realtime_report, ga_get_metadata, ga_list_accounts, ga_list_properties, ga_get_property, ga_list_data_streams, ga_run_pivot_report, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T12:49:54.148072345Z"
}
