Google Analytics 4 MCP
Google Analytics 4 MCP: reports, realtime, funnels, pivots, metadata, admin lists.
Connector by scalably.io · Domain verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Claude Desktop, Cursor, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install connector/scalably-io-ga4-mcp
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 17 read · 0 write · 0 deleteRead-only
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- Not scanned yet
- Runs as
- Python package
Tools by what they do 17
Read from the source code; the running server may list different tools.
Read 17 · Look things up without changing anything.
ga4_batch_run_reportsga4_check_compatibilityga4_get_metadataga4_get_property_detailsga4_list_account_summariesga4_list_audiencesga4_list_custom_dimensionsga4_list_custom_metricsga4_list_data_streamsga4_list_google_ads_linksga4_list_key_eventsga4_list_property_annotations
Show 5 more tools
ga4_run_access_reportga4_run_funnel_reportga4_run_pivot_reportga4_run_realtime_reportga4_run_report
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
GOOGLE_APPLICATION_CREDENTIALS
Other settings (environment variables or headers).
GA4_LOG_LEVEL
Network hosts it talks to 1
github.com· found in install command
Tools (17)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
ga4_batch_run_reportsRun batch GA4 reportsread-onlyRun up to 5 GA4 reports in a single round-trip. requests: list of run_report-shaped dicts. Same top-level parameters as ga4_run_report (minus property_id, inferred from the batch). Each entry accepts: dimensions, metrics, date_ranges, dimension_filter, metric_filter, order_bys, metric_aggregations, limit, offset, keep_empty_rows, currency_code. Useful when the agent needs paired views (e.g. landing pages + referrers for the same window) and wants them atomically + under one quota call.
ga4_check_compatibilityCheck dimension metric compatibilityread-onlyValidate whether a dim/metric combo can be queried together. Cheap pre-flight. compatibility_filter: 'COMPATIBLE' (default, returns only fields that work with the provided selection) or 'INCOMPATIBLE' (returns only fields that would conflict). Use before run_report when composing exploratory queries, cheaper than catching a GoogleAdsException after a big failed report.
ga4_get_metadataGet GA4 dimension metric catalogread-onlyFetch the full GA4 dimension + metric catalog for a property. If property_id is omitted, returns the universal catalog (excludes property-specific custom fields). Pass a property_id to include custom dimensions and metrics like 'customEvent:foo' and 'customUser:signup_plan'. Response: {"dimensions": [...], "metrics": [...]}. Each entry has api_name, ui_name, description, category, custom_definition. Call this before run_report when the agent is uncertain about field names: GA4's catalog is large and custom fields require the property to resolve.
ga4_get_property_detailsGet GA4 property detailsread-onlyFull metadata for a single GA4 property. Returns display_name, property_type, parent account, time_zone, currency_code, industry_category, service_level, delete_time, expire_time, account reference, create_time, update_time. property_id: numeric (e.g. "123456789") or resource (e.g. "properties/123456789").
ga4_list_account_summariesList GA4 account summariesread-onlyList every GA4 account and its child properties accessible to this service account. CALL THIS FIRST to discover which property_id to pass into other tools. The SA only sees accounts/properties where its email has been explicitly added as a user. Response: {"accounts": [{account, display_name, property_summaries: [...], ...}]}. Each property_summary has property, display_name, property_type, parent.
ga4_list_audiencesList GA4 audiencesread-onlyList audiences defined on a GA4 property. Each audience has name, display_name, description, membership_duration_days, ads_personalization_enabled, event_trigger, exclusion_duration_mode, filter_clauses. Reference audienceId as a dimension in run_report for audience-based breakdowns. NOTE: Uses Admin v1alpha since audiences are still alpha in April 2026.
ga4_list_custom_dimensionsList custom dimensionsread-onlyList custom dimensions configured on a GA4 property. Each entry contains the parameter_name (how you query it, use prefix 'customEvent:' or 'customUser:' when passing to get_metadata / run_report), display_name, scope (EVENT|USER|ITEM), and description. Essential grounding before running reports that reference custom fields.
ga4_list_custom_metricsList custom metricsread-onlyList custom metrics configured on a GA4 property. Each entry: parameter_name, display_name, measurement_unit, scope, restricted_metric_type.
ga4_list_data_streamsList GA4 data streamsread-onlyList all data streams (web, iOS, Android) on a GA4 property. Useful for finding the Measurement ID (web), firebase_app_id (mobile), or the hostname of a web stream. Each stream has its creation/update timestamps.
ga4_list_google_ads_linksList Google Ads linksread-onlyList Google Ads links attached to a GA4 property. Returns customer_id (the Ads account), can_manage_clients, ads_personalization_enabled, and creator_email. Useful to confirm Ads ↔ GA4 cross-reporting availability before querying Ads-related dimensions like sessionGoogleAdsCampaignId.
ga4_list_key_eventsList GA4 key eventsread-onlyList key events (formerly conversions) on a GA4 property. These are the events the client has marked as conversion-worthy. Query conversion metrics via `conversions` dimension or direct metric names.
ga4_list_property_annotationsList property annotationsread-onlyList reporting annotations on a GA4 property. Annotations are markers (user-added or Google-system) flagging important events on a timeline: product launches, outages, marketing pushes, so downstream analysis can correlate metric swings with known events. Each annotation has: name, title, description, annotation_date, annotation_date_range, color, creator_email, system_generated. NOTE: Uses Admin v1alpha since annotations are still alpha in April 2026.
ga4_run_access_reportRun GA4 access reportread-onlyAudit log of who-read-what on a GA4 property (last 12 months). dimensions (common): userEmail, accessedPropertyName. metrics: accessCount. date_ranges: list of {start_date, end_date} (YYYY-MM-DD or relative). Defaults to last 7d. Use cases: identify usage of GA4 data by staff, confirm SA activity, compliance audits.
ga4_run_funnel_reportRun GA4 funnel reportread-onlyRun a GA4 funnel report. v1alpha, API surface may change. funnel: { is_open_funnel: bool, steps: [ { name: str, is_directly_followed_by: bool, filter_expression: FunnelFilterExpression, within_duration_from_prior_step: {seconds: int}, }, ... ] } funnel_breakdown: {dimension_name, limit}, optional per-step breakdown. funnel_next_action: {dimension_name, limit}, optional "what came after". Use for drop-off analysis across a sequence of events. Behind an alpha flag because Google can change the shape, check the Feb 2026 release notes if this fails with a va…
ga4_run_pivot_reportRun GA4 pivot reportread-onlyRun a GA4 pivot report. pivots: list of pivot specs, each with: - field_names: list of dimension names to pivot on - limit: max rows per pivot - offset: pagination offset - order_bys: list of OrderBy dicts (same shape as run_report's order_bys) - metric_aggregations: list of TOTAL|MINIMUM|MAXIMUM|COUNT Use when you want a 2D view: e.g. rows=date, columns=device, values=sessions.
Show 2 more tools
ga4_run_realtime_reportRun GA4 realtime reportread-onlyRun a GA4 real-time report. Covers the last 30 minutes only. IMPORTANT: realtime uses a SEPARATE, smaller dimension/metric catalog. Do NOT pass 'date', 'totalRevenue', etc: they don't exist in realtime. Common dims: 'minutesAgo', 'country', 'deviceCategory', 'unifiedScreenName', 'eventName'. Common metrics: 'activeUsers', 'screenPageViews', 'eventCount'. minute_ranges: list of {start_minutes_ago, end_minutes_ago, name?}. Max 2 ranges. Values are 0-29 (0 = now, 29 = 30 min ago). For historical / batch reports use ga4_run_report instead.
ga4_run_reportRun GA4 standard reportread-onlyRun a GA4 standard report. The workhorse tool. Args: property_id: numeric or 'properties/NNN'. dimensions: list of dimension api_names (e.g. ["country", "deviceCategory", "date"]). Custom dims require 'customEvent:' or 'customUser:' prefixes. metrics: list of metric api_names (e.g. ["activeUsers", "sessions", "totalRevenue"]). date_ranges: list of {start_date, end_date, name?}. Accepts 'YYYY-MM-DD', 'NdaysAgo', 'today', 'yesterday'. Up to 4 ranges. dimension_filter / metric_filter: filter expression dicts. Shapes: {"filter": {"field_name": "country", "string_filter": {"v…
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Weekly downloads
- 103
- Last commit
- Sep 9, 2026 (1 month ago)
- Last release
- Sep 9, 2026 (1 month ago)
- Last package publish
- Sep 9, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.scalably/ga4-mcp- Version
- 1.0.1
- Auth
- No auth
- Packages
- pypi scalably-ga4-mcpmcpb https://github.com/scalably-io/ga4-mcp/releases/download/v1.0.1/ga4-mcp.mcpb
- License
- MIT
- Repository
- github.com/scalably-io/ga4-mcp
- Website
- scalably.io/mcp/ga4-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from scalably.io
- 0.573score
Shopify MCP
scalably.io
Read-only Shopify Admin GraphQL MCP: query, introspect, bulk export, ShopifyQL.
ConnectorBFreshness: BLocalRead-only★ 1↓ 53/wkClaude Code +5 - 0.565score
Google Search Console MCP
scalably.io
Read-only Google Search Console MCP: Search Analytics, sitemaps, URL inspection.
ConnectorBFreshness: BLocalRead-only↓ 75/wkClaude Code +5 - 0.549score
Google Ads MCP
scalably.io
Google Ads MCP: GAQL queries, resources, recommendations, keyword ideas, change history.
ConnectorBFreshness: BLocalRead-only↓ 36/wkClaude Code +5 - 0.547score
Klaviyo MCP
scalably.io
Klaviyo MCP: campaigns, flows, segments, metrics, reports, profiles across many accounts.
ConnectorBFreshness: BLocalRead-onlyClaude Code +5 - 0.547score
Figma MCP
scalably.io
Figma MCP: list frames in a file and fetch one frame's JSON and image safely.
ConnectorBFreshness: BLocalClaude Code +5 - 0.547score
DataForSEO MCP
scalably.io
DataForSEO MCP wrapper: searchable API docs plus normalized calls to the official server.
ConnectorBFreshness: BLocalClaude Code +5
Cite this page
Google Analytics 4 MCP. Agent Mart. https://agentmart.dev/connectors/scalably-io-ga4-mcp (last updated 2026-10-24)