Google Analytics MCP

Hosted Google Analytics (GA4) and Tag Manager MCP server

Keystone is a hosted Google Analytics MCP server for Claude, ChatGPT or Grok Bot (and any AI app that supports MCP) with nothing to install locally. Run GA4 reports, check realtime traffic, mark key events and publish Google Tag Manager versions from chat, at $19 a month solo or $79 total for agencies.

https://keystonecloud.ai/mcp
  • Claude
  • ChatGPT
  • Grok Bot
  • Cursor
  • Codex

Claude

Find the landing page that dropped, fix its form trigger and publish.

  1. GA4Conversions on /book down 31%
  2. Tag ManagerMissing form trigger and event tag created
  3. Tag ManagerContainer version 14 published

Analytics and tracking jobs your AI completes end to end

An MCP server (Model Context Protocol) lets your AI move past reading charts and fix the tracking problem it finds. In Keystone, GA4 and Google Tag Manager sit together inside each workspace alongside Google Ads and your client portal.

"Compare landing page conversions in GA4 for Northside Physical Therapy over the last 30 days versus the prior 30 days, check Tag Manager for broken form triggers on any page that dropped, create the missing formSubmission trigger and GA4 event tag, and publish the new container version."

"Mark appointment_booked as a key event in Pine Street Vet's GA4 property, confirm realtime events are firing right now, and write this month's performance recap."

Claude, ChatGPT or Grok Bot diagnoses the drop, repairs the Tag Manager setup and verifies live hits in GA4 realtime. See how Keystone connects across tools on Keystone.

ChatGPT

Mark appointment_booked as a key event and check it is firing.

  1. Key eventappointment_booked marked
  2. Realtime12 bookings in the last 30 minutes
  3. Monthly recapWritten for Pine Street Vet

18 native GA4 and Tag Manager tools

Keystone runs native tools for both Google Analytics 4 and Google Tag Manager inside the same link, covering reports, realtime checks, metadata, data streams, key events, tags, triggers, variables, container versions and publishing.

All 18 Google Analytics toolsRead and report 11 · Create 6 · Change 1

Read and report

  • List data streamsga4_list_data_streams
  • List Measurement Protocol secretsga4_list_measurement_protocol_secrets
  • List GA4 propertiesga4_list_properties
  • Available dimensions and metricsga4_metadata
  • Realtime usersga4_realtime
  • Run any GA4 reportga4_run_report
  • List Tag Manager containersgtm_list_containers
  • List tagsgtm_list_tags
  • List triggersgtm_list_triggers
  • List variablesgtm_list_variables
  • List Tag Manager workspacesgtm_list_workspaces

Create

  • Mark a key eventga4_create_key_event
  • Create a Measurement Protocol secretga4_create_measurement_protocol_secret
  • Create a taggtm_create_tag
  • Create a triggergtm_create_trigger
  • Create a variablegtm_create_variable
  • Save a container versiongtm_create_version

Change

  • Publish a container versiongtm_publish_version

Hosted link with zero local install

Google's open-source GA4 MCP server requires Python, a Google Cloud project, Analytics access configured in Google Cloud, a local credentials file and a terminal process running on your machine. It also stops at read-only queries.

Keystone hosts the entire MCP server for you at https://keystonecloud.ai/mcp. You never touch Python packages, service-account JSON files or local port configs. Paste the link into Claude, ChatGPT or Grok Bot, sign in once, and you get hosted GA4 reporting plus write tools for key events and Google Tag Manager on desktop, web and mobile.

Grant GA4 and Tag Manager access per workspace

Each business or client property binds cleanly to its own Keystone workspace so an agency never mixes analytics across clients.

  1. Open the workspace in Keystone and connect Google Analytics 4 and Google Tag Manager (or send the client your branded onboarding page).
  2. Approve access to the specific GA4 property and Tag Manager container for that business.
  3. Add https://keystonecloud.ai/mcp to your AI app with the Connect your AI steps and start running reports or publishing tags.

Every tool call carries zero per-action fees on Personal ($19 a month) and Agency ($79 a month total), with a 300-call-per-minute ceiling against runaway loops. See pricing for full details.

Questions

Is this Google's official GA4 MCP server?

No. Google released a local, read-only open-source GA4 MCP server that you install and run on your own computer. Keystone is a hosted MCP server that adds GA4 write tools (key events, Measurement Protocol secrets) and Google Tag Manager tag creation and publishing, alongside Google Ads, Meta Ads and 1,700+ other apps.

Do I need to install Python, Node or a Google Cloud project?

No. Everything runs hosted at https://keystonecloud.ai/mcp. You add the link in your AI app's connector settings, sign in to Keystone and connect your GA4 property without touching a terminal or a Google Cloud console.

Can my AI edit and publish Google Tag Manager containers?

Yes. Keystone includes native Tag Manager tools to list containers, workspaces, tags, triggers and variables (gtm_list_*), create new tags, triggers and variables (gtm_create_*), create a container version (gtm_create_version) and publish it (gtm_publish_version).

Does GA4 MCP work in ChatGPT and Grok Bot as well as Claude?

Yes. Because Keystone runs as a hosted remote MCP server over streamable HTTP, the same link works in Claude, ChatGPT, Grok Bot, Cursor, Codex, Claude Code, T3 Code and any other AI client that supports MCP.

Start 14 days free

Start free trial