BLUENEXUS INTEGRATIONSCONNECTION GUIDE

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

Google publishes an open-source MCP server for Google Analytics. Connected, Claude can list your GA4 accounts and properties, run standard, funnel and realtime reports, and read your key events and custom dimensions. It only reads by default. It runs on your computer, so it suits Claude Desktop and Claude Code. ChatGPT needs it hosted somewhere first. This guide covers what it can do, what to watch, how to connect, and what changes when a marketing team shares one property.

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's questions about their site. BlueNexus is for when the numbers are shared work.

ON YOUR OWN Claude

For a marketer or analyst who's comfortable in a terminal.

Reports and realtimeYes, with Google's MCP server on your computer
ChangesRead-only unless you turn on three write tools
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.

Reports and realtimeYes, once Google's server is hosted
ChangesRead-only unless the host turns on write tools
SetupHost it in HTTP mode, then add it in Plugins
Who uses itJust you, in your own chats
WITH YOUR TEAM BlueNexus

For a marketing team that shares one GA4 property.

Reports and realtimeYes: standard, realtime, pivot and batch reports
ChangesReads only; posts and tasks 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 uses the Admin API for accounts and settings and the Data API for reports. Google's setup page says it's "available for read requests only". Recent versions, like 1.1 from November 2026, also include three write tools: annotations, custom dimensions and key events. They stay off unless it's started with --allow-write and the edit scope.

Inside Google Analytics, Ask Advisor, powered by Gemini, answers questions about one property. It's in beta, for properties set to English.

Three things are worth knowing:

  • Recent days change. GA4 data can take 24 to 48 hours to process, and yesterday shows up in reports around mid-afternoon, property time. Compare finished days.
  • Some rows are hidden. GA4 applies thresholds to protect privacy, for example on demographics. A wider date range helps.
  • There's a quota. Every report uses tokens from your property's Data API quota.

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

Find propertiesList accounts and properties, property details, Google Ads links and key events.
Run reportsStandard, funnel and realtime reports, plus a conversions report with ad costs and ROAS.
Read your setupList custom dimensions, custom metrics and annotations.
Write, if you allow itCreate annotations, custom dimensions and key events, 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 property access
Keep in mind
  • Reports use your property's Data API quota
  • Recent days can change for 24 to 48 hours
  • Small rows can be hidden by thresholds
  • It runs as a server you set up, not a directory app

Connect Google Analytics to Claude or ChatGPT

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

Connect Google Analytics to Claude

20 min

A good fit if you're comfortable in a terminal.

  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 accounts and properties you can see.

Google's setup page covers Claude Desktop, Claude Code and Cursor. The server only reads unless it's started with --allow-write.

Connect Google Analytics 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 for yesterday's sessions, and whether that day's data is final yet.

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

For developers

The Data API quotas for a standard property are 200,000 tokens a day and 40,000 an hour. Any one Google Cloud project can use up to 14,000 of those an hour, and a property takes 10 requests at a time. Analytics 360 properties get ten times the tokens. A report returns 10,000 rows by default and up to 250,000. Each response says if the data was thresholded or sampled, and if small rows were grouped into "(other)".

Who can do what

  • Your role decides. You need at least Viewer access to the property. Some roles can't see revenue or cost metrics, and the AI can't either.
  • Keep writes off. Write tools need --allow-write and the edit scope. Creating a custom dimension also needs the Editor role, and a key event the Marketer or Editor role. Leave them off unless you need them.
  • The quota is shared. Every app and person calling one property draws from the same daily and hourly tokens.
  • Your data. Report data goes to the AI app you use, and that app's settings apply.

When it doesn't work

  • Yesterday looks low. It probably isn't final. Daily data can still change, and some arrives up to seven days late.
  • Rows are missing. Thresholds may be hiding small numbers. Try a longer date range.
  • "(not set)" shows up. GA4 got no value for that dimension. A landing page of "(not set)" means a session had no page view.
  • Quota errors. Wait for the hour to reset, and ask for fewer, bigger reports.
  • No properties listed. Check your Viewer access and that both APIs are enabled in the Cloud project.

With a team: Google Analytics in BlueNexus

In Claude or ChatGPT, each person sets up their own server and asks their own questions. That suits one person. In a marketing team, email, paid and ecommerce all read the same property, each person's questions use the same quota, and two people pulling the same week a day apart get different numbers.

BlueNexus is a shared AI workspace where people and AI agents work in the same projects, channels and tasks. The BlueNexus Google Analytics connector, our own integration, is coming soon. It has 8 tools, all 8 of them read-only, for standard, realtime, pivot and batch reports, the dimensions and metrics a property has, and which ones work together. It doesn't change anything in Google Analytics. Changes to tags, links or GA settings stay with people. Anything an agent posts, sends or creates from those reports waits for a person in Needs you. Connect it with a Google account that has the access your team should have.

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

Illustration of the BlueNexus app with example data.

At Corkline Wines, a 35-person online wine shop in Portland, Oregon, Ellis, the email marketer, asks the marketing agent on Tuesday 10 November how the newsletter from Thursday 5 November did. By then, Sunday's data has had time to settle. The plan waits in Needs you.

The agent only read from Google Analytics. Posting the results and the task waits for Ellis, and the next newsletter stays Ellis's call.

Illustration of the BlueNexus app with example data.

For finding weak pages, see how to find the landing pages that lose visitors. For the team, see campaign tagging as a team.

Which way fits you

If you ask your own questions, run Google's MCP server with Claude, read-only, and compare finished days.

If the numbers are shared, across email, paid, ecommerce and leadership, 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) Data and AI

Does Google Analytics have an MCP server?

Yes. Google publishes an open-source Google Analytics MCP server that runs on your computer or your own server. It reads accounts, properties and reports through the Admin and Data APIs. It's read-only by default, and recent versions add three write tools you have to turn on.

How do I connect Google Analytics to Claude?

Enable the Google Analytics Admin API and Data API in a Google Cloud project, sign in with Application Default Credentials and the read-only Analytics scope, then add the server to Claude Desktop's config file or to Claude Code with claude mcp add. Google's setup page has the exact lines.

Can I use Google Analytics with ChatGPT?

Yes, if Google's server is hosted in HTTP mode, for example on Cloud Run. Then add it in ChatGPT under Plugins as a custom MCP server. ChatGPT can't start a server on your computer.

Can Claude change my Google Analytics settings?

Not by default. Google's server only reads unless it's started with --allow-write and given the edit scope. Then it can create annotations, custom dimensions and key events, if your role allows it.

Why don't the AI's numbers match my GA4 reports?

Usually the date range, recent days that aren't final yet, or rows hidden by thresholds. GA4 data can take 24 to 48 hours to process, so compare finished days, and ask the AI whether a report was thresholded.

Subscribe to our blog

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