Production-grade Google Analytics 4 CLI + MCP server. OAuth/SA auth, multiple output formats, Data + Admin API.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"gacli": {
"command": "npx",
"args": [
"-y",
"nalyk/gacli"
]
}
}
}
Run in terminal:
claude mcp add gacli npx -y nalyk/gacli
Add to .cursor/mcp.json:
{
"mcpServers": {
"gacli": {
"command": "npx",
"args": [
"-y",
"nalyk/gacli"
]
}
}
}