safe-mcp avatar

Google Analytics (unofficial)

com.safe-mcp/google-analytics-unofficial

This is an unofficial Google Analytics connector that lets you query GA4 data through ChatGPT or Claude using plain English prompts. It exposes read-only access to your analytics properties for things like executive summaries, campaign ROAS comparisons, landing page performance audits, funnel drop-off analysis, and statistical significance checks. The provider built this because the official Google Analytics MCP doesn't work with ChatGPT and has token efficiency issues. It's hosted in Germany with GDPR compliance, uses OAuth with read-only scopes, and processes queries in real-time without storing report data. You'd reach for this if you're a marketer or agency running regular analytics reviews and want AI-generated insights without switching contexts or writing custom scripts.

tools
5
transport
HTTP
last updated
Feb 7, 2026

Install

From registry metadata
$ npx add-mcp https://api.safe-mcp.com/mcp --name google-analytics-unofficial

Run in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http google-analytics-unofficial https://api.safe-mcp.com/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 5 tools

Verified live against the running server on Nov 6, 2026.

marketing_get_sourcesLists connected and missing GA4, Google Analytics properties, property IDs, web streams, app streams, measurement IDs, Firebase app IDs, Google Search Console sites, Bing Webmaster sites, and current analysis surface mappings. Use this before reporting when property/site selec...2 params

Lists connected and missing GA4, Google Analytics properties, property IDs, web streams, app streams, measurement IDs, Firebase app IDs, Google Search Console sites, Bing Webmaster sites, and current analysis surface mappings. Use this before reporting when property/site selec...

Parameters* required
sourcesarray
surfaceIdstring
default: default
marketing_get_catalogUse this when the user wants to discover the canonical marketing reporting graph, available sources, supported metrics, supported dimensions, or which connectors are live today. Each source also reports a `passthrough` field describing whether native fields beyond the curated...1 params

Use this when the user wants to discover the canonical marketing reporting graph, available sources, supported metrics, supported dimensions, or which connectors are live today. Each source also reports a `passthrough` field describing whether native fields beyond the curated...

Parameters* required
sourcestring
marketing_get_reportPrimary reporting tool for a given GA4 property or site. Use for totals, trends, and breakdowns by dimension across GA4 website traffic and app analytics, Google Search Console site traffic, and Bing Webmaster — including last-30-days summaries, revenue, leads, sessions, users...27 params

Primary reporting tool for a given GA4 property or site. Use for totals, trends, and breakdowns by dimension across GA4 website traffic and app analytics, Google Search Console site traffic, and Bing Webmaster — including last-30-days summaries, revenue, leads, sessions, users...

Parameters* required
appobject
Optional app or web stream selector. Use this when the user identifies the GA4 source by stream ID, measurement ID, Firebase app ID, or stream name.
appStreamIdstring
GA4 app or web data stream ID when the request targets a specific app stream or website stream.
dateRanges*array
One or more GA4 date ranges. Use two date ranges for period-over-period comparisons or significance checks.
dimensionFilterExpressionobject
dimensionFiltersarray
dimensionsarray
Optional GA4 dimensions such as date, country, deviceCategory, landingPagePlusQueryString, or dateRange. Omit entirely for aggregate totals (renders as KPI widget). Only include when the user asks...
keepEmptyRowsboolean
limitinteger
default: 1000
maxRowsinteger
metricFilterExpressionvalue
metricFiltersarray
metricModestring
one of canonical · source_nativedefault: canonical
metrics*array
GA4 metric API names such as sessions, activeUsers, conversions, eventCount, totalRevenue, or engagedSessions. Include explicit numerator and denominator metrics when requesting significance context.
offsetinteger
orderBysarray
Optional sort order. Each entry requires fieldName (a GA4 API name like sessions or date) and optional desc (true for descending). Example: [{ fieldName: "sessions", desc: true }].
pageSizeinteger
propertyvalue
Google Analytics property identifier. Accepts a numeric GA4 property ID like 481373915 or a resource name like properties/481373915.
propertyIdvalue
Numeric Google Analytics 4 property ID for website analytics or app analytics. Use this when the user references a GA4 property directly.
returnAllRowsboolean
significanceobject
Optional significance context for GA4 rate comparisons. Use this only when the user asks whether a change is statistically significant or meaningful.

+7 more parameters. See the server's own documentation for the full schema.

marketing_get_funnelUse for ordered conversion-step analysis: GA4 ordered_steps step funnels (e.g. session_start → add_to_cart → purchase) and cross-source holistic_bundle landing-page funnels joining GA4, Google Search Console, and Bing Webmaster. Covers funnel drop-off between steps (e.g. from...16 params

Use for ordered conversion-step analysis: GA4 ordered_steps step funnels (e.g. session_start → add_to_cart → purchase) and cross-source holistic_bundle landing-page funnels joining GA4, Google Search Console, and Bing Webmaster. Covers funnel drop-off between steps (e.g. from...

Parameters* required
appobject
Optional app or web stream selector. Use this when the user identifies the GA4 source by stream ID, measurement ID, Firebase app ID, or stream name.
appStreamIdstring
Optional data stream ID when the funnel should run against a specific app or website stream.
bingSiteUrlstring
dateRanges*array
One or more GA4 date ranges. Use two date ranges for period-over-period comparisons or significance checks.
funnelobject
Multi-step funnel definition. Use this only for ordered step analysis, not for general website analytics reporting.
funnelBreakdownobject
funnelNextActionobject
funnelVisualizationTypestring
one of FUNNEL_VISUALIZATION_TYPE_UNSPECIFIED · STANDARD_FUNNEL · TRENDED_FUNNEL
ga4PropertyIdvalue
Google Analytics property identifier. Accepts a numeric GA4 property ID like 481373915 or a resource name like properties/481373915.
limitinteger
default: 50
propertyvalue
Google Analytics property identifier. Accepts a numeric GA4 property ID like 481373915 or a resource name like properties/481373915.
propertyIdvalue
Numeric GA4 property ID for the funnel report.
returnPropertyQuotaboolean
searchConsoleSiteUrlstring
surfaceIdstring
default: default
type*string
one of holistic_bundle · ordered_steps
marketing_manage_surfaceGets or updates persisted selectors for a website/app analysis surface. Use action='get' to inspect mappings and action='update' to persist GA4, Search Console, or Bing Webmaster selectors.6 params

Gets or updates persisted selectors for a website/app analysis surface. Use action='get' to inspect mappings and action='update' to persist GA4, Search Console, or Bing Webmaster selectors.

Parameters* required
action*string
one of get · update
mainDomainvalue
namestring
selectorSetsobject
selectorsobject
surfaceIdstring
default: default

Sponsors

Details

Website
safe-mcp.com
Categories
Monitoring & Observability, Data & Analytics
Transport
HTTP
Registry
MCP registry, active
Resources
1
Tools verified
Nov 6, 2026

Related Monitoring & Observability MCP servers

View all
1csoai-org avatarMarketing Analytics Ai Mcpcsoai-org/marketing-analytics-ai-mcpMarketing Analytics Ai MCP Server by MEOK AI Labs0stars
2danielctc avatarCtc Monitor Mcpdanielctc/ctc-monitor-mcpGlobal tech news from 500+ sources — China, SEA, India, MENA, Africa, LatAm, Europe.0stars
3friendlygeorge avatarSentry Mcp Serverfriendlygeorge/sentry-mcp-serverMCP server for Sentry — error tracking, issues, releases, events, and projects for AI assistants.0stars
4conv-ai avatarConvai Analyticsconv-ai/convai-analyticsAnalyze Convai sessions, latency, reliability, usage, and provider telemetry via API key.0stars
5dailyaiagents-cpu avatarSkill Coverage Monitordailyaiagents-cpu/dailyai-osWalks every skill directory in skills/ and ~/.openclaw/skills/, validates each has SOUL.md (voice...0stars
6dizzyvinci avatarShopify Catalog Monitordizzyvinci/apify-foundryTrack price drops, stock-outs, restocks, and new/removed products across Shopify stores.0stars