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.
For a marketer or analyst who's comfortable in a terminal.
For someone with a developer who can host the server.
For a marketing team that shares one GA4 property.
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
- 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 minA good fit if you're comfortable in a terminal.
- 1In a Google Cloud project, enable the Google Analytics Admin API and Data API. Your account needs at least Viewer access to the property.
- 2Install Python 3.10 or later and pipx, then sign in with
gcloud auth application-default loginand the read-only Analytics scope. - 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. - 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 hourA good fit if a developer can host it for you.
- 1A developer hosts Google's server with
--transport httpand its built-in OAuth sign-in, for example on Cloud Run. - 2In ChatGPT, open Plugins and add a custom MCP server with that address. On Business plans, only admins and owners can add one.
- 3Sign in with your Google account.
- 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-writeand 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.
- All
- AI
- Analytics
- Communication
- Finance
- Marketing
- Productivity
- Sales
- Social
Run standard, realtime, pivot and batch reports on Google Analytics 4 data, see which dimensions and metrics a property has, and check which ones work together.
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.
Ellis asked the marketing agent how Thursday's newsletter did. From Google Analytics, 5 to 8 November. Nothing is posted or assigned until Ellis approves it.
- Post the results in the marketing channelSessions, engagement rate, purchases and revenue from the newsletter, by landing page
- Create a task for Marlo on the wine club page39% of its email sessions were engaged, against 68% for the rest of the newsletter
- Change the next newsletterLeft unticked: Ellis decides
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.