Skip to content
Agentmart
Submit a tool

Google Analytics 4

Manage GA4 properties, data streams, conversions, and run reports via Admin & Data APIs.

Connector by stucchi · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)
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/stucchi-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

Manage GA4 properties, data streams, conversions, and run reports via Admin & Data APIs.

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
12 read · 6 write · 3 delete · 2 not yet classified
Secrets
1 (API keys, tokens or passwords)
Install scripts
Not scanned yet
Runs as
Python package

Tools by what they do 23

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

Read 12 · Look things up without changing anything.

  • check_auth_status
  • get_measurement_protocol_secret
  • get_metadata
  • get_property
  • get_tracking_snippet
  • list_accounts
  • list_custom_dimensions
  • list_custom_metrics
  • list_data_streams
  • list_google_ads_links
  • list_key_events
  • list_properties

Write 6 · Create, change, send or run things.

  • create_custom_dimension
  • create_custom_metric
  • create_google_ads_link
  • create_key_event
  • create_property
  • create_web_data_stream

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

  • delete_data_stream
  • delete_key_event
  • delete_property

Not yet classified 2 · We could not tell from the name and description.

  • run_realtime_report
  • run_report

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • GA_CREDENTIALS

Other settings (environment variables or headers).

  • GA_CREDENTIALS_PATH

Tools (23)

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

  • check_auth_status

    Check if the Google Analytics service account is configured and valid.

  • create_custom_dimension

    Create a custom dimension.

  • create_custom_metric

    Create a custom metric.

  • create_google_ads_link

    Link a Google Ads account to a GA4 property.

  • create_key_event

    Mark an event as a key event (conversion).

  • create_property

    Create a new GA4 property.

  • create_web_data_stream

    Create a web data stream and get the Measurement ID (G-XXXXX).

  • delete_data_stream

    Delete a data stream.

  • delete_key_event

    Remove an event from key events (conversions).

  • delete_property

    Soft-delete a GA4 property (can be restored within 35 days).

  • get_measurement_protocol_secret

    Get or create a Measurement Protocol API secret for server-side event tracking.

  • get_metadata

    List all available dimensions and metrics for a GA4 property. Useful to discover which dimension/metric names you can use in run_report.

  • get_property

    Get details of a GA4 property.

  • get_tracking_snippet

    Generate the gtag.js HTML tracking snippet ready to paste into your website.

  • list_accounts

    List all Google Analytics accounts accessible by the authenticated user.

Show 8 more tools
  • list_custom_dimensions

    List custom dimensions for a property.

  • list_custom_metrics

    List custom metrics for a property.

  • list_data_streams

    List all data streams for a GA4 property.

  • list_google_ads_links

    List Google Ads links for a property.

  • list_key_events

    List key events (conversions) configured for a property.

  • list_properties

    List all GA4 properties for an account.

  • run_realtime_report

    Run a real-time report showing active users and live events.

  • run_report

    Run a GA4 report with dimensions, metrics, date range, and optional filters.

Signals

Stars
0
Forks
0
Open issues
0
Weekly downloads
36
Last commit
Mar 1, 2026 (8 months ago)
Last release
Mar 1, 2026 (8 months ago)
Last package publish
Mar 1, 2026 (8 months ago)

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

Details

Registry name
io.github.stucchi/google-analytics
Version
0.1.1
Auth
No auth
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from stucchi

Cite this page

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