SEO Skill

Google Analytics MCP for Claude Code

Ask Claude Code about your Google Analytics data in plain words. Add one server, sign in with Google, and it reads your own numbers on each request.

Get started free
  1. 1

    Run this in a terminal. The user scope makes it available in every project:

    claude mcp add --transport http --scope user seoskill https://seoskill.dev/mcp
  2. 2

    Start Claude Code, type /mcp, choose seoskill and sign in. Or run claude mcp login seoskill from the shell.

A browser tab opens for Google sign-in. Claude Code keeps the token, so you sign in once.

Prompts to try in Claude Code

Ask in plain words and your agent picks the tool. Only visits that pass a referrer or tag count as coming from an AI assistant. An AI app that sends neither shows up as Direct.

  • Did search traffic drop, or all traffic?

    The report puts Organic Search sessions next to sessions from all channels, so a sitewide drop looks different from a search drop.

  • Which landing pages does search send people to?

    seo_data with Google Analytics as the source: each landing page with sessions, users, engaged sessions and key events.

  • How many visits come from ChatGPT and Perplexity?

    The AI assistants rows: visits from ChatGPT, Perplexity, Claude, Gemini and Copilot, and the pages they land on.

  • Do clicks and sessions agree for my blog?

    Clicks from Search Console beside Organic Search sessions for the same dates. They count different things, so expect a gap.

Google Analytics in other AI clients

The same server and sign-in, with each client's own setup steps.

More data for Claude Code

One server reads all of these. Add a key or a site and your agent can use it.

Questions about Google Analytics in Claude Code