Google Analytics 4 MCP: reports, realtime, funnels, pivots, metadata, admin lists. 17 tools.
MCPpedia last refreshed this data
io.scalably/ga4-mcp is an MCP server that google Analytics 4 MCP: reports, realtime, funnels, pivots, metadata, admin lists. 17 tools. Its tool list has not been published yet over stdio, requires no API key, and scores 82/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"io-scalably-ga4-mcp": {
"args": [
"scalably-ga4-mcp"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Google Analytics 4 MCP: reports, realtime, funnels, pivots, metadata, admin lists. 17 tools.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
uvx 'scalably-ga4-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked scalably-ga4-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in analytics
MCP server that enables AI agents to perform comprehensive web audits using Google Lighthouse with 13+ tools for performance, accessibility, SEO, and security analysis.
Full Datadog API access: monitors, logs, metrics, traces, dashboards, and observability tools
Query analytics, manage feature flags and experiments, and investigate errors in PostHog.
Read and manage Churnkey cancel flows, retention metrics, and payment recovery
MCP Security Weekly
Get CVE alerts and security updates for io.scalably/ga4-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Read-only MCP server for Google Analytics 4. Seventeen tools cover the read surface of both the Data API and the Admin API: standard, batch, pivot, realtime and funnel reports; the metadata catalog and compatibility check; and admin lists for properties, streams, custom dimensions and metrics, key events, audiences, Google Ads links, annotations and access reports. We run this server in production for every analytics client.
Claude Code:
claude mcp add ga4 -e GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json -- uvx scalably-ga4-mcp
Codex:
codex mcp add ga4 --env GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json -- uvx scalably-ga4-mcp
Claude Desktop: download ga4-mcp.mcpb from the latest GitHub release and open it.
No OAuth consent screen is needed; the server authenticates as the service account with the analytics.readonly scope. One service account can read any property that grants it access, so there is no per-client configuration beyond step 3 above.
Call ga4_list_account_summaries first to discover which property_id values the service account can see, then pass one into the reporting or admin tools.
| Tool | What it does |
|---|---|
ga4_list_account_summaries | List every GA4 account and its child properties accessible to this service account |
ga4_get_property_details | Full metadata for a single GA4 property |
ga4_list_data_streams | List all data streams (web, iOS, Android) on a GA4 property |
ga4_list_custom_dimensions | List custom dimensions configured on a GA4 property |
ga4_list_custom_metrics | List custom metrics configured on a GA4 property |
ga4_list_key_events | List key events (formerly conversions) on a GA4 property |
ga4_list_audiences | List audiences defined on a GA4 property |
ga4_list_google_ads_links | List Google Ads links attached to a GA4 property |
ga4_list_property_annotations | List reporting annotations on a GA4 property |
ga4_run_access_report | Audit log of who read what on a GA4 property, last 12 months |
ga4_get_metadata | Fetch the full GA4 dimension and metric catalog for a property |
ga4_run_report | Run a GA4 standard report, the workhorse tool |
ga4_batch_run_reports | Run up to 5 GA4 reports in a single round trip |
ga4_run_pivot_report | Run a GA4 pivot report |
ga4_run_realtime_report | Run a GA4 real-time report covering the last 30 minutes |
ga4_check_compatibility | Validate whether a dimension and metric combo can be queried together |
ga4_run_funnel_report | Run a GA4 funnel report (v1alpha, drop-off analysis) |
| Variable | Required | Purpose |
|---|---|---|
GOOGLE_APPLICATION_CREDENTIALS | yes | Path to a Google service-account JSON file with the analytics.readonly scope; share each property with the service account email |
GA4_LOG_LEVEL | no | INFO (default) or DEBUG |
Every tool accepting dimension_filter / metric_filter takes a dict:
{"filter": {"field_name": "country", "string_filter": {"value": "US"}}}
Compose with boolean groups:
{"and_group": {"expressions": [
{"filter": {"field_name": "country", "string_filter": {"value": "US"}}},
{"filter": {"field_name": "deviceCategory", "string_filter": {"value": "mobile"}}}
]}}
A raw {"field_name": ..., "string_filter": ...} is auto-wrapped into {"filter": {...}}.
Every tool returns JSON with status (succeeded, partial, no_op), `operat