Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

google-searchconsole-mcp MCP server](https://glama.ai/mcp/servers/lionkiii/google-searchconsole-mcp/badges/score.svg)](https://glama.ai/mcp/servers/lionkiii/google-searchconsole-mcp) πŸ“‡ 🏠 - Google Search Console MCP server with 13 SEO tools β€” search...

README.md

Google Search Console MCP Server

![npm version](https://www.npmjs.com/package/google-searchconsole-mcp) ![License: MIT](https://opensource.org/licenses/MIT) ![google-searchconsole-mcp MCP server](https://glama.ai/mcp/servers/lionkiii/google-searchconsole-mcp)

A Model Context Protocol (MCP) server that connects Google Search Console to AI assistants like Claude Desktop, Cursor, Windsurf, and any MCP-compatible client. Analyze your SEO data, inspect URLs, find keyword opportunities, and track search performance β€” all through natural language.

No Google Cloud setup required. Install, authenticate with your Google account, and start querying your Search Console data in under 2 minutes.

What Can You Do?

Ask Claude questions like:

  • "What are my top performing pages this month?"
  • "Find keywords where I have high impressions but low CTR"
  • "Compare my search performance this month vs last month"
  • "Is this URL indexed? Any issues?"
  • "Show me my brand vs non-brand traffic split"

Quick Start

1. Install

npm install -g google-searchconsole-mcp

2. Authenticate (one time)

gsc-mcp-auth

Opens your browser β€” log in with your Google account and grant Search Console read access. Your tokens are saved locally to ~/.gsc-mcp/tokens/. Your data stays on your machine.

Multiple accounts:

gsc-mcp-auth --alias work
gsc-mcp-auth --alias personal
gsc-mcp-auth --list

3. Add to Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "google-search-console": {
      "command": "npx",
      "args": ["-y", "google-searchconsole-mcp"]
    }
  }
}

Restart Claude Desktop. Done β€” your Search Console data is now available in Claude.

Use with Other MCP Clients

Works with any MCP-compatible client including Cursor, Windsurf, VS Code + Cline, and more. Just point the MCP client to:

npx google-searchconsole-mcp

Available Tools (13 SEO Tools)

| Tool | Description | |------|-------------| | list_accounts | List all authenticated Google accounts and their Search Console sites | | list_sites | List all Search Console properties you have access to | | query_search_analytics | Query clicks, impressions, CTR, and position by any dimension (query, page, country, device, date) | | inspect_url | Check URL indexing status, mobile usability, and rich results eligibility | | list_sitemaps | List all submitted sitemaps and their status | | find_keyword_opportunities | Discover high-impression, low-CTR keywords β€” quick SEO wins | | get_top_pages | Get top pages sorted by clicks, impressions, CTR, or position | | compare_performance | Compare search performance between two time periods (week-over-week, month-over-month) | | analyze_brand_queries | Analyze brand vs non-brand organic traffic split | | get_keyword_trend | Get daily trend data for a specific keyword | | export_analytics | Export search analytics data as CSV or JSON | | query_by_search_appearance | Filter results by search appearance: AMP, FAQ, HowTo, Rich Results, Video, etc. | | query_by_search_type | Filter by search type: web, image, video, news, or discover |

Examples

Example 1: Find your top performing pages

User prompt: "Show me my top 10 pages by clicks for the last 30 days"

Expected behavior:

  • Calls get_top_pages with your site URL, date range of last 30 days, sortBy: "clicks", and limit: 10
  • Returns a ranked list of your top 10 pages with clicks, impressions, CTR, and average position for each
  • Helps identify your strongest content and highest-traffic landing pages

Example 2: Discover keyword optimization opportunities

User prompt: "Find keywords where I have high impressions but low CTR on example.com"

Expected behavior:

  • Calls find_keyword_opportunities with your site URL and a 28-day date range
  • Filters for queries with 100+ impressions and less than 3% CTR within the top 20 positions
  • Returns a list of keywords where better titles, meta descriptions, or content could significantly increase clicks

Example 3: Check if a URL is indexed by Google

User prompt: "Check if https://example.com/blog/my-new-post is indexed"

Expected behavior:

  • Calls inspect_url with the site property and the full URL to inspect
  • Returns indexing status (indexed, crawled but not indexed, not found, etc.), last crawl date, mobile usability status, and any rich results detected
  • Identifies issues preventing indexing such as robots.txt blocks, noindex tags, or crawl errors

Example 4: Compare this month vs last month

User prompt: "Compare my search performance this month vs last month for example.com"

Expected behavior:

  • Calls compare_performance with current and previous month date ranges
  • Returns queries that gained or lost the most clicks, with delta values for clicks, impressions, CTR, and position
  • Highlights trending keywords and declining pages to prioritize optimization efforts

Use Cases

  • SEO Performance Monitoring β€” Track clicks, impressions, CTR, and average position over time
  • Keyword Research & Opportunities β€” Find keywords you rank for with high impressions but low CTR
  • Content Optimization β€” Identify which pages need improvement based on search data
  • Technical SEO Audits β€” Check URL indexing status, sitemap health, and mobile usability
  • Competitive Analysis β€” Compare performance periods to spot trends and drops
  • Reporting β€” Export data for SEO reports and dashboards
  • Brand Monitoring β€” Track brand vs non-brand search traffic

How Authentication Works

This package ships with built-in OAuth credentials β€” you don't need to create a Google Cloud project. When you run gsc-mcp-auth:

  1. Your browser opens Google's login page
  2. You log in with your Google account
  3. You grant read-only access to your Search Console data
  4. Tokens are saved locally on your machine (~/.gsc-mcp/tokens/)

Your data never leaves your machine. The OAuth credentials just identify the app β€” each user authenticates separately and can only access their own Search Console data.

Advanced: Use Your Own OAuth Credentials

If you prefer to use your own Google Cloud project:

Option A: Environment variables ``bash export GSC_CLIENT_ID="your-client-id" export GSC_CLIENT_SECRET="your-client-secret" ``

Option B: Credentials file Save your OAuth credentials JSON to ~/.gsc-mcp/credentials.json

<details> <summary>How to create your own Google Cloud OAuth credentials</summary>

  1. Go to Google Cloud Console
  2. Create a project (or select existing)
  3. Enable the Google Search Console API
  4. Go to Credentials > Create Credentials > OAuth 2.0 Client ID
  5. Choose Desktop app as application type
  6. Download the credentials JSON file

</details>

Requirements

  • Node.js >= 18
  • A Google account with access to Google Search Console

Related

Privacy Policy

See PRIVACY.md for our complete privacy policy.

TL;DR: This extension runs locally on your machine. OAuth tokens are stored locally in ~/.gsc-mcp/, and all Search Console data is queried directly from Google's API without passing through any intermediary. No data is collected, stored, or transmitted to any third party by this MCP server.

License

MIT

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Search servers.