Whathead
  • Builder
  • MCP server
  • Transfer
  • Guardrails
  • Pricing
  • Blog
  • Docs
Log inSign up free
  1. Home
  2. MCP server
  3. GA4 MCP (Google Analytics MCP)
GA4 MCP (Google Analytics MCP)

GA4 MCP server for reports and property setup

Whathead's GA4 MCP server lets Claude, ChatGPT and Cursor run Google Analytics 4 reports (standard, batch, pivot, funnel and realtime), create async report tasks and audience exports, and change property setup through the Admin API: key events, custom dimensions and metrics, Google Ads links and data streams. Changes are previewed first. It is hosted, so there is nothing to install.

Updated 18 Nov 2026
Start a 14-day trialSee pricing
Operations
11 GA4 operations
Reports
Standard, batch, pivot, funnel, realtime
Admin writes
Key events, custom dimensions and metrics, Ads links, data streams
Hosting
Hosted, Google sign-in
Price
From $39/month, 14-day trial
On this page
What you can read and change in GA4Whathead vs Google's official Analytics MCPWhen Google's server is enoughSet up the GA4 MCPGA4 prompts to trySafety and plan limitsFAQRelated

What you can read and change in GA4

AreaReadChange
ReportsrunReport with paging and caching; batch, pivot, funnel and realtime reports; quota snapshotn/a
MetadataDimensions and metrics, compatibility checks before a reportn/a
Large jobsAsync report tasks and their resultsCreate report tasks
AudiencesAudience exports and their rowsCreate audience exports
Key eventsList and get key eventsCreate, update or delete, for example marking generate_lead as a key event
Custom definitionsCustom dimensions and metricsCreate, update or archive
Links and streamsGoogle Ads links, data streamsCreate, update or delete

Whathead vs Google's official Analytics MCP

Google details from the googleanalytics/google-analytics-mcp README, checked 18 Nov 2026.
googleanalytics/google-analytics-mcpWhathead
HostingYou run it with pipx or Docker, or deploy it to Cloud RunHosted at www.whathead.com/mcp
Reads10 tools: account summaries, property details, reports, funnels, realtime, key eventsReports, funnels, realtime, pivots, metadata, async tasks, audience exports
Writes3 opt-in tools with --allow-write: annotations, custom dimensions, key eventsKey events, custom dimensions and metrics, Ads links, data streams
PriceFree; you pay for hostingFrom $39/month
Other dataGA4 onlySearch Console and 12 ad platforms in the same chat

When Google's server is enough

If you only need GA4 reports and are comfortable running a server, Google's free open-source one is a good choice, and it can create property annotations, which Whathead cannot. Whathead fits when you want a hosted server, more Admin API coverage, or GA4 next to Meta, TikTok and Search Console in one conversation, for example to compare ad-platform conversions with GA4 key events.

  • GA4 changes need a connection that granted the analytics.edit scope. Connections made before Whathead added Admin writes must reconnect once.
  • Custom dimensions and metrics can only be archived, not deleted, and they are not retroactive.
  • Audience exports can include user-level data, so ask for summaries rather than raw rows.

Set up the GA4 MCP

  1. Connect GA4 in Whathead

    In Integrations, sign in with Google, then sync properties so the assistant can see them.

  2. Add Whathead to your assistant

    Claude: Settings, Connectors, custom connector, https://www.whathead.com/mcp. ChatGPT: a developer-mode connector with that URL. Cursor: the URL plus a bearer token minted in Whathead.

  3. Run a test report

    Ask the assistant to list your GA4 properties, then run a 7-day sessions report on one before any Admin change.

GA4 prompts to try

  • Show sessions, engaged sessions and key events by source and medium for the last 28 days.

  • Build a funnel from landing page to add_to_cart to purchase for last month.

  • How many users are on the site right now, and on which pages?

  • Compare GA4 purchases with Meta-reported purchases by day for the last 14 days.

  • Mark generate_lead as a key event counted once per event. Show the preview first.

  • Register lead_type and form_id as event-scoped custom dimensions.

  • List the Google Ads accounts linked to this property.

  • Check whether itemCategory and sessionSource can be used in the same report.

Safety and plan limits

Admin changes default to dry_run: true and need the write:exports scope, so a read-only connector cannot change property setup. Report calls never modify data.

GA4 sits in the same monthly allowance as your ad platforms: MCP Actions ($39) with 1,500 reads and 100 writes, Operator Bundle ($65) with 4,000 and 250, Agency ($249) with 15,000 and 750. All plans start with a 14-day trial.

Frequently asked questions

Is there an official Google Analytics MCP?

Yes. Google publishes googleanalytics/google-analytics-mcp, an open-source server you host. Its write tools are off unless you pass --allow-write.

Is a GA4 MCP the same as a Google Analytics MCP?

Yes. Universal Analytics was retired, so both terms refer to Google Analytics 4 and its Data and Admin APIs.

Can it change GA4 settings?

Yes, for key events, custom dimensions and metrics, Google Ads links and data streams. Other settings, such as data retention or filters, are changed in the GA4 interface.

Why does a GA4 change return a reconnect error?

Your GA4 connection only has read access. Reconnect GA4 in Whathead once to grant the analytics.edit scope, then retry.

Related

  • Connect Claude to GA4 and Search Console
  • Google Search Console MCP
  • Meta Ads MCP
  • Supermetrics alternative
  • All platforms on the MCP server
  • Pricing

Run it from one workspace

Every plan starts with a 14-day free trial. Only successful live work is metered.

Start a 14-day trialCompare plans

Sources

  1. googleanalytics/google-analytics-mcp on GitHub (github.com)
Whathead© 2026 Whathead. Multi-platform ad operations and an Ads MCP server.
Product
PricingMCP serverMeta Ads MCPGoogle Ads MCPCross-platform transferAd anomaly detectionServer-side trackingGoogle Sheets add-onLooker Studio connector
Compare
Supermetrics alternativePipeboard alternativeRyze AI alternativeWhathead vs Meta’s official MCP
Resources
BlogDocsAboutSupportContact
Legal
Terms of ServicePrivacy PolicyRefundsSecurity & DataLog in