Google Analytics 4 MCP server
Manage GA4 properties, data streams, conversions, and run reports via Admin & Data APIs.
0 stars
Reviews
Write oneNobody has reviewed Google Analytics 4 yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Google Analytics 4 tools (23, 11 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
check_auth_statusCheck if the Google Analytics service account is configured and valid.
create_custom_dimensionwrite actionCreate a custom dimension.
create_custom_metricwrite actionCreate a custom metric.
create_google_ads_linkwrite actionLink a Google Ads account to a GA4 property.
create_key_eventwrite actionMark an event as a key event (conversion).
create_propertywrite actionCreate a new GA4 property.
create_web_data_streamwrite actionCreate a web data stream and get the Measurement ID (G-XXXXX).
delete_data_streamwrite actionDelete a data stream.
delete_key_eventwrite actionRemove an event from key events (conversions).
delete_propertywrite actionSoft-delete a GA4 property (can be restored within 35 days).
get_measurement_protocol_secretGet or create a Measurement Protocol API secret for server-side event tracking.
get_metadataList all available dimensions and metrics for a GA4 property.
get_propertyGet details of a GA4 property.
get_tracking_snippetGenerate the gtag.js HTML tracking snippet ready to paste into your website.
list_accountsList all Google Analytics accounts accessible by the authenticated user.
list_custom_dimensionsList custom dimensions for a property.
list_custom_metricsList custom metrics for a property.
list_data_streamsList all data streams for a GA4 property.
list_google_ads_linksList Google Ads links for a property.
list_key_eventsList key events (conversions) configured for a property.
list_propertiesList all GA4 properties for an account.
run_realtime_reportwrite actionRun a real-time report showing active users and live events.
run_reportwrite actionRun a GA4 report with dimensions, metrics, date range, and optional filters.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan10 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 210 days ago4/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Install Google Analytics 4 in Claude Code, Cursor or VS Code
claude mcp add google-analytics -- uvx google-analytics-4-mcp
Google Analytics 4: common questions
- Is Google Analytics 4 MCP server safe?
- Mostly: it is graded B (75/100). Read the Google Analytics 4 safety report
- How do I install Google Analytics 4?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Google Analytics 4 need an API key?
- No secret keys are declared. It reads 2 settings from the environment.
- Is Google Analytics 4 maintained?
- The last commit was 226 days ago (2026-03-01). The latest release is v0.1.1.