NEWOur agents now make the SEO fixes on your site and check what worked →
SEOmatic logoGoogle logo

Google Analytics MCP Server

Read your GA4 traffic, sources and landing pages from Claude, ChatGPT or Cursor, next to your Search Console data. Hosted, one sign-in, and the fix lands in your CMS after you approve it.

  • GA4 and Search Console together
  • Hosted: one URL, one Google sign-in
  • GA4 next to your real search clicks
Start Trial
SEOmatic astronaut plugging an MCP cable into a moon base hub
Google logo
Google Analytics

Last Checked

November 2026

Endpoint

https://app.seomatic.ai/api/mcp

Full Docs

Every tool, parameter and cost: SEOmatic MCP docs.

Inside SEOmatic's Google Analytics MCP

The Short Answer

SEOmatic is a hosted MCP server that reads Google Analytics 4 (sessions, users, sources, landing pages, top pages, key events, realtime and custom reports) alongside Google Search Console, at https://app.seomatic.ai/api/mcp. Google's official Google Analytics MCP server is open source and runs on your machine or as your own remote server, with Application Default Credentials, and Google also runs an unannounced, read-only hosted endpoint at https://analyticsdata.googleapis.com/mcp/v1 that you connect with your own Google OAuth setup. Google's open-source server also runs funnel reports and, with write access turned on, creates custom dimensions and key events. SEOmatic covers the SEO questions: it joins GA4 with Search Console, adds, on WordPress sites running the SEOmatic AI plugin, first-party AI traffic that GA4 files as Direct, and can stage fixes in your CMS for your approval. Reading GA4 through SEOmatic is free.

Connect

Add https://app.seomatic.ai/api/mcp as a remote MCP server (Streamable HTTP) in your agent, then sign in to SEOmatic in the browser. Sign-in is OAuth 2.1 with PKCE and dynamic client registration, so there is no key to paste. Scripts and headless agents can send a workspace API key as a Bearer token instead.

Connect Google Analytics once in SEOmatic, with a Google sign-in. Setup guides per agent: Claude, ChatGPT, Claude Code, Cursor, Codex, Gemini and 24 more.

MCP server URL
https://app.seomatic.ai/api/mcp

What It Reads

  • Overview: sessions, users, pageviews and bounce rate for a window you choose.
  • Sources: sessions by channel, so organic search sits next to paid, social and direct.
  • Landing pages and top pages: where visits start and which pages get seen most.
  • Key events: conversions by landing page, source or channel.
  • Custom reports and realtime: any GA4 report with up to 9 dimensions and 10 metrics, and activity in the last 30 minutes.
  • AI pages (WordPress with the SEOmatic AI plugin): first-party AI activity per page, meaning answer-engine crawler fetches and visits referred by AI assistants. GA4 files most of that traffic as Direct, so it is invisible there.

Ask "Which landing pages lost organic sessions this month, and what did Search Console clicks do on the same pages?" and the agent answers from both sources, with the date range named.

SEOmatic vs Google's Official Google Analytics MCP

SEOmaticGoogle Analytics MCP (official)
Runs whereHostedYour machine or your own server (Python); Google also runs an unannounced, read-only hosted endpoint
SetupOne Google sign-inApplication Default Credentials with the Analytics read-only scope, or your own Google OAuth setup for the hosted endpoint
GA4 reportsOverview, sources, landing pages, top pages, key events, realtime, and custom reports with up to 9 dimensions and 10 metricsAny report: run_report with your own dimensions and metrics, plus realtime, funnel and conversions reports
Search Console in the same answersYesNo
AI-referred traffic GA4 missesYes, on WordPress with the SEOmatic AI pluginNo
Changes your siteYes, staged for your approvalNo (it can change GA4 settings when write access is turned on)
PriceFree to readFree, open source

Use Google's server when you need funnel reports or GA4 admin changes, on your own machine. Use SEOmatic when the question is about search: which pages lost traffic, why, and what to change.

From Answer to Fix

Every fix follows your approval mode: in Approval mode, nothing changes on your site until you approve it. A fix is staged as a proposal that says what will change and why. Approved fixes run within seconds, the page's previous state is stored, and any edit to an existing page can be rolled back. A rollback refuses to overwrite edits someone made since. Changes that could take a page out of Google, like a noindex, need an extra confirmation.

Every shipped change is measured against its own baseline and the site's trend: after 14 days for a title, 28 for a content refresh, 42 for striking-distance and cannibalization work, 90 for a new page. It is marked verified only when the gain over the site's own trend is statistically clear and worth at least 5 more clicks; otherwise it is ineffective, or regressed when it falls more than 15%. Low-risk changes that lose traffic roll back on their own.

What Is Free

Connecting is free with no card. Search Console reports, page checks and 30-page site audits are free, as often as you like. Live market data (keyword volumes, competitors, backlinks) uses free questions: 5 a month, plus a one-time 5 the first time you sign in from an assistant, and 10 more when you connect Search Console, and one question covers up to 5 lookups. Staging and publishing fixes is part of paid plans, which start with a 14-Day Trial for $1, credited to your first payment.

More SEOmatic MCP Pages

Frequently Asked Questions

Is there an official Google Analytics MCP server?

Yes. Google publishes an open-source Google Analytics MCP server that runs on your machine or your own server and reads GA4 with your Application Default Credentials. Google also runs an unannounced, read-only hosted endpoint at https://analyticsdata.googleapis.com/mcp/v1 that you connect with your own Google OAuth setup. SEOmatic is a hosted alternative that reads GA4 next to Search Console with one Google sign-in.

Does it work with GA4?

Yes. SEOmatic reads Google Analytics 4 properties: sessions, users, pageviews, channels, landing pages, top pages, key events, realtime activity and custom reports.

Can it run any GA4 report?

Most of them. SEOmatic runs custom GA4 reports with up to 9 dimensions and 10 metrics by API name, up to 4 date ranges, filters and ordering, plus realtime and key events. Funnel reports are in Google's own Analytics MCP server, and both can be connected to the same agent.

Is it free?

Yes. Reading Google Analytics through SEOmatic is free on every plan, including the free plan.

digi-business-uk

Each local area page used to take us half a day to create and optimize.


With SEOmatic, we can create hundreds of pages in the same time, which helps our clients make the best use of their budget.


It's transformed how we deliver scalable SEO solutions.

will-hawkins

Will Hawkins

Marketing Director, Digi-Business UK

Give Your Site an SEO Team

Agents read your Search Console data, do the work, and prove what actually moved. You decide what ships.

  • You decide what ships
  • Verified live
  • One-click rollback

14-Day Trial for $1, credited to your first payment.