BLUENEXUS INTEGRATIONSCONNECTION GUIDE

Google Analytics Admin in Claude, ChatGPT and MCP: what each can do, and how to connect

Google publishes an open-source MCP server for Google Analytics. Besides reports, it reads your GA4 settings through the Admin API: which properties you can see, their key events, custom dimensions and metrics, and Google Ads links. It only reads by default. Turned on, three write tools can create custom dimensions, key events and annotations. Some settings, like data retention, aren't in it at all. This guide covers what it can do, what to watch, how to connect, and what changes when a team looks after many properties.

MCP (Model Context Protocol) is an open standard for plugging AI assistants into other apps. Claude and ChatGPT are a great fit for one person checking their own property. BlueNexus is for when settings are shared work.

ON YOUR OWN Claude

For an analyst who looks after GA4 settings and is comfortable in a terminal.

Read GA4 settingsProperties, key events, custom dimensions and Ads links
ChangesThree write tools, off unless you turn them on
SetupA Google Cloud project, Python and a config file
Who uses itJust you, with your own Google sign-in
ON YOUR OWN ChatGPT

For someone with a developer who can host the server.

Read GA4 settingsYes, once Google's server is hosted
ChangesThree write tools, off unless the host turns them on
SetupHost it in HTTP mode, then add it in Plugins
Who uses itJust you, in your own chats
WITH YOUR TEAM BlueNexus

For an agency or marketing team looking after many GA4 properties.

Read GA4 settingsAccounts, properties, streams, custom definitions, key events, Ads links and retention
ChangesEvery change after a person approves
SetupComing soon: add a connector and follow the steps
Who uses itYour team and your AI agents

What it can do, and what to watch

Google's Google Analytics MCP server reads accounts, properties, key events, custom definitions, Google Ads links and annotations. Google's setup page covers Claude Desktop, Claude Code and Cursor. Version 1.1, from November 2026, includes three write tools. They stay off unless it's started with --allow-write and the edit scope.

Three things are worth knowing:

  • Some settings aren't there. It has no tools for data retention, data streams, creating Google Ads links, archiving or user access. Check those in GA4's Admin.
  • Key events don't look back. Marking an event as a key event "doesn't change historic data", says Google's key events page. It counts from then on.
  • Slots are limited. A standard property has 50 event-scoped custom dimensions and 30 key events. Creating ones you don't need uses them up.

What Google's Google Analytics MCP server lets an AI do with settings

Find propertiesList the accounts and properties you can see, with each property's details.
Read the setupList key events, custom dimensions and metrics, Google Ads links and annotations.
Check with reportsRun reports, for example to see if a custom dimension still gets values.
Create, if you allow itCreate custom dimensions, key events and annotations, only when started with --allow-write.
Works with
Google's open-source server, run on your computer or your own serverClaude Desktop, Claude Code, Cursor and other MCP clientsYour own Google sign-in and GA4 role
Not in Google's server
  • Data retention settings
  • Data streams
  • Creating Google Ads links
  • Archiving, or managing user access

Connect Google Analytics Admin to Claude or ChatGPT

Both use your own Google account, and only see the properties you can.

Connect Google Analytics Admin to Claude

20 min

A good fit if you look after GA4 settings yourself.

  1. 1In a Google Cloud project, enable the Google Analytics Admin API and Data API. Your account needs at least Viewer access to the property.
  2. 2Install Python 3.10 or later and pipx, then sign in with gcloud auth application-default login and the read-only Analytics scope.
  3. 3Add the server to Claude Code with claude mcp add, or to Claude Desktop's config file, using the lines from Google's setup page.
  4. 4Ask which properties you can see, and which key events each one has.

To let it create custom dimensions or key events, start it with --allow-write and sign in with the edit scope. Google's README has the details. Leave it off for an audit.

Connect Google Analytics Admin to ChatGPT

1 hour

A good fit if a developer can host it for you.

  1. 1A developer hosts Google's server with --transport http and its built-in OAuth sign-in, for example on Cloud Run.
  2. 2In ChatGPT, open Plugins and add a custom MCP server with that address. On Business plans, only admins and owners can add one.
  3. 3Sign in with your Google account.
  4. 4Ask which custom dimensions a property has, and how close it is to the limit.

ChatGPT can't start a server on your computer, so Google's server has to be hosted. We didn't find a Google-made Google Analytics app in ChatGPT's Plugins in November 2026.

For developers

The Admin API has a v1beta and a v1alpha. v1beta covers accounts, properties, data streams, custom dimensions and metrics, key events, Google Ads links and data retention settings. User access, audiences, channel groups and annotations are in v1alpha. Its quotas are 1,200 requests a minute, 600 per user, and 600 writes a minute, 180 per user. Since June 2026, each property summary says whether your role can edit it (changelog).

Who can do what

  • Your role decides. GA4's roles go from Viewer to Administrator. Editor has "Full control of settings at the property level". Marking an existing event as a key event needs Editor or above, and creating a new event as a key event needs Marketer or above. Only an Administrator manages users.
  • Some things can't be undone. Archiving a custom dimension can't be undone, and explorations that use it stop loading. Do it by hand, after checking.
  • Google Ads needs two sides. Linking needs Editor in GA4 and admin access in Google Ads.
  • Your data. Settings and report data go to the AI app you use, and that app's settings apply.

When it doesn't work

  • Write tools don't show up. The server needs --allow-write and the edit scope, and you need the right role.
  • A new key event shows no data. Standard reports can take up to 24 hours, and past events aren't counted.
  • Can't create a custom dimension. The property may be at its limit. Google says to wait 48 hours after deleting dimensions before adding new ones.
  • Explorations only go back two months. Check the property's data retention in Admin. It's 2 or 14 months on standard properties.
  • No properties listed. Check your access and that both APIs are enabled in the Cloud project.

With a team: Google Analytics Admin in BlueNexus

In Claude or ChatGPT, each person sets up their own server and checks their own properties. That suits one person. In an agency or a marketing team with several brands, many properties need the same settings, changes need a second pair of eyes, and nobody remembers who changed what last month.

BlueNexus is a shared AI workspace where people and AI agents work in the same projects, channels and tasks. The BlueNexus Google Analytics Admin connector, our own integration, is coming soon. It has 33 tools (18 that read and 15 that write) for accounts, properties, data streams, custom dimensions and metrics, key events, Google Ads links and data retention settings. Every change an agent prepares waits for a person in Needs you. Connect it with a Google account that has the role your team should have.

Once it's live, open Add a connector, search for Google Analytics Admin, click Connect and follow the steps.

Illustration of the BlueNexus app with example data.

At Fallowfield Digital, a 20-person marketing agency in Denver, Lennox, the analytics lead, asks the analytics agent on Tuesday 10 November to check a client's property, Mosswood Bakery. Retention is at 2 months, and the catering_enquiry event from the bakery's catering form isn't a key event. The plan waits in Needs you.

Nothing in GA4 changed until Lennox approved it. Linking Google Ads stays with Darcy, the paid media lead, who has admin access to the client's Google Ads account.

Illustration of the BlueNexus app with example data.

For a full check of one property, see how to audit a GA4 property's settings. For many properties, see keeping many GA4 properties set up the same way.

Which way fits you

If you look after your own property, run Google's MCP server with Claude, read-only, and make changes in GA4's Admin yourself.

If settings are shared work, across an analytics lead, account directors, paid media and developers, you'll get more from one shared space than from several private chats. That's what BlueNexus is built for, and you can sign up for BlueNexus to bring your team in.

Questions people ask about Google Analytics (GA4) Admin and AI

Can Claude change my Google Analytics settings?

With Google's Google Analytics MCP server, only if it's started with --allow-write and given the edit scope. Then it can create custom dimensions, key events and annotations, if your GA4 role allows it. It has no tools for data retention, data streams, creating Google Ads links or user access.

Is there an MCP server for the Google Analytics Admin API?

Google's open-source Google Analytics MCP server uses the Admin API for accounts, properties, key events, custom dimensions and Google Ads links, and the Data API for reports. It's read-only by default.

Can AI change GA4 data retention?

Not with Google's MCP server, which has no retention tool. The Admin API can read and update data retention settings, so an app built on it can, with an Editor's sign-in. Retention changes take effect after 24 hours.

How many custom dimensions can a GA4 property have?

A standard property can have 50 event-scoped and 25 user-scoped custom dimensions, 10 item-scoped ones and 50 custom metrics. Analytics 360 properties get more.

Which GA4 role do I need to change settings?

Editor for most property settings, like data retention and custom dimensions. Editor to mark an existing event as a key event, Marketer or above to create a new one as a key event. Administrator to manage users. Linking Google Ads also needs admin access in Google Ads.

Subscribe to our blog

Product insights, AI and product thinking delivered to your inbox.