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

“How did organic traffic on example.com change this month, and why?”
“Which landing pages get Google visitors but almost no conversions?”
“How many visits came from ChatGPT and Perplexity in the last 90 days?”
“Compare my Search Console clicks with GA4 organic sessions for the last 28 days.”

GA4 tools

get_ga4_organic_traffic

Organic 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. 1

    Create a free DidYouSEO account and add your site

    The MCP tools read data for sites in your account.

    Sign up free
  2. 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. 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.