Key takeaways
- The Google Analytics MCP server is Google’s official, free connector between GA4 and AI assistants such as Claude. Version 1.0 came out in November 2026.
- It reads reports, funnels, key events and settings.
- Report data leaves Google and goes to your AI provider. In the EU, GA4 data is personal data, so connecting it is a GDPR decision, not just a technical one.
- It sees numbers, not meaning. It doesn’t know what your key events measure or when tracking broke.
- Setup takes a technical person about an hour. The decisions around it take longer and matter more.
Until recently, asking an AI assistant about your GA4 data meant exporting a CSV and pasting it into a chat.
Now Google has its own connector. The Google Analytics MCP server lets Claude and other AI assistants query your GA4 properties directly. You ask a question in plain English, and the assistant runs the reports it needs.
It works. But “it works” and “we should connect it” are two different questions, and the second one belongs to whoever is responsible for the data.
Here is what the server does, what it exposes, and when I would use it.
What is the Google Analytics MCP server?
MCP, the Model Context Protocol, is an open standard for connecting AI assistants to other systems. An MCP server is a small program that sits between the AI assistant and a system such as GA4. It tells the assistant which actions it can take, runs them, and returns the results.
Google’s Google Analytics team publishes an official MCP server on GitHub. It is open source and free. After more than a year of experimental releases, version 1.0 came out on 3 November 2026.
The server uses the same two APIs as many reporting tools: the Google Analytics Data API for reports and the Admin API for account and property settings. It works with Claude Desktop, Claude Code, Cursor and Google’s own AI tools such as Antigravity and Gemini CLI.
There are also third-party GA4 MCP servers, some of them hosted by vendors. Those are not Google products. Your data then passes through one more company.

What it can do
In practice, the assistant can do most of what an analyst does in the GA4 interface, except build explorations by hand.
| What the AI can do | Examples |
|---|---|
| Find your accounts and properties | “Which GA4 properties do I have access to?” |
| Read property settings | Custom dimensions and metrics, key events, linked Google Ads accounts, annotations |
| Run standard reports | Users, sessions, key events or revenue by channel, landing page, country, device, date |
| Run funnel reports | Where users drop off between steps you define |
| Run conversions reports | Ad costs, key events, ROAS and attribution models |
| Run realtime reports | What is happening on the site right now |
What it can’t see
The server sees what the GA4 APIs return. That is a lot of numbers and very little meaning.
It doesn’t know:
- What your key events mean. Is
generate_leada submitted form or a click on a button? The API returns the count, not the definition. - When tracking broke. If purchases were double-counted for three weeks last spring, the numbers look like a great month.
- What was redesigned, relaunched or filtered. Unless it is written in an annotation, the AI doesn’t know.
- Where the numbers are estimates. Thresholds, the (other) row and modelled data affect API reports too. The assistant may treat them as exact.
- Anything outside GA4. No BigQuery export, no CRM, no Google Tag Manager, no consent platform.
This is the real limitation, and no connector fixes it. An AI assistant with direct GA4 access will answer confidently either way. Whether the answers are right depends on the documentation, data quality history and business context you give it. I wrote about that in How to make GA4 ready for AI.
Where your data goes
This is the part most setup guides skip.
The MCP server fetches report data from Google and hands it to the AI assistant. The assistant sends it to the AI model as part of the conversation. So your GA4 report rows go to your AI provider: Anthropic, OpenAI, Google or whoever runs the model.
In the EU, GA4 data is personal data. It doesn’t need names or email addresses for that: client IDs, cookie identifiers and IP-based signals are enough under GDPR. The American idea of PII, personally identifiable information, is much narrower, and many tool vendors write their documentation with that narrower idea in mind. “No PII” doesn’t mean “no personal data”.
So the question isn’t whether your AI provider receives personal data. It does. The questions are on what legal basis, under which agreement, and how much.
The risk grows if your reports also contain direct identifiers or sensitive information: email addresses or customer numbers in page paths, names in page titles, search terms people typed, or visits to health-related pages. If you use a hosted third-party MCP server, the data goes to two companies, not one.
That is a GDPR question, not a technical one. Before connecting, check:
- Is there a data processing agreement with the AI provider, and does your plan exclude your data from model training?
- Is sending GA4 data to the AI provider covered by your legal basis, privacy notice and record of processing activities?
- How much personal data, and how sensitive? Check page paths, titles, search terms and custom dimensions for direct identifiers and health, financial or other sensitive topics. Most implementations I audit have some. See 10 common ways your digital analytics implementation leaks personal data.
- Which properties does the connection reach? The assistant gets everything the credentials can read, not only the property you had in mind.
Connecting messy data to AI multiplies the problem. I compared it to playing with matches in a gas station.
What the setup involves
You don’t need a developer project, but you do need someone comfortable with Google Cloud and a command line. Google’s official instructions cover the exact steps. In outline:
- A Google Cloud project with the Google Analytics Data API and Admin API enabled.
- Credentials. Either a person’s own Google login or a service account with the Viewer role on the properties the AI should see. For anything beyond personal experiments, I would use a service account: it makes access visible, limited and easy to revoke.
- Python and the server package on the computer that runs the AI assistant, or a self-hosted server if several people need access.
- The AI assistant’s configuration, which tells Claude (or another client) how to start the server.
- A test question you already know the answer to. If the assistant gets it wrong, stop there.
For a technical person, that is about an hour. The decisions that go with it take longer:
- Which properties, and which people?
- Personal login or service account?
- Which AI provider, under which agreement?
- Who reviews the answers before anyone acts on them?
When to use it, and when not yet
Good fit:
- An analyst or marketer who already knows the property well and wants faster answers to routine questions.
- Exploring a property you’re auditing or taking over, as long as you check the answers.
- Properties where the key events are documented, the AI provider is covered by a data processing agreement, and the reports contain no direct identifiers or sensitive topics.
Not yet:
- When nobody can say what the key events measure. The AI will guess, and it won’t tell you it is guessing.
- When page paths, titles or custom dimensions contain email addresses, customer numbers or other direct identifiers, or the site handles health, financial or other sensitive topics.
- When the answers go straight into budget decisions without a human checking them.
Before you approve it
If someone in your team asks to connect GA4 to Claude or ChatGPT, the question isn’t whether the connector works. It does.
The questions are: what will the AI see, where does that data go, can it change anything, and will anyone notice when it misreads a number? If you can’t answer those quickly, the connection isn’t the first step. Getting the data ready is.
FAQ
Yes. Google’s Google Analytics team publishes it on GitHub as open source. Version 1.0 was released in November 2026.
The server is free and open source. You need a Google Cloud project for the APIs and a subscription to the AI assistant you use with it.
Any assistant that supports MCP. Google’s documentation covers Claude Desktop, Claude Code, Cursor and Google’s own tools such as Antigravity and Gemini CLI.
No. It uses the GA4 Data API and Admin API, so it sees the same aggregated reports as the GA4 interface, not the raw event export.
Not automatically. In the EU, GA4 data is personal data, and the connection sends report data to the AI provider. You need a legal basis, a data processing agreement with the provider and an updated record of processing, and your reports must not leak direct identifiers or sensitive data.
Final thoughts
The Google Analytics MCP server makes something useful very easy. That is exactly why it deserves a decision rather than a quiet install on someone’s laptop.
Connect it where the data is clean, documented and covered by the right agreements. Everywhere else, fix that first.
