Google Analytics 4 MCP server — exposes GA4 metrics to AI agents over @modelcontextprotocol/sdk and parallel REST endpoints, with daily/monthly time breakdowns
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Claude Desktop
Claude Code
Cursor
Add to claude_desktop_config.json:
{
"mcpServers": {
"ga4-mcp-server": {
"command": "npx",
"args": [
"-y",
"spindle79/ga4-mcp-server"
]
}
}
}
📋 Copy
Run in terminal:
claude mcp add ga4-mcp-server npx -y spindle79/ga4-mcp-server
📋 Copy
Add to .cursor/mcp.json:
{
"mcpServers": {
"ga4-mcp-server": {
"command": "npx",
"args": [
"-y",
"spindle79/ga4-mcp-server"
]
}
}
}
📋 Copy