Skip to content
Agentmart
Submit a tool

Google Analytics 4

Google Analytics 4 MCP server with reporting, schema discovery, and admin visibility tools

Connector by mindstone · GitHub account verified by the MCP Registry

IndexedLicense unknownLocal (stdio)★ 13
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/mindstone-mcp-server-google-analytics

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.

We use your email only for this newsletter. Privacy

About

Google Analytics 4 MCP server with reporting, schema discovery, and admin visibility tools

No 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
32 read · 0 write · 2 delete
Secrets
1 (API keys, tokens or passwords)
Install scripts
Not scanned yet
Runs as
Node.js package

Tools by what they do 34

Read from the source code; the running server may list different tools.

Read 32 · Look things up without changing anything.

  • ga_batch_run_reports
  • ga_check_compatibility
  • ga_get_audience_export
  • ga_get_custom_dimensions_and_metrics
  • ga_get_data_retention_settings
  • ga_get_dimensions_by_category
  • ga_get_global_site_tag
  • ga_get_metadata
  • ga_get_metrics_by_category
  • ga_get_property_details
  • ga_get_property_quotas_snapshot
  • ga_get_property_schema
Show 20 more tools
  • ga_get_report_task
  • ga_list_account_summaries
  • ga_list_audience_exports
  • ga_list_audiences
  • ga_list_bigquery_links
  • ga_list_channel_groups
  • ga_list_data_streams
  • ga_list_dimension_categories
  • ga_list_firebase_links
  • ga_list_google_ads_links
  • ga_list_key_events
  • ga_list_metric_categories
  • ga_list_properties
  • ga_query_audience_export
  • ga_query_report_task
  • ga_run_pivot_report
  • ga_run_realtime_report
  • ga_run_report
  • ga_search_change_history_events
  • ga_search_schema

Delete 2 · Delete, drop, revoke or wipe things.

  • ga_create_audience_export
  • ga_create_report_task

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_PROPERTY_ID

Tools (34)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • ga_batch_run_reportsread-only

    Run multiple GA4 reports (max 5) in a single batch request. Each report shares the row-volume safety net of ga_run_report.

  • ga_check_compatibilityread-only

    Check whether a set of dimensions and metrics can be used together in a GA4 report. Useful before running a complex report to avoid INCOMPATIBLE errors.

  • ga_create_audience_exportcan change or delete data

    Create an audience export — a server-side snapshot of the users in a GA4 audience for later retrieval. Charges audience-export quota tokens and takes seconds-to-minutes to become ACTIVE; poll with ga_get_audience_export, then page users with ga_query_audience_export. Does not modify property configuration.

  • ga_create_report_taskcan change or delete data

    Start an asynchronous report task for a large GA4 export. Unlike ga_run_report this has no synchronous timeout and no row-volume warning gate — the task materialises up to `limit` rows server-side. Poll ga_get_report_task until state is ACTIVE, then page rows with ga_query_report_task. Uses the v1alpha Data API; structure may evolve over time.

  • ga_get_audience_exportread-only

    Get the configuration metadata and state of an audience export. Poll this after ga_create_audience_export until state is ACTIVE before querying rows.

  • ga_get_custom_dimensions_and_metricsread-only

    List all custom dimensions and custom metrics configured on a GA4 property.

  • ga_get_data_retention_settingsread-only

    Get the configured event data retention settings for a GA4 property.

  • ga_get_dimensions_by_categoryread-only

    Get dimensions for a given category name (from ga_list_dimension_categories).

  • ga_get_global_site_tagread-only

    Get the gtag.js / global site tag snippet for the first web data stream on a GA4 property.

  • ga_get_metadataread-only

    Get the live GA4 metadata for the property, including all available dimensions and metrics. Use this when you need the raw schema; prefer ga_search_schema for keyword lookups.

  • ga_get_metrics_by_categoryread-only

    Get metrics for a given category name (from ga_list_metric_categories).

  • ga_get_property_detailsread-only

    Get details for a single GA4 property — display name, currency code, configured time zone, industry category, service level, and timestamps.

  • ga_get_property_quotas_snapshotread-only

    Return a fresh property quota snapshot using a lightweight GA4 report call. Use this to check remaining tokens / requests before kicking off a large batch.

  • ga_get_property_schemaread-only

    Return the full GA4 property schema, including dimension count and metric count. Same data as ga_get_metadata with summary counts.

  • ga_get_report_taskread-only

    Get the metadata and state of a report task. Poll this after ga_create_report_task until state is ACTIVE before querying rows. Uses the v1alpha Data API.

Show 19 more tools
  • ga_list_account_summariesread-only

    List Google Analytics accounts and their property summaries available to the authenticated user. Use this first to discover available property IDs before calling other tools.

  • ga_list_audience_exportsread-only

    List all audience exports for a GA4 property. Useful to find and reuse an existing export rather than creating a new one.

  • ga_list_audiencesread-only

    List all audiences configured on a GA4 property, including membership duration, ads-personalization flag, and filter clauses. Uses the v1alpha Admin API (audiences are not yet promoted to v1beta); structure may evolve over time.

  • ga_list_bigquery_linksread-only

    List all BigQuery export links configured on a GA4 property.

  • ga_list_channel_groupsread-only

    List all channel groups configured on a GA4 property, including the grouping rules that define channels such as "Organic Social". Uses the v1alpha Admin API (channel groups are not yet promoted to v1beta); structure may evolve over time.

  • ga_list_data_streamsread-only

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

  • ga_list_dimension_categoriesread-only

    List available dimension categories for the property schema.

  • ga_list_firebase_linksread-only

    List all Firebase project links configured on a GA4 property.

  • ga_list_google_ads_linksread-only

    List all Google Ads links configured on a GA4 property.

  • ga_list_key_eventsread-only

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

  • ga_list_metric_categoriesread-only

    List available metric categories for the property schema.

  • ga_list_propertiesread-only

    List GA4 properties visible to the authenticated user, optionally filtered by account_id or property_id. Returns a flat list — easier to consume than ga_list_account_summaries when you just want property IDs.

  • ga_query_audience_exportread-only

    Retrieve users from an ACTIVE audience export, with offset/limit pagination. Rows contain user-level identifiers (user IDs / device IDs) — treat them as privacy-sensitive. The export must be ACTIVE; poll ga_get_audience_export first.

  • ga_query_report_taskread-only

    Retrieve rows from an ACTIVE report task with offset/limit pagination (up to 250,000 rows per page). The task must be ACTIVE; poll ga_get_report_task first. Uses the v1alpha Data API.

  • ga_run_pivot_reportread-only

    Run a GA4 pivot report. Pivots are useful for cross-tabulating dimensions (e.g. country x device).

  • ga_run_realtime_reportread-only

    Run a GA4 realtime report with configurable dimensions and metrics. Realtime data covers the last 30 minutes by default.

  • ga_run_reportread-only

    Run a GA4 report with configurable dimensions, metrics, date range, ordering, and safe dataset controls. Estimates row count first; returns a warning above row_warning_threshold (default 2500). Use ga_search_schema to discover dimension/metric apiNames.

  • ga_search_change_history_eventsread-only

    Search the change history (created/updated/deleted) for a GA4 property. Follows all result pages automatically, so large histories are returned in full. Uses the v1alpha admin API; structure may evolve over time.

  • ga_search_schemaread-only

    Search dimensions and metrics by keyword across the live GA4 property schema. Use this to discover the exact apiName for a concept (e.g. "session", "revenue", "country").

Signals

Stars
13
Forks
4
Open issues
1
Weekly downloads
35
Last commit (this folder)
Aug 10, 2026 (2 months ago)
Last release
Aug 10, 2026 (2 months ago)
Last package publish
Aug 10, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.mindstone/mcp-server-google-analytics
Version
0.2.1
Auth
No auth
License
License unknown
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from mindstone

Cite this page

Google Analytics 4 MCP server. Agent Mart. https://agentmart.dev/connectors/mindstone-mcp-server-google-analytics (last updated 2026-10-24)