MCP.Market

Google Analytics 4 MCP server

by scalably.io·io.scalably/ga4-mcp·v1.0.1

Google Analytics 4 MCP: reports, realtime, funnels, pivots, metadata, admin lists. 17 tools.

A89/100grade A
What users say
No reviews yet
Be the first
Safety scan
A89/100

full report

Adoption
Growing

0 stars30 downloads/wk

Reviews

Write one

Nobody has reviewed Google Analytics 4 MCP yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Google Analytics 4 MCP tools (17, 6 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • ga4_batch_run_reportswrite action

    Run up to 5 GA4 reports in a single round-trip.

  • ga4_check_compatibility

    Validate whether a dim/metric combo can be queried together. Cheap pre-flight.

  • ga4_get_metadata

    Fetch the full GA4 dimension + metric catalog for a property.

  • ga4_get_property_details

    Full metadata for a single GA4 property.

  • ga4_list_account_summaries

    List every GA4 account and its child properties accessible to this service account.

  • ga4_list_audiences

    List audiences defined 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_data_streams

    List all data streams (web, iOS, Android) on a GA4 property.

  • ga4_list_google_ads_links

    List Google Ads links attached to a GA4 property.

  • ga4_list_key_events

    List key events (formerly conversions) on a GA4 property.

  • ga4_list_property_annotations

    List reporting annotations on a GA4 property.

  • ga4_run_access_reportwrite action

    Audit log of who-read-what on a GA4 property (last 12 months).

  • ga4_run_funnel_reportwrite action

    Run a GA4 funnel report. v1alpha, API surface may change.

  • ga4_run_pivot_reportwrite action

    Run a GA4 pivot report.

  • ga4_run_realtime_reportwrite action

    Run a GA4 real-time report. Covers the last 30 minutes only.

  • ga4_run_reportwrite action

    Run a GA4 standard report. The workhorse tool.

Public scan report

scanner v0.1.10 · 2026-10-15 · same rubric, same numbers if you re-run it

no findings
  • Code scan6 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 9 days ago15/15
  • Maintainer identitynamespace and repository owner differ; website matches verified namespace6/10
Overall 89/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Google Analytics 4 MCP compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
89/100
higher than 80% of 48,255 servers
Tools
17
the typical server has 7
Tools that change things
35%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
30
more than 18% of 12,191 servers with a package

What its tools let an agent do: 11 read · 6 change

Install Google Analytics 4 MCP in Claude Code, Cursor or VS Code

claude mcp add ga4-mcp -- uvx scalably-ga4-mcp
Add to Cursor

What the publisher says

From the Google Analytics 4 MCP repository's README, as published. We do not edit it. Read it on GitHub

Google Analytics 4 MCP

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.

<!-- mcp-name: io.scalably/ga4-mcp -->

Install

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.

Setup

  1. In Google Cloud, create or pick a project and enable the Google Analytics Data API and the Google Analytics Admin API on it (APIs and Services, Library).
  2. Create a service account in that project and download its JSON key.
  3. Add the service account's email as a Viewer on each GA4 property you want to query (Admin, Property access management).

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 ga4listaccountsummaries first to discover which propertyid values the service account can see, then pass one into the reporting or admin tools.

Tools (17)

Configuration

Filter expression shape

Every tool accepting dimensionfilter / metricfilter 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 {"fieldname": ..., "stringfilter": ...} is auto-wrapped into {"filter": {...}}.

Reply shape

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Google Analytics 4 MCP: common questions

Is Google Analytics 4 MCP server safe?
Yes, by our scan: it is graded A (89/100). Read the Google Analytics 4 MCP safety report
How do I install Google Analytics 4 MCP?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Google Analytics 4 MCP need an API key?
No secret keys are declared. It reads 2 settings from the environment.
Is Google Analytics 4 MCP maintained?
The last commit was 28 days ago (2026-10-06). The latest release is v1.0.1.
What can I use instead of Google Analytics 4 MCP?
Servers from other publishers that do the same job: AdLoop MCP server.
How does Google Analytics 4 MCP compare with other MCP servers?
safety score 89/100 (higher than 80% of 48,255 servers); tools 17 (the typical server has 7); tools that change things 35% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Google Analytics 4 MCP

Same job from other publishers: the closest match first, then the best rated.

  • AdLoop
    Google Ads, Reddit Ads, GA4 and Tag Manager in your AI client, with a preview before every change.
    A

More from scalably.io →