MCP Server
MCP
io.github.leonardosepulvedat/mcp-google-analytics
GA4 MCP that reads AND writes: reports, funnels, audits, and server-side events. 26 tools.
Install
npx -y [email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"identifier": "mcp-google-analytics",
"version": "1.3.0",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Service account JSON for reading reports: file path or inline JSON (needed for read tools)",
"format": "string",
"isSecret": true,
"name": "GA_SERVICE_ACCOUNT_JSON"
},
{
"description": "Numeric GA4 property ID, e.g. 123456789 (needed for read tools)",
"format": "string",
"name": "GA_PROPERTY_ID"
},
{
"description": "Measurement ID of the data stream, e.g. G-XXXXXXXXXX (needed for event-sending tools)",
"format": "string",
"name": "GA_MEASUREMENT_ID"
},
{
"description": "Measurement Protocol API secret (needed for event-sending tools)",
"format": "string",
"isSecret": true,
"name": "GA_API_SECRET"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment