---
title: "Google Analytics MCP (GA4) for Claude, ChatGPT and Grok | Keystone"
description: "A hosted GA4 MCP server with no local install. Claude, ChatGPT or Grok run reports, read realtime data, create key events and publish Tag Manager changes."
url: https://keystonecloud.ai/integrations/google-analytics-mcp
---

[Home](https://keystonecloud.ai/) [Apps](https://keystonecloud.ai/apps) Google Analytics MCP

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.

[Start free trial](https://keystonecloud.ai/signin)[See pricing](https://keystonecloud.ai/pricing)

`https://keystonecloud.ai/mcp`

- Claude
- ChatGPT
- Grok Bot
- Cursor
- Codex

Claude

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

1. **GA4** Conversions on /book down 31%
2. **Tag Manager** Missing form trigger and event tag created
3. **Tag Manager** Container 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](https://keystonecloud.ai/integrations/google-ads-mcp) 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](https://keystonecloud.ai/#how-it-works).

ChatGPT

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

1. **Key event** appointment_booked marked
2. **Realtime** 12 bookings in the last 30 minutes
3. **Monthly recap** Written 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 tools** Read and report 11 · Create 6 · Change 1**

### Read and report

- List data streams`ga4_list_data_streams`
- List Measurement Protocol secrets`ga4_list_measurement_protocol_secrets`
- List GA4 properties`ga4_list_properties`
- Available dimensions and metrics`ga4_metadata`
- Realtime users`ga4_realtime`
- Run any GA4 report`ga4_run_report`
- List Tag Manager containers`gtm_list_containers`
- List tags`gtm_list_tags`
- List triggers`gtm_list_triggers`
- List variables`gtm_list_variables`
- List Tag Manager workspaces`gtm_list_workspaces`

### Create

- Mark a key event`ga4_create_key_event`
- Create a Measurement Protocol secret`ga4_create_measurement_protocol_secret`
- Create a tag`gtm_create_tag`
- Create a trigger`gtm_create_trigger`
- Create a variable`gtm_create_variable`
- Save a container version`gtm_create_version`

### Change

- Publish a container version`gtm_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](https://keystonecloud.ai/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](https://keystonecloud.ai/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.

## Related pages

- [Google Ads MCP](https://keystonecloud.ai/integrations/google-ads-mcp)
- [Connect your AI](https://keystonecloud.ai/connect-your-ai)

## Start 14 days free

[Start free trial](https://keystonecloud.ai/signin)
