Skip to content

Google SEO APIs

Pulls real Google data (Search Console, PageSpeed, CrUX, Indexing, GA4) into your SEO analysis.

Stars
25,798
Licence
MIT
Files
15 files

What it does

This skill teaches an AI agent to query Google's own SEO services directly, instead of only guessing from crawls. Once installed, the agent can fetch real Chrome user performance metrics (Core Web Vitals), check whether pages are indexed in Google, pull search clicks and impressions from Search Console, and report organic traffic from Google Analytics 4. It runs helper scripts and uses saved API credentials to do this.

Great for

  • SEO specialists who want real Google field data alongside crawl-based audits
  • Site owners checking indexing status or Core Web Vitals trends over 25 weeks
  • Agencies reporting on organic search performance from Search Console and GA4

Skip it if

  • Users without a Google Cloud project or Search Console access, since most commands fail without credentials
  • Anyone who wants a quick one-off SEO check with no setup, because configuring API keys and service accounts takes effort and stores secrets locally
  • Sensitive properties where you do not want query data or URLs sent to Google APIs via scripts you have not reviewed

Try asking

  • “Show me the 25-week Core Web Vitals trend for example.com”
  • “Pull last 28 days of Search Console queries for sc-domain:example.com and flag quick wins at positions 4-10”
  • “Check whether these URLs are indexed using URL Inspection”
  • “Give me real CrUX field data and PageSpeed results for this page on mobile and desktop”
Step-by-step guide: how to use Google SEO APIsInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 15 original files, the MIT licence and an attribution note.

    seo-google.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip seo-google.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip seo-google.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Run the credential check first so the agent reports which tier (API key, OAuth/service account, GA4, Ads) is available before commands run
  • Store service account credentials with restricted permissions and only grant the Search Console and GA4 access the property needs
  • Read the DMA and Consent Mode notes before interpreting EU CTR or GA4 drops, since consent settings change what is recorded

What's inside

  • assets/templates/cwv-audit-report.md
  • assets/templates/gsc-performance-report.md
  • assets/templates/indexation-status-report.md
  • LICENSE.txt
  • references/auth-setup.md
  • references/crux-history-api.md
  • references/dma-consent-mode-v2.md
  • references/ga4-data-api.md
  • references/indexing-api.md
  • references/keyword-planner-api.md
  • references/nlp-api.md
  • references/pagespeed-crux-api.md
  • references/rate-limits-quotas.md
  • references/search-console-api.md
  • SKILL.md

Redistributed unmodified from AgriciDaniel/claude-seo under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.