# Google Analytics (unofficial) MCP server

Connect Google Analytics to ChatGPT. Query GA4 data in plain English and get instant insights.

## Links
- Registry page: https://www.getdrio.com/mcp/com-safe-mcp-google-analytics-unofficial
- Website: https://safe-mcp.com

## Install
- Endpoint: https://api.safe-mcp.com/mcp
- Auth: Not captured

## Setup notes
- Remote endpoint: https://api.safe-mcp.com/mcp

## Tools
- marketing_get_sources (Discover marketing data sources) - 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 selectors are unknown. Endpoint: https://api.safe-mcp.com/mcp
- marketing_get_catalog (List supported marketing reporting sources, metrics, and dimensions) - 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 list are accepted (GA4 accepts any native dimension/metric; Search Console accepts any native dimension; Bing is limited to the curated fields). Do not use this for GA4 account discovery or data retrieval. Endpoint: https://api.safe-mcp.com/mcp
- marketing_get_report (Get holistic marketing report data) - 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, engagement/time-on-page (average_session_duration, user_engagement_duration), and period-over-period comparisons. Drill deep: GA4 supports up to 9 grouped dimensions (date/hour, geo, device/browser/OS, source/medium/channel, landing_page/page_path, etc.). Defaults to all mapped connected sources merged into one standardized view, aligned on the shared grain (typically landing_page) so a page row blends GA4 sessions+engagement with Search Console/Bing clicks/impressions/CTR/position; per-source detail (e.g. full query lists) stays in sourceSections. Note GA4 has no `query` dimension and Search Console/Bing have no sessions/engagement, so those cannot share one row — query is a Search Console/Bing breakdown. Narrow with sources or sourceMode='single'. Any GA4 dimension/metric name not in the catalog is passed through to the GA4 API automatically; metricMode='source_native' forces a pure GA4-native report. Pass one date range for a single window or two date ranges for period-over-period comparison. Endpoint: https://api.safe-mcp.com/mcp
- marketing_get_funnel (Get marketing funnel data) - 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 landing on the site to adding to cart to purchasing), conversion paths, and acquisition-to-conversion context. Pass one date range for a single window or two date ranges for period-over-period comparison. Endpoint: https://api.safe-mcp.com/mcp
- marketing_manage_surface (Get or update analysis surface mappings) - 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. Endpoint: https://api.safe-mcp.com/mcp

## Resources
- ui://widget/ga4-chart.html - Non-interactive chart widget for GA4 report visualizations. MIME type: text/html;profile=mcp-app

## Prompts
Not captured

## Metadata
- Owner: com.safe-mcp
- Version: 1.0.0
- Runtime: Streamable Http
- Transports: HTTP
- License: Not captured
- Language: Not captured
- Stars: Not captured
- Updated: Feb 7, 2026
- Source: https://registry.modelcontextprotocol.io
