Google Analytics (unofficial)

com.safe-mcpPublished by safe-mcp.comOfficial publisherv1.0.0Updated Oct 24, 2026

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

VerifiedStreamable HTTPWeb executableData & AnalyticsBusiness & Commerce

Overview

AI-generated overview

Unofficial remote MCP server that lets an assistant query GA4, Google Search Console and Bing Webmaster data in plain English for reports and funnels.

What you can do
List connected and missing GA4 properties, streams, Search Console and Bing Webmaster sites, and current surface mappings, and inspect or update persisted selectors for a website or app analysis surface (marketing_get_sources, marketing_manage_surface). Discover the canonical marketing reporting graph, available sources, supported metrics and dimensions, and which connectors are live (marketing_get_catalog). Run reports for totals, trends and dimension breakdowns across GA4 web and app analytics, Search Console and Bing Webmaster (marketing_get_report). Analyze ordered conversion-step funnels and cross-source landing-page funnels with drop-off between steps (marketing_get_funnel).
When to use it
Useful when you want marketing or traffic reporting from GA4, Search Console and Bing Webmaster without writing queries, including last-30-days summaries, revenue, sessions and conversion funnels. Check sources first when property or site selectors are unknown.
Requirements
A remote streamable HTTP endpoint at api.safe-mcp.com; no packages, environment variables or headers are declared. It works with connected GA4 properties, Google Search Console sites and Bing Webmaster sites, so those accounts must already be linked to the service.
Before you install
The server is unofficial and declares no authentication, so consider what analytics data it can reach and who operates the endpoint. marketing_manage_surface with action='update' persists changed selectors, altering later analysis mappings. Reports expose traffic, revenue and conversion data from connected properties.

Installation

In SourceWeft

  1. Open Google Analytics (unofficial) in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/com.safe-mcp%2Fgoogle-analytics-unofficial/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "google-analytics-unofficial": {
      "type": "http",
      "url": "https://api.safe-mcp.com/mcp"
    }
  }
}

Tools

5

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.

ParameterssourcessurfaceId

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.

Parameterssource

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.

ParametersappsitelimitoffsetsourcemaxRowsmetricsrequiredsiteUrlsourcesorderByspageSizeproperty+15 more

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.

ParametersapptyperequiredlimitfunnelpropertysurfaceIddateRangesrequiredpropertyIdappStreamIdbingSiteUrlga4PropertyIdfunnelBreakdown+4 more

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.

ParametersnameactionrequiredselectorssurfaceIdmainDomainselectorSets

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.

Other Safe-Mcp integrations