Google Analytics MCP
Google Analytics MCP: ask Claude or ChatGPT about your Google Analytics data.
Google AnalyticsYour data
- MammothCleans and calculates
Your AI assistantClaude, ChatGPT, VS Code
Your two options
Two ways to connect Google Analytics to your AI assistant
Mammoth answers questions about Google Analytics and your other data. Google's own server works inside Google Analytics. You can add both to the same assistant.
Mammoth
Ask about Google Analytics and your other data. Mammoth calculates the answer, so the numbers are exact. Included on every plan.
“How many sessions did each channel bring in last month?”
Google's own server
Reads live GA4 reports. Can't change your Analytics settings. You install it and set up Google Cloud yourself.
“Show last week's sessions by channel.”
Option 1 · Mammoth
What you can ask about your Google Analytics data
Pick a question to see what your assistant gets back.
| Channel | Sessions |
|---|---|
| Organic search | 48,320 |
| Direct | 21,905 |
| Paid search | 14,612 |
| Referral | 6,248 |
Shown on sample data. Your questions run on your own data.
More questions, by team
Pick your team, then copy a question into Claude or ChatGPT.
- CountHow many sessions did each channel bring in last month?
- CountHow many conversions did we get each week this quarter?
- AverageWhat's the average engagement time by channel?
- TopWhich campaigns brought the most new users this month?
- CountHow many sessions did each blog post get last month?
- CountHow many organic sessions did we get each week?
- AverageWhat's the average engagement time on our top 10 pages?
- TopWhich landing pages had the most organic sessions this quarter?
- TotalHow much revenue did each channel bring in last month?
- CountHow many purchases did we get each day last week?
- AverageWhat's the average order value by device?
- TopWhich products were viewed most this month?
Copy a question and paste it into your assistant once Mammoth is connected.
Ask about Google Analytics and your other data together
Connect Google Analytics and any of Mammoth’s 100+ other sources, like HubSpot, Jira or Salesforce. Join them once in Mammoth, and your assistant can answer questions that cover all of them.
See all 100+ sourcesExample: Google Analytics with HubSpot
Which channels bring the visitors who become customers?
Google Analytics holds the traffic and HubSpot holds the deals. Mammoth matches them on the source and campaign.
Option 1 · Mammoth
Set up Google Analytics with Mammoth in three steps
- Step 1
Connect Google Analytics to Mammoth
Choose Google Analytics from Mammoth's connectors and sign in. Then pick the data you want.
https://mcp.mammoth.io/mcpStep 2Add Mammoth to your assistant
Paste this address into Claude, ChatGPT or VS Code, then sign in with your Mammoth account.
- Step 3
Ask your question
Ask in Claude or ChatGPT, in plain words. Mammoth works out the numbers and your assistant replies with the answer.
What Mammoth reads from Google Analytics
Mammoth connects with your Google account and asks only for read-only access to Google Analytics. It brings in your GA4 reports, such as sessions, users and conversions by channel, page and day.
Step-by-step setup for each assistant is in our MCP docs.
Want a dashboard too? Start from the free Google Analytics dashboard template.
Option 2 · Google's own server
How to set up the official Google Analytics MCP server
Google publishes a free Google Analytics MCP server. It can only read your data, and you install and run it yourself with a Google Cloud project.
- Step 1
Set up Google Cloud
Turn on the Analytics Admin and Data APIs in a Google Cloud project, then sign in with gcloud.
pipx run analytics-mcpStep 2Run Google's server
Install and run it with pipx, then add it to Claude Desktop or Claude Code.
- Step 3
Ask about your data
Your Google account needs at least Viewer access to the property.
Google: Google Analytics MCP server · checked 30 October 2026
Common questions about Google Analytics MCP
Is there an official Google Analytics MCP server?
Is the Google Analytics MCP server read-only?
How does my assistant get to my Google Analytics data?
Are the numbers right?
Which AI assistants work with it?
What does it cost?
Do I paste a password or API key into the chat?
Can my assistant change things by mistake?
Ask your AI assistant about your Google Analytics data.
Start free, connect Google Analytics, and add Mammoth to Claude or ChatGPT.
- ✓ 14-day Pro trial
- ✓ No credit card
- ✓ Viewers always free