Google Analytics MCP Server, Joined With Search Console
A hosted Google Analytics MCP server for GA4. No Google Cloud setup, and it joins Analytics conversions with Search Console clicks for each landing page.
HarborRank plans start at $29/month for 15,000 credits that refill every month.
Claude
Example, illustrative numbers
Which landing pages brought signups from organic search last month?
Three sources drove most of them:
/pricing: 1,920 organic sessions and 41 signups.
/blog/invoice-templates: 2,310 sessions but only 12 signups.
ChatGPT sent 184 sessions, mostly to /features.
Should I compare this with your Search Console positions?
A Google Analytics MCP server lets your AI assistant read your GA4 data and answer questions like "which pages bring customers, not just visits?" in plain language. There are two ways to get one: run Google's official server on your own machine, or connect a hosted one. HarborRank's hosted server also puts your Search Console clicks and Analytics conversions in the same answer.
Google's official server, or a hosted one?
Google publishes an official Google Analytics MCP server. It is free, it reads your data only, and it runs locally on your computer through Python. To set it up you install pipx, enable the Google Analytics Admin API and Data API in a Google Cloud project, and create Application Default Credentials with gcloud, either from an OAuth client you download or by impersonating a service account. It covers the whole GA4 reporting API, including funnel and realtime reports. If you're comfortable in a terminal and only need GA4, it's a good choice.
HarborRank runs a hosted server instead. You sign in with Google once in the HarborRank app, pick your GA4 property, and paste one URL into your AI client. You skip the Google Cloud project and the gcloud credentials. In exchange, your reports pass through HarborRank (read-only), each report uses credits, and funnel and realtime reports aren't available.
| Google's official server | HarborRank | |
|---|---|---|
| Where it runs | Your computer (Python, pipx) | Hosted; one URL |
| Google Cloud setup | Project, 2 APIs, gcloud credentials | None; sign in with Google in the app |
| Access | Read-only (analytics.readonly) | Read-only (analytics.readonly) |
| GA4 reports | Any report, funnels and realtime | Common breakdowns with period comparison; no funnels or realtime |
| Search Console in the same answer | No | Yes, joined per landing page |
| AI assistant traffic | Build the report yourself | One tool: visits from ChatGPT, Perplexity, Gemini and others |
| Cost | Free | 10 credits a report, 25 for the joined landing-page view |
Google's server details come from its README on GitHub, read October 10, 2026.
The three tools
get_landing_page_performance joins, for each landing page, Search Console clicks, impressions and position with GA4 organic sessions, engagement, key events and revenue. That shows which pages bring customers as well as clicks. It also shows pages that rank but don't convert, pages that convert but barely rank, and pages where Google reports far more clicks than Analytics records sessions, which can mean broken tracking. If Search Console isn't connected, it works with Analytics alone.
get_ai_referral_traffic measures the visits your site gets from AI assistants: ChatGPT, Perplexity, Gemini, Copilot, Claude and others. It returns sessions, key events and revenue per assistant, and the share of all your traffic that AI now sends. It combines GA4's built-in AI assistant channel with referrer matching, so it also catches assistants that channel misses.
get_analytics_report runs the GA4 breakdowns SEO work needs: sessions, users, engagement, key events and revenue by channel, source, landing page, page, device, country or date, with an optional comparison to an earlier period.
All three are read-only and can't change your Analytics account.
Setup
- Sign up for HarborRank. The 7-day free trial starts with 1,000 credits, enough for about 100 Analytics reports; Basic is $29 a month after the trial unless you cancel.
- In your project's settings, connect Google Analytics and choose the GA4 property. One Google sign-in covers Search Console and Analytics.
- Add the MCP server to your AI client and approve the HarborRank sign-in. The setup guide has the steps for Claude Code, Claude Desktop, ChatGPT, Cursor and Codex. The URL is:
https://app.harborrank.com/mcpQuestions worth asking
- "Which of my pages get Google clicks but no conversions?" Those pages rank; the page itself needs work.
- "Which pages convert well but sit below position 10?" Those are worth pushing up.
- "How much traffic did ChatGPT and Perplexity send this month compared with last month, and which pages did they link to?"
- "Which pages get far more Google clicks than Analytics sessions?" Every site has some gap from consent banners and ad blockers; a page with a much larger gap than the rest may be missing the tracking tag.
- "Why did organic sessions drop in the last 28 days? Break it down by landing page and device."
FAQ
Is there a free Google Analytics MCP server?
Yes: Google's official one is free and runs on your own computer. HarborRank's hosted server isn't free, but it starts with a 7-day free trial: 1,000 credits, with 10 credits per Analytics report and 25 for the joined landing-page view. Plans start at $29 a month.
Do I need a Google Cloud project?
Not with HarborRank. You connect your GA4 property by signing in with Google in the HarborRank app. Google's official server does need a Cloud project, two enabled APIs and gcloud credentials.
Is it read-only?
Yes. HarborRank asks Google for the analytics.readonly scope only, so your assistant can read reports but can't change your property, goals or settings.
Does it work with Universal Analytics?
No. It reads Google Analytics 4 properties.
Which AI assistants can use it?
Claude Code, Claude Desktop, ChatGPT, Cursor and Codex, plus other clients that support remote MCP servers with sign-in. See the setup guide.
Related guides
Part of seo with ai assistants: SEO MCP servers compared
Seven SEO MCP servers and what they really cost.
A real session on our own site, every tool call shown.
Eighteen MIT-licensed skills on live search data, with a worked example.
Setup, 9 Search Console MCP servers compared, and real sessions.
What 50,000 API units buy, and HarborRank from $29.
Ten AI visibility trackers priced, and a test of what AI answers say.
Connect GA4 in two minutes
Start free, connect Google Analytics and Search Console with one Google sign-in, and ask your assistant which pages bring customers. The 7-day trial includes 1,000 credits, about 100 reports.