mcp-google-analytics
GA4 MCP that reads AND writes: reports, funnels, audits, and server-side events. 26 tools.
Documentation & Preview
{ "mcpServers": { "mcp-mcp-google-analytics-d57b18a8b31d5851c93c": { "command": "npx", "args": [ "-y", "--package", "mcp-google-analytics@1.3.0", "mcp-google-analytics" ], "env": { "GA_SERVICE_ACCOUNT_JSON": "${ENV_GA_SERVICE_ACCOUNT_JSON}", "GA_PROPERTY_ID": "${ENV_GA_PROPERTY_ID}", "GA_MEASUREMENT_ID": "${ENV_GA_MEASUREMENT_ID}", "GA_API_SECRET": "${ENV_GA_API_SECRET}" } } }, "setup": { "fields": [ { "id": "ENV_GA_SERVICE_ACCOUNT_JSON", "label": "GA_SERVICE_ACCOUNT_JSON", "description": "Service account JSON for reading reports: file path or inline JSON (needed for read tools)", "required": false, "secret": true, "default": "" }, { "id": "ENV_GA_PROPERTY_ID", "label": "GA_PROPERTY_ID", "description": "Numeric GA4 property ID, e.g. 123456789 (needed for read tools)", "required": false, "secret": false, "default": "" }, { "id": "ENV_GA_MEASUREMENT_ID", "label": "GA_MEASUREMENT_ID", "description": "Measurement ID of the data stream, e.g. G-XXXXXXXXXX (needed for event-sending tools)", "required": false, "secret": false, "default": "" }, { "id": "ENV_GA_API_SECRET", "label": "GA_API_SECRET", "description": "Measurement Protocol API secret (needed for event-sending tools)", "required": false, "secret": true, "default": "" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.leonardosepulvedat/mcp-google-analytics", "registryVersion": "1.3.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.leonardosepulvedat%2Fmcp-google-analytics/versions/1.3.0", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "mcp-google-analytics", "version": "1.3.0", "integrity": "sha512-FmU2nQENwxboIjBztnYsWvfO2n8nB6ZaGUpZIhkObRrIOVjSyMpsnfIk+gecHy544zZGawzS41bYNn2zvUq29A==", "registryNameMatched": "io.github.leonardosepulvedat/mcp-google-analytics", "checkedAt": "2026-11-04T17:24:45.419Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }