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
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.
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
- 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_statusget_measurement_protocol_secretget_metadataget_propertyget_tracking_snippetlist_accountslist_custom_dimensionslist_custom_metricslist_data_streamslist_google_ads_linkslist_key_eventslist_properties
Write 6 · Create, change, send or run things.
create_custom_dimensioncreate_custom_metriccreate_google_ads_linkcreate_key_eventcreate_propertycreate_web_data_stream
Delete 3 · Delete, drop, revoke or wipe things.
delete_data_streamdelete_key_eventdelete_property
Not yet classified 2 · We could not tell from the name and description.
run_realtime_reportrun_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_statusCheck if the Google Analytics service account is configured and valid.
create_custom_dimensionCreate a custom dimension.
create_custom_metricCreate a custom metric.
create_google_ads_linkLink a Google Ads account to a GA4 property.
create_key_eventMark an event as a key event (conversion).
create_propertyCreate a new GA4 property.
create_web_data_streamCreate a web data stream and get the Measurement ID (G-XXXXX).
delete_data_streamDelete a data stream.
delete_key_eventRemove an event from key events (conversions).
delete_propertySoft-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. Useful to discover which dimension/metric names you can use in run_report.
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.
Show 8 more tools
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_reportRun a real-time report showing active users and live events.
run_reportRun 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
- Packages
- pypi google-analytics-4-mcp
- License
- MIT
- Repository
- github.com/stucchi/mcp-google-analytics
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
More from stucchi
- 0.513score

MCP Advisor
stucchi
Browse, search, and discover MCP servers from your AI assistant
ConnectorCFreshness: CLocal↓ 61/wkClaude Code +5 - 0.476score

DB MCP Server
stucchi
Database MCP server for MySQL, PostgreSQL, MongoDB, and SQLite with SSH tunneling support.
ConnectorDFreshness: DLocal★ 2↓ 109/wkClaude Code +5 - 0.454score

Trello MCP Server
stucchi
MCP server for the Trello REST API – manage boards, lists, cards, labels, checklists and more
ConnectorDFreshness: DLocal★ 2↓ 49/wkClaude Code +5 - 0.452score

Italy OpenData
stucchi
Italian open data: municipalities, provinces, regions, postal codes, coordinates.
ConnectorDFreshness: DLocal★ 1↓ 40/wkClaude Code +5 - 0.447score

Domain Check
stucchi
Check domain availability across 500+ TLDs.
ConnectorDFreshness: DLocalRead-only↓ 60/wkClaude Code +5 - 0.428score

Nexi XPay
stucchi
MCP server for Nexi XPay Back Office APIs: orders, transactions, warnings.
ConnectorDFreshness: DLocal↓ 41/wkClaude Code +5
Cite this page
Google Analytics 4 MCP server. Agent Mart. https://agentmart.dev/connectors/stucchi-google-analytics (last updated 2026-10-24)