Google Analytics (GA4) MCP server
Connect GA4 to DidYouSEO once, and Claude, ChatGPT, Cursor or any MCP client can answer questions about your organic traffic: how many visits came from Google, whether they converted, which landing pages work, and how many visitors arrived from AI assistants.
Server URL
https://didyouseo.com/mcp
What you can ask
GA4 tools
get_ga4_organic_trafficOrganic sessions, engagement rate, key events and users for the period vs the previous one, top organic landing pages, and sessions referred by AI assistants (ChatGPT, Perplexity, Gemini, Claude, Copilot).
- Read-only. DidYouSEO never changes your Analytics settings.
- Organic means GA4's "Organic Search" channel. Key events are the conversions you've marked in GA4.
- AI-assistant visits are matched by referral source, so assistants that don't pass a referrer aren't counted.
Set it up
- 1
Create a free DidYouSEO account and add your site
The MCP tools read data for sites in your account.
Sign up free - 2
Connect Google Analytics
In the dashboard, open Settings → Google Analytics, sign in with Google (read-only) and pick the GA4 property for each site.
- 3
Add DidYouSEO to your assistant
One connector covers GA4, Search Console, PageSpeed and audits. Pick your assistant below.
FAQ
Is there an MCP server for Google Analytics 4?
Yes. DidYouSEO's MCP server includes a GA4 tool. Connect Google Analytics in your DidYouSEO account, add the server https://didyouseo.com/mcp to Claude, ChatGPT or Cursor, and ask about your organic traffic in plain language.
What GA4 data can the assistant see?
Organic search sessions, engaged sessions, engagement rate, key events and users, the top organic landing pages, and visits referred by AI assistants, each for the period you ask about compared with the period before.
Do I need a GA4 API key or a Google Cloud project?
No. You sign in with Google from the DidYouSEO dashboard and choose the property. There's nothing to set up in Google Cloud.
Is it free?
Connecting GA4 is free on every plan. Free accounts get a preview of landing pages over MCP; paid plans get the full list.
More in the same connector
Google Search Console MCP server
Let Claude or ChatGPT read your Search Console data: top queries, keyword cannibalization and traffic changes. Read-only, connects in a few minutes.
PageSpeed Insights MCP server
Run Google PageSpeed Insights from Claude, ChatGPT or Cursor: Lighthouse scores, real-user Core Web Vitals and the biggest speed fixes. Free, no API key.
Free SEO skills for Claude
Ready-made workflows that use these tools: weekly reports, traffic drops, fix plans.