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

Claude Code Google Analytics Connection

Connect Claude Code to Google Analytics through Refresh Agent so it can query GA4 while analyzing code, content, and growth work.

What Is Claude Code Google Analytics Connection?

Claude Code Google Analytics Connection is a managed data bridge that gives Claude Code live access to your Google Analytics 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 claude code google analytics workflow end-to-end.

What Agents Can Do With It

The main use case is to let Claude Code use GA4 evidence while diagnosing traffic and conversion changes. 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:

Claude Code, check Google Analytics and explain the conversion drop by channel.
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 Analytics 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