[ Sign in ]
[ SYSTEM DOC ] Updated 2026-06-16

Google Analytics MCP for Claude Code

Connect GA4 once and let Claude Code query live analytics data through Refresh Agent's MCP and OpenAPI bridge.

What Is Google Analytics MCP for Claude Code?

Google Analytics MCP for Claude Code is a managed data bridge that gives Claude Code and terminal-based AI agents live access to your Google Analytics 4 data through MCP — without any Google Cloud Platform setup.

Instead of creating a GCP project, configuring OAuth consent screens, generating JSON key files, and managing refresh tokens, you connect once with a single Google sign-in. Your agent can then query your live search data directly. This page covers the google analytics mcp workflow end-to-end.

What Agents Can Do With It

The main use case is to query traffic, conversions, landing pages, channels, and event performance from your agent. That makes the agent useful for live diagnosis instead of generic advice.

  • Investigate organic traffic or conversion changes with source data.
  • Turn page, query, channel, and conversion evidence into next steps.
  • Feed Google data into coding, content, SEO, and proposal workflows.

Example Prompts

Try these after connecting Google:

Show GA4 sessions and conversions by channel for the last 28 days.
Analyse my SEO performance for the last 28 days
Which pages are losing traffic and what should I update?
Find keywords where I rank on page 2 with high impressions
Write this week's SEO performance brief

For related workflows, see Google Search Console MCP.

Free Tier and $10 Live Data Plan

Free for a limited number of requests each month. Upgrade to the $10/month Live Data plan for unlimited data requests, subject to Google's own API quotas and account permissions.

The free tier is for trying the connection and validating that your agent can read the data. The Live Data plan is for ongoing terminal use when you want Google data available every time you work.

Upgrade to $10/mo Unlimited