Connect OpenClaw or another MCP-compatible agent to Google Search Console and retrieve official read-only properties, performance, sitemap, and URL inspection data. Use for clicks, impressions, CTR, average position, queries, pages, countries, devices, dates, and indexing investigations.
Data & analysis
Google Search Console
Try itQuery Google Search Console data from the CLI for search analytics and indexing checks.
What it does
A read-only CLI wrapper around the Google Search Console API. It runs queries for search analytics, URL indexing status, and sitemaps, supports dimensions like query, page, country, device, and date, and returns clicks, impressions, CTR, and average position. Use it to surface low-CTR pages, top queries, and sitemap health. It does not modify the property, and OAuth credentials are not stored beyond the current session.
When to use it
- Surface high-impression, low-CTR pages worth optimizing
- List the search queries driving traffic to a site
- Inspect a URL's crawl and indexing status
- Check submitted sitemaps for errors
The skill document
Google Search Console Skill
Query GSC for search analytics, indexing status, and SEO insights.
Safety Boundaries
- This skill only connects to Google Search Console API endpoints.
- It does NOT modify your Search Console property — read-only queries only.
- It does NOT store or transmit credentials beyond the current session.
- It requires OAuth credentials set as environment variables.
Setup
- Credentials: Set OAuth credentials in environment variables (or a local
.envloaded by your shell) - Scopes: Requires
webmasters.readonlyscope on your Google Cloud OAuth consent screen - Access: Your Google account must have access to the Search Console properties
Commands
List Available Sites
python scripts/gsc_query.py sites
Top Search Queries
python scripts/gsc_query.py top-queries \
--site "https://www.nutrient.io" \
--days 28 \
--limit 20
Top Pages by Traffic
python scripts/gsc_query.py top-pages \
--site "https://www.nutrient.io" \
--days 28 \
--limit 20
Find Low-CTR Opportunities
High impressions but low click-through rate = optimization opportunities:
python scripts/gsc_query.py opportunities \
--site "https://www.nutrient.io" \
--days 28 \
--min-impressions 100
Inspect URL Indexing Status
python scripts/gsc_query.py inspect-url \
--site "https://www.nutrient.io" \
--url "/sdk/web"
List Sitemaps
python scripts/gsc_query.py sitemaps \
--site "https://www.nutrient.io"
Raw Search Analytics (JSON)
python scripts/gsc_query.py search-analytics \
--site "https://www.nutrient.io" \
--days 28 \
--dimensions query page \
--limit 100
Available Dimensions
query- Search querypage- Landing page URLcountry- Country codedevice- DESKTOP, MOBILE, TABLETdate- Date
Metrics Returned
- clicks - Number of clicks from search
- impressions - Number of times shown in search
- ctr - Click-through rate (clicks/impressions)
- position - Average ranking position
SEO Use Cases
- Content Optimization: Find high-impression/low-CTR pages → improve titles & descriptions
- Keyword Research: See what queries bring traffic → create more content around them
- Technical SEO: Check indexing status, find crawl issues
- Ranking Tracking: Monitor position changes over time
- Sitemap Health: Verify sitemaps are submitted and error-free
Notes
- Data has ~3 day delay (GSC limitation)
- Credentials shared with GA4 skill
- URL inspection requires the page to be in the property
Related skills
Google SEO APIs: Search Console (Search Analytics, URL Inspection, Sitemaps), PageSpeed Insights v5, CrUX field data with 25-week history, Indexing API v3, and GA4 organic traffic. Provides real Google field data for Core Web Vitals, indexation status, search performance, and organic traffic trends. Use when user says "search console", "GSC", "PageSpeed", "CrUX", "field data", "indexing API", "GA4 organic", "URL inspection", or "real CWV data".
Read Google Analytics 4 reporting data through the GA4 Data API. Use for explicit GA4 property metadata, compatible metric/dimension reports, traffic analysis, key events, quotas, and bounded exports.
Connect to Google Search Console via a managed OAuth proxy to query search analytics, manage sitemaps, and inspect site performance.
Search Google and get structured SERP results
Scrapes Google search results for any query using apidojo's Google Search scraper on Apify. Triggers when the user asks to: get Google search results for a keyword, scrape SERP data for a query, export Google results to a dataset, fetch URLs and snippets from Google for a search term, get all results from a Google search, or collect Google SERP data for multiple keywords. Returns URL, title, snippet, position, and SERP feature type per result. Ideal for SEO analysts, researchers, journalists, and competitive intelligence teams.