Google Analytics MCP server

Ask your AI assistant about your traffic, conversions and revenue, and get answers from your own GA4 data. Sign in with Google once in SEOForge. No Python, Google Cloud project or credentials.

Included in every plan. Works with:

  • Claude Code
  • Cursor
  • Windsurf
  • VS Code
  • Any MCP client that takes an API key
Example conversation

Which landing pages bring organic visitors who actually sign up?

seoforge get_landing_pagesseoforge get_key_events

Organic visitors started 412 trials in the last 90 days, and five landing pages brought 58% of them.

“Free project plan template” converts best: 6.1% of its 3,900 organic sessions led to a trial.

Your most-visited page, “what is agile”, brought 21,000 sessions, but only 0.3% converted.

Want me to find more template topics like the one that converts best?

Try another question:

What you can ask about your Google Analytics data

Ask in your own words. Your assistant picks the right SEOForge tool, shown next to each question, and every one works with a read-only key.

  • How are sessions and conversions trending?get_analytics_overview
  • Which landing pages convert best from search?get_landing_pages
  • Where do our visitors come from?get_traffic_sources
  • Which pages lead to sign-ups and purchases?get_key_events
  • Which countries and devices do visitors use?get_audience
  • Who's on the site right now?get_realtime
  • Which articles earn their cost?content_roi
  • How do our articles perform, from search to visit?get_article_performance
  • What happened this week?project_report
  • How does this month compare with last year?get_analytics_overview

Skip the Python and Google Cloud setup

Google offers its own open-source Google Analytics MCP server. Here's what it takes to run, compared with SEOForge.

Google's own Analytics MCP server

  • Install Python 3.10 or later on every computer you use
  • Create a Google Cloud project and turn on the Analytics Admin and Data APIs
  • Set up Application Default Credentials with the gcloud command line
  • Analytics data only, without your Search Console clicks or rankings

Google Analytics through SEOForge

  • Sign in with Google once in SEOForge, with read-only access
  • Add one line to your AI tool. Nothing to install
  • Search Console, rank tracking and your articles next to Analytics
  • See which Google searches turn into sign-ups, not only visits
  • Analyses like content ROI and weekly reports, built in

Set up in two minutes

You need an SEOForge plan or the free trial.

  1. 1

    Connect Google Analytics in SEOForge

    Open Google Analytics in SEOForge, sign in with Google and pick your GA4 property. SEOForge gets read-only access.

  2. 2

    Create an API key

    In SEOForge, open Settings, then API & MCP. Name the key, choose its projects and copy it. It's shown only once.

  3. 3

    Add SEOForge to your assistant

    Run this in your terminal:

    Terminal
    claude mcp add --transport http --scope user seoforge https://www.seoforge.ai/api/mcp --header "Authorization: Bearer YOUR_API_KEY"

    Replace YOUR_API_KEY with the key you created.

  4. 4

    Ask your first question

    Restart your assistant and try “Which landing pages brought the most sessions last month?”

Stuck? The setup guide covers each client, limits and error messages.

More than Google Analytics

The same connection reads the rest of your SEO data, so your assistant can connect the dots: which searches bring visitors, which visitors convert, and what to write next.

Search Console
Google Analytics
Rank tracking
Content plan
seoforge.ai
From Search Console14 keywords are close to page oneWorth about 2,300 more clicks a month
From Content planNext up: “resource allocation template”Added to your content plan
From Rank tracking“kanban vs scrum” moved up to #9Up 5 positions this week

See everything the SEOForge MCP server can do, or read about the Google Search Console MCP server.

Google Analytics MCP questions

It's a connector that lets AI assistants like Claude Code or Cursor read your Google Analytics data through MCP (Model Context Protocol). You ask questions in plain English, such as which pages bring sign-ups, and the assistant answers from your real numbers instead of you building reports.

Connect Google Analytics to your AI assistant today

Connect your site, and SEOForge builds your keyword plan and drafts your first articles in your brand voice. Try it free for 3 days.