
Google Analytics 4 MCP Server
Connect Google Analytics 4 to Claude, Cursor & AI assistants
Example prompts
Read-onlyHow much traffic did I get this week?
What you can do
Access your website analytics through AI. Query traffic, conversions and user behavior with natural language. The missing piece that connects your ad performance to actual on-site behavior.
- Access
- Read-only
- MCP tools
- 2: all read
- Plan
- All plans
- API version
- GA4 Data API v1beta
All 2 tools
Read
ga4_list_propertiesList all GA4 properties you have access toga4_run_reportRun flexible GA4 reports with any metrics and dimensions (page views, users, events, traffic, devices)
Technical specifications
- Rate limits
- Shared quota with other Google Analytics API users
- Data freshness
- Standard reports, with GA4's own processing delay: usually a few hours, up to 24-48 hours for some dimensions.
- OAuth scopes
https://www.googleapis.com/auth/analytics.readonly
- Traffic analysis
- Conversion tracking
- User behavior insights
- Audience, device and geography breakdowns
- Custom reports
Real-world use cases
Knowing which traffic sources bring quality visitors (vs just clicks) requires combining GA4 data with engagement metrics and conversions.
Ask Claude to rank traffic sources by engagement rate and conversion rate, not just volume. Instantly see which channels are worth investing in.
Rank my traffic sources by engagement rate and conversion rate. Which channels bring the best quality visitors?
Identifying underperforming landing pages means checking bounce rates, engagement, and conversions across potentially hundreds of pages.
Get a quick audit of landing pages with high traffic but poor engagement, with specific insights on what might be wrong.
Show me landing pages with more than 100 sessions this month but below-average engagement rate. What's the pattern?
Understanding which campaigns actually drive conversions (not just traffic) requires connecting ad platform data with on-site behavior.
Correlate GA4 conversion data with your advertising campaigns to see true campaign effectiveness.
Which of my Meta campaigns drove the most conversions in GA4 this month? How does that compare to what Meta reports?
Knowing which content resonates with your audience means analyzing pageviews, time on page, and downstream behavior.
Get content performance insights with engagement metrics and conversion correlation to guide your content strategy.
What are my top 10 blog posts by engagement? Which ones lead to the most conversions?
Get started in 3 steps
- 1
Sign up for Ad Superpowers
Start your 14-day trial and connect your Google Analytics account via OAuth. All 8 platforms included.
- 2
Get your API key
Generate an API key from your dashboard. This key authenticates your AI assistant with Ad Superpowers.
- 3
Configure your AI assistant
Add the MCP server URL and your API key to the AI tool you already work in. Setup per AI client
What is Google Analytics MCP Server?
The Google Analytics 4 MCP Server turns your website analytics into a conversation. No more clicking through the GA4 interface trying to find that one metric, or spending 20 minutes building a custom report that you'll use once.
Read moreShow less
GA4 is powerful, but let's be honest - the interface isn't winning any usability awards. Finding specific insights means knowing where to click, how to set up comparisons, and often exporting to sheets for actual analysis. With the MCP server, you just ask questions: "What's my conversion rate from mobile users in Germany?" Done.
But here's where it gets really interesting: Ad Superpowers connects GA4 with your advertising platforms. This means you can finally answer the questions that matter: "Which Meta campaigns drive the most engaged traffic?" "What's the bounce rate for visitors from my Google Ads?" "Are my TikTok ads bringing in quality users or tire-kickers?" That's the kind of cross-platform analysis that used to require hours of data stitching.
With 2 powerful tools, you get access to users, sessions, pageviews, events, conversions, traffic sources, devices, and fully custom reports. Everything you need to understand what's happening on your site - and why.
Why use AI for GA4?
GA4 has a learning curve that would make a ski slope jealous. Google redesigned the entire analytics paradigm with the switch from Universal Analytics, and while the underlying data model is more powerful, actually getting insights out of it can feel like a chore.
AI fixes this in two ways. First, you don't need to know where anything is in the interface. Want to compare this week's traffic to last week? Just ask. Want to see your top landing pages by engagement rate? Ask that too. The AI handles the query construction and gives you results.
Second - and this is what makes Ad Superpowers special - you can correlate GA4 data with your advertising. When your traffic sources are labeled as 'facebook / cpc', you can ask Claude to cross-reference that with your actual Meta campaigns. Find out which ad sets drive the best on-site behavior, not just clicks.
For agencies managing multiple properties, this is a huge time-saver. Instead of logging into each GA4 property and building the same reports over and over, you can query across accounts from a single conversation.
Key capabilities
- Access user metrics: active users, new users, returning users, DAU/MAU/WAU ratios
- Session metrics: sessions, engaged sessions, engagement rate, bounce rate, session duration
- Conversion tracking: events, conversions, revenue, e-commerce metrics
- Traffic analysis: sources, mediums, channels, campaigns, referrers
- Content performance: pageviews, landing pages, exit pages, content groups
- Audience insights: devices, browsers, geography, demographics
Frequently asked questions
A GA4 MCP server connects your Google Analytics 4 data to AI assistants like Claude. Instead of building reports in the GA4 interface, you ask questions in plain English: 'What's my conversion rate from organic traffic?' 'Which pages have the highest bounce rate?' The AI queries GA4 and gives you answers instantly.
Two reasons: speed and integration. First, getting answers through conversation is just faster than navigating GA4's interface and building reports. Second - and this is the big one - Ad Superpowers connects GA4 with your ad platforms. You can ask things like 'Which Meta campaign drives the most engaged sessions?' That cross-platform view is where the real insights live.
All the important ones: sessions, users (active, new, returning), pageviews, engagement rate, bounce rate, session duration, conversions, revenue, traffic sources, channels, devices, geography, landing pages, and any custom events you've configured. Basically, if it's in GA4, you can query it.
Yes! The ga4_run_report tool lets you create fully custom reports with any combination of dimensions and metrics. You're not limited to pre-built queries. Ask for 'pageviews by landing page and device, filtered to organic traffic from the US' and you'll get exactly that.
If you have e-commerce events set up in GA4, you can query them all: purchases, add to carts, checkout starts, product views, revenue by product, and more. You get a complete picture of your customer journey.
No. We call GA4's standard reporting endpoint, which carries the same processing delay you see in the GA4 interface: usually a few hours, and up to 24-48 hours for some dimensions. GA4's separate Realtime API is not exposed through this integration.
Works great with
Connect Google Analytics to your AI

