Google Analytics MCP serverfor AI agents and assistants
Securely connect Claude, ChatGPT, Cursor, and Grok to Google Analytics 4. Ask for reports, landing pages, and traffic trends in plain language.
Sample data
Works with
Claude
Claude Code
ChatGPT
Cursor
GrokGrokbot
Codex
Antigravity
Windsurf- and more...
Supported Tools
Here are the safe and read-only GA4 tools for your SEO analysis. Instead of a long list of tools, a few powerful ones take arguments, so this MCP stays light and much more useful.
List properties
List the GA4 accounts and properties connected to this server.
1 argument
Traffic overview
Sessions, users, bounce rate, average duration, and pageviews for a date range.
3 arguments
Realtime
Active users in the last 30 minutes, by page and channel.
1 argument
Compare periods
Compare traffic metrics between two date ranges.
6 arguments
Site search terms
Internal search terms used by organic visitors.
6 arguments
Pages
Landing and exit pages by sessions or bounce, for organic or any channel.
10 arguments
Breakdown
Sessions by channel, device, country, source, or new versus returning.
9 arguments
Trend
Daily or weekly sessions, for organic or all traffic.
5 arguments
Key events
Conversions by page and event name.
5 arguments
Retention trend
Weekly new versus returning visitors, for organic or all traffic.
3 arguments
AI traffic
Sessions referred by ChatGPT, Gemini, Perplexity, and other assistants.
6 arguments
Why use our GA4 MCP
Built by an SEO with Fortune 500 experience
- Builder of mcp-gsc, the most popular Search Console MCP on GitHub, with 2,000+ stars.
- Also the designer of other SEO tools, with more than 30,000 users a month, including the Advanced GSC Visualizer extension.
Safe to connect
- Read-only. It does not write to your Search Console, Analytics, or ads.
- Your reports are fetched live and are not stored.
Fewer tools, more range
- A short list of tools, each with many arguments.
- Your agent gets flexibility without a long catalog to sort through.
The rest of an SEO's stack
- Google Search Console, SERP analysis, and Google Ads.
- CrUX field data and keyword research.
- A schema validator for the markup on a page.