Google Analytics 4 MCP Server
by scalably-ioio.scalably/ga4-mcpv1.0.1
Google Analytics 4 MCP: reports, realtime, funnels, pivots, metadata, admin lists. 17 tools.
context tax
queued
security
queued
cold start
queued
freshness
Active31d ago
Install Google Analytics 4 MCP server
Install in Claude Code
claude mcp add scalably-ga4 -e GOOGLE_APPLICATION_CREDENTIALS='<google-application-credentials>' -- uvx scalably-ga4-mcpInstall in Cursor
{
"mcpServers": {
"scalably-ga4": {
"command": "uvx",
"args": [
"scalably-ga4-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<google-application-credentials>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"scalably-ga4": {
"command": "uvx",
"args": [
"scalably-ga4-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<google-application-credentials>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"scalably-ga4": {
"type": "stdio",
"command": "uvx",
"args": [
"scalably-ga4-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<google-application-credentials>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"scalably-ga4": {
"command": "uvx",
"args": [
"scalably-ga4-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "<google-application-credentials>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GOOGLE_APPLICATION_CREDENTIALS | yes | — | Path to a Google service-account JSON file with the analytics.readonly scope; add the service account as a Viewer on each GA4 property |
| GA4_LOG_LEVEL | — | — | Log level, default INFO |
Freshness
Active — last maintenance signal 31d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-09 · 31d ago · GitHub
Latest release
2026-09-09 · 31d ago · GitHub · v1.0.1
Package published
no data · npm/PyPI
Registry entry updated
2026-09-09 · 31d ago · official registry · v1.0.1
FAQ
›How do I install the Google Analytics 4 MCP server in Claude Code?
Run: claude mcp add scalably-ga4 -e GOOGLE_APPLICATION_CREDENTIALS='<google-application-credentials>' -- uvx scalably-ga4-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Google Analytics 4 require an API key?
Yes. It expects GOOGLE_APPLICATION_CREDENTIALS.
›Can I use Google Analytics 4 as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Google Analytics 4 in the official MCP registry?
Yes, as io.scalably/ga4-mcp.
Alternatives to Google Analytics 4
Other data & analytics MCP servers.