Short answer: Google's official Google Analytics MCP server is read-only: it has nine tools that list your accounts and properties and run standard, realtime, funnel and conversions reports, and it cannot create, modify or delete anything in GA. Google's guide gives setup steps for Claude Desktop, Claude Code, Cursor and Google Antigravity; it does not mention ChatGPT. It is a local developer setup with Python and Google Cloud credentials, not a one-click connector.
What it is
Google's developer guide, last updated on 10 November 2026, describes the Google Analytics MCP server as a way to connect Analytics data to LLMs and AI agents such as Gemini. It is published on PyPI as analytics-mcp, with the source on GitHub under googleanalytics/google-analytics-mcp. The guide says it is available for read requests only.
The nine tools
| Tool | API behind it | What it returns |
|---|---|---|
| get_account_summaries | Admin API | The accounts and properties you can reach |
| get_property_details | Admin API | Configuration of one property |
| list_google_ads_links | Admin API | Google Ads accounts linked to a property |
| list_property_annotations | Admin API | Annotations configured for a property |
| get_custom_dimensions_and_metrics | Data API | Your custom dimensions and metrics |
| run_report | Data API | A standard report of event data |
| run_realtime_report | Data API | A realtime report |
| run_funnel_report | Data API | A funnel exploration report |
| run_conversions_report | Data API | A conversions performance report |
Google's own sample prompts show the intended use: how many users you had yesterday, your top-selling products, your most popular events over the last 90 days, which custom dimensions exist, and a data-driven marketing plan for a monthly budget.
Which AI apps it works with
| Client | In Google's guide? |
|---|---|
| Claude Desktop and Claude Code | Yes |
| Cursor | Yes |
| Google Antigravity (CLI and IDE) | Yes |
| Gemini CLI | Named as deprecated, with a migration guide to Antigravity |
| ChatGPT | Not mentioned |
The guide describes a server you run on your own machine. Separately, Google's Data API reference documents the run_report tool at an MCP endpoint, https://analyticsdata.googleapis.com/mcp/v1, annotated as read-only. The reference page is a tool specification, not a setup guide for a chat app, so treat the local install as the supported route until Google's guide says otherwise.
What the setup involves
- Install Python 3.10 or higher, and pipx or uv to run the server.
- In a Google Cloud project, enable the Google Analytics Admin API and the Google Analytics Data API.
- Give the user or service account at least the Viewer role on the GA4 property.
- Set up Application Default Credentials with the analytics.readonly scope, using gcloud sign-in, a service account key or service account impersonation.
- Add the server to your client's MCP configuration (for Claude Code, with claude mcp add), using absolute paths.
- Check the connection in the client and ask a first question.
The guide's troubleshooting section covers, among others, two errors: 403 PERMISSION_DENIED when the APIs are not enabled or the account lacks access to the property, and launch failures in desktop apps when the path to pipx or uvx is not absolute.
Limits worth knowing
- No writes. It cannot create a key event, an audience or a property setting. You still do that in Google Analytics.
- Report size. The run_report reference gives a default of 10,000 rows and a maximum of 250,000 rows per request.
- Quota. Reports draw on the property's Data API quota. The reference lists up to 200,000 tokens per day and 40,000 per hour for standard properties.
- Only what GA4 collected. The assistant reads the same numbers you see in GA4, including their gaps. See why analytics undercounts visitors.
Questions that give useful answers
- "Which source and medium brought the most key events in the last 28 days?" This only works when links are tagged: see the UTM parameters guide.
- "Which landing pages lost the most sessions compared with the previous month?"
- "Run a funnel from page view to sign-up to purchase and show where people drop."
- "Which Google Ads accounts are linked to this property?"
How it sits next to the ads servers, and Distribute
Google and Meta both publish MCP servers for ads: see the Google Ads MCP server and the Meta ads MCP server. Each of the three works inside one platform. Distribute connects to Claude and ChatGPT as a connector and does the work the report leads to: it finds what is trending in a niche, writes and publishes search articles, makes UGC videos, and plans Google Search campaigns that launch on your approval. More on combining them in connecting an AI agent to your marketing.
Distribute researches the keywords, plans a calendar from the ones you can win, writes 2,000-word articles with FAQ schema and publishes them to your site. $0.50 per article, $0.50 per keyword research pull.
Questions people ask
Is the Google Analytics MCP server read-only?
Yes. Google's guide says it is available for read requests only and cannot create, modify or delete GA configuration or settings. It authenticates with the analytics.readonly scope.
Does the Google Analytics MCP server work with ChatGPT?
Google's guide does not mention ChatGPT. It gives setup steps for Claude Desktop, Claude Code, Cursor and Google Antigravity, and names Gemini CLI as deprecated.
Can Claude read my GA4 data?
Yes, through this server. Claude Desktop and Claude Code are both in Google's guide. You run the server locally with credentials that have at least the Viewer role on the property.
Do I need a Google Cloud project?
Yes. The Admin API and Data API must be enabled in a Google Cloud project, and user credentials need a quota project with those APIs enabled.
Can it change my GA4 settings or create conversions?
No. All nine tools read. Anything you want to change, you change in Google Analytics.