google-analytics-mcp
local MCP serverInstallation
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
- mcp-ssh-managerio.github.bvisible/mcp-ssh-manager493
- Avrotizeio.github.clemensv/avrotize131
- orionbelt-analyticsio.github.ralfbecher/orionbelt-analytics48
- UCAIio.github.nirholas/abi-to-mcp38
- cacheoverflowio.github.GetCacheOverflow/cacheoverflow19
- clipkitdev.clipkit/clipkit17
- Google Analytics 4io.github.mindstone/mcp-server-google-analytics12
- agenticorgio.github.mishrasanjeev/agenticorg11