Google Analytics MCP Server (GA4): Tools, Setup & Config (2026)
Google Analytics MCP Server: Query GA4 from Claude or ChatGPT
Paste one link into Claude or ChatGPT, sign in with Google, and your AI can run any GA4 report — channels, landing pages, key events, revenue, realtime, AI-referral traffic. No Cloud project, nothing to install, about a minute of setup. Everything below the link is the full reference for you and your AI agent.
Your MCP link
https://connector.get-ryze.ai/mcp
Connect Google Analytics Add to Claude Full setup guide ↓
++++
Set it up in 3 steps about 1 minute
- 01 Copy your MCP link:
https://connector.get-ryze.ai/mcp - 02 In Claude go to Settings → Connectors → Add custom connector. Name it Ryze AI, paste the link, click Add. In ChatGPT, it is Settings → Apps → Create app.
- 03 Click Connect, sign in with Google, pick your workspace. Open a new chat and ask: “Which channels drove the most key events in the last 28 days?”
Works in Claude, ChatGPT, Cursor and Claude Code · Included in every plan · Full setup guide
Overview
What this Google Analytics MCP server does
The short version
- One URL,
https://connector.get-ryze.ai/mcp, works in Claude, ChatGPT, Claude Code, Cursor and any MCP client. - Sign in with Google. No Google Cloud project, no service account, no Data API enablement, no Python.
- 9 GA4 tools, all read-only: raw Data API reports, pivot reports, realtime, Admin API reads, and four ready-made AI-referral traffic reports.
- Same endpoint carries Google Ads, Meta Ads, TikTok, Search Console and Shopify — 150+ tools in total.
- Included in every Ryze AI plan. SEO Starter is $129/mo flat with a 3-day free trial.
++++
Server spec
OAuth2
- Server name: Ryze AI (Google Analytics MCP)
- Endpoint: https://connector.get-ryze.ai/mcp
- Transport: Remote MCP over Streamable HTTP
- Auth: OAuth 2.0 (Google sign-in, one Ryze workspace per connection)
- Hosting: Hosted by Ryze AI — nothing to install or run
- GA4 tools: 9 (9 read · 0 write)
- Also on this endpoint: Google Ads, Meta Ads, TikTok, Search Console, Shopify — 150+ tools
- Cloud project: Not required
- Price: Included in every plan · SEO Starter $129/mo flat
Managed OAuth 2.0
- Browser sign-in with Google, tokens refreshed server-side. No Cloud project, no service-account JSON, no Data API to enable.
Tool reference
The 9 Google Analytics tools
Every tool takes a propertyId (the numeric GA4 property ID, not the G-XXXX measurement ID). All nine are read-only, so there is nothing to approval-gate; the assistant can run them the moment OAuth completes.
| Tool | Access | What it does | Key parameters |
|---|---|---|---|
listAccountSummaries |
read | Every GA4 account and property the signed-in login can reach. Call this first to find property IDs. | none |
runRawReport |
read | Any GA4 Data API runReport: dimensions, metrics, up to four named date ranges, dimension and metric filters, ordering, limit and offset. | propertyId · request { dateRanges, dimensions, metrics, dimensionFilter, metricFilter, orderBys, limit, offset } |
runPivotReport |
read | Pivot tables — e.g. channel × device × month — with per-pivot limits and ordering. | propertyId · request { dateRanges, dimensions, metrics, pivots[], dimensionFilter } |
runRealtimeReport |
read | Active users, screen views and events in the last 30 minutes, by minute, country, device or screen. | propertyId · request { minuteRanges, dimensions, metrics } |
runAdminRead |
read | GET any Admin API resource: keyEvents, customDimensions, dataStreams, audiences (alpha), attribution settings. Mutations are rejected. | path (properties/ |
getAIReferrals |
read | AI referral sources (ChatGPT, Perplexity, Gemini, Copilot, Claude…) with sessions and conversions for a period. | propertyId · period { startDate, endDate } |
getAiLandingPages |
read | Top landing pages receiving AI-referred traffic. | propertyId · period · limit (≤ 200) |
getAiTrafficByEngine |
read | AI traffic grouped by engine, compared with a prior period. | propertyId · period · priorPeriod |
getAiTrafficDaily |
read | Daily sessions from AI referrers, for trend lines and week-over-week checks. | propertyId · period |
What to ask once connected
Reporting
“Give me sessions, engaged sessions and key events by default channel group for the last 28 days.”
“Which landing pages drove the most purchases this month, and what was their revenue?”
“Build my Monday traffic report: total users, top 5 sources, key-event rate, and what changed vs last week.”
Diagnosis
“Organic sessions dropped last week. Break it down by landing page and country to find where.”
“Compare mobile vs desktop engagement rate and key-event rate for paid traffic, last 30 days.”
“Which pages have the highest exit share among sessions that reached checkout?”
AI referrals
“How much traffic came from ChatGPT, Perplexity and Gemini this month, and which pages did it land on?”
“Compare AI-referral sessions this month with last month by engine.”
“Show daily AI-referral sessions for the last 60 days as a table I can chart.”
Setup checks
“List the key events configured on this property and their counting method.”
“What custom dimensions exist, and which are event-scoped vs user-scoped?”
“Show me active users right now by country and device.”
Security & permissions
OAuth 2.0 only
You sign in on Google's page. Your password never touches Ryze, and tokens are refreshed server-side.
Read-only toolset
All nine GA4 tools are read-only. runAdminRead rejects :create, :update and :delete paths, so the assistant cannot change key events, streams or property settings.