Skip to content

Google Analytics 4

Google Analytics MCP server

Get MCP Ads is a hosted Google Analytics 4 MCP server, read only. Add one URL to Claude, ChatGPT or another assistant, sign in with Google and tick the GA4 properties to share; your assistant runs reports, funnels and realtime queries, and cannot change anything in GA4.

Start for free

Free with 1 ad account, no card. Pro is free for 7 days. Facts verified on October 24, 2026.

Connection

Connect Google Analytics to Claude and ChatGPT

Add the GA4 URL to your assistant, sign in with Google and allow read access to Analytics, then tick the properties to share. Connecting GA4 never asks again for your Google Ads access.

In Claude

  1. Settings, then Connectors, then Add custom connector.
  2. Paste the URL into the connector dialog and save.
  3. Claude opens a browser tab to authorise Get MCP Ads.
  4. Approve once. The connection stays until you revoke it.

In ChatGPT

  1. Turn on Developer mode in Settings, Security and login.
  2. In chatgpt.com/plugins, select the plus button and paste the URL with OAuth.
  3. Open the Ads cockpit from the sidebar, or ask in any conversation.

In Cursor, Claude Code and Codex

The same URL works there. For a session on Google Analytics 4 only, its own URL keeps the list of tools short:

Terminal
claude mcp add --transport http ga4 https://mcp.getmcpads.com/ga4/mcp

Setup guides: Claude, ChatGPT, Claude Code, Codex, Cursor, Muse, Hermes, OpenClaw, Gemini.

  1. 1

    Sign in with Google

  2. 2

    Tick the properties to share

    • Form RunningAnalytics account
    • Form Running web312004871
    • Form Running app312004902
    • Oakline HomeAnalytics account
    • Oakline Home web298114560
  3. 3

    Add the URL to your assistant

    https://mcp.getmcpads.com/ga4/mcp

Capabilities

What your assistant can do in GA4

It runs Google Analytics 4 reports on the properties you tick, from a channel table to a funnel by device, and checks how purchases and events are tracked.

Reports, pivots and funnels

Sessions, key events, purchases and revenue by channel, source, campaign, landing page, device and country, with pivot reports and funnels: 51 metrics and 62 dimensions.

Realtime

Who is on the site right now, by device or country, from the realtime report.

E-commerce, server-side and BigQuery checks

Whether view_item, add_to_cart, begin_checkout and purchase fire with revenue, how server-side tagging is set up, and what the BigQuery export covers.

Read only by design

Get MCP Ads asks Google for the analytics.readonly scope only, and has no tool that writes to GA4.

  • Reads
  • Changes with a preview
  • Created paused
  • Launcher
  • Alerts
  • Google Sheets

Views in Claude and ChatGPT

  • Ads cockpitEvery planThe account’s indicators and their change, beside your other platforms.
  • Acquisition reviewEnterpriseThe account beside your other sources over a period, against the period before.
  • Landing page reviewEnterpriseEach landing page with the traffic and results this source reads for it.

Hosted server: 27 tools, all of them read. Tool catalog updated October 16, 2026.Tool reference

Measurement

GA4 beside your ad platforms

The same URL reaches Meta, Google Ads, TikTok and the other ad platforms, so one request can set what an ad platform reports beside what GA4 records. Each source keeps its own attribution, and the two are never added up.

  • Compare GA4 purchases with Meta purchases by day for last week, and flag the days that differ by more than 20%.
  • Which landing pages from paid social bring sessions but no purchases?
  • Search Console on the same URL adds the organic clicks of the same pages.

Requests

Requests that work

Real requests and the tools that answer them. Nothing here writes to Google Analytics.

  • Sessions, purchases and purchase revenue by default channel group for October, against September.ga4_run_report
  • Which landing pages from paid social bring sessions this month but no purchases?ga4_run_report
  • Are view_item, add_to_cart, begin_checkout and purchase all firing with revenue on the store property?ga4_get_ecommerce_diagnostics · ga4_get_key_events
  • Show the view_item to purchase funnel for the last 30 days, split by device.ga4_run_advanced_funnel_report
  • How many people are on the site right now, by device?ga4_run_realtime_report
  • Is our BigQuery export covering every stream, and which events are excluded?ga4_get_bigquery_export_diagnostics
Acquisition review in ChatGPT on a phone, Google Analytics 4 opened: 56,150 sessions for August 24 to 30, 2026, against 51,960 the week before, up 8.06%.
The acquisition review with Google Analytics 4 opened, in ChatGPT on a phone. Sample data.

Google’s own server

Google’s Analytics MCP server and Get MCP Ads

Google publishes an experimental Google Analytics MCP server, open source, that runs on your own machine. Get MCP Ads is hosted: you sign in with Google instead of installing it, and GA4 sits beside your ad platforms.

The best Google Analytics MCP servers, ranked

Google’s Analytics MCP serverGet MCP Ads
Where it runsOn your machine (pipx), marked experimentalHosted at mcp.getmcpads.com
SetupPython and your own Google Cloud credentialsGoogle sign-in, then tick the properties
WritesReads, and creates property annotations behind a write flagNone: read only
Other sourcesGoogle Analytics onlyGA4 beside the other 15 platforms
License and priceApache 2.0, no chargeFree on 1 account, Pro from $39 a month
Source: the googleanalytics/google-analytics-mcp repository, checked October 24, 2026.

Limits

Limits

What the GA4 server does not do, said plainly.

  • Reports where GA4 applies thresholds, sampling or an (other) row are marked partial, never passed off as complete.
  • Up to 9 dimensions and 10 metrics per report; realtime reports take a smaller set of fields.
  • Google’s quotas apply: 40,000 tokens an hour per property and 10 requests at a time.
  • No alerts on GA4, and nothing is ever written to it.

Open source

Open source Google Analytics MCP server

Run it on your machine with your own Google OAuth client, in Claude Desktop, Claude Code, Cursor and other local MCP clients. The same read tools as the hosted server, limited to the property IDs you list.

npx -y @getmcpads/google-analytics-mcp-server
License
Apache 2.0
Runs on
Your machine, stdio
View on GitHub

Google Analytics MCP: questions

  • Yes. Google publishes an experimental, open-source Google Analytics MCP server that you run on your own machine. Get MCP Ads is a hosted one, read only, with GA4 beside your ad platforms.
  • Get MCP Ads includes GA4 on every plan, Free included: 1 account and 200 requests a month, no card. The open-source servers, Google’s and ours, are free to run yourself.
  • No. It asks Google for read access only, auth/analytics.readonly, and has no tool that writes.
  • Yes. The same URL works in Cursor, ChatGPT, Claude and other MCP clients. The views open inside Claude and ChatGPT.
  • No. You sign in with Google and tick the properties. Nothing to install.
  • Every plan includes Google Analytics 4, read only on all of them. Free covers 1 account across all platforms, a property counting as one, with 200 requests a month.

Google Analytics 4 from your AI assistant

Start for free

Free with 1 ad account, no card. Pro is free for 7 days.