Google Searchconsole
FreeNot checkedMCP server for Google Search Console — query search analytics, inspect URLs, find keyword opportunities, track SEO performance. Works with Claude Desktop, Curso
About
MCP server for Google Search Console — query search analytics, inspect URLs, find keyword opportunities, track SEO performance. Works with Claude Desktop, Cursor, Windsurf.
README
npm version License: MIT google-searchconsole-mcp MCP server
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_pageswith your site URL, date range of last 30 days,sortBy: "clicks", andlimit: 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_opportunitieswith 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_urlwith 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_performancewith 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:
- Your browser opens Google's login page
- You log in with your Google account
- You grant read-only access to your Search Console data
- 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
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
How to create your own Google Cloud OAuth credentials
- Go to Google Cloud Console
- Create a project (or select existing)
- Enable the Google Search Console API
- Go to Credentials > Create Credentials > OAuth 2.0 Client ID
- Choose Desktop app as application type
- Download the credentials JSON file
Requirements
- Node.js >= 18
- A Google account with access to Google Search Console
Related
- Model Context Protocol — The open standard for AI-tool integration
- Claude Desktop — Anthropic's desktop AI assistant
- MCP Server Registry — Curated list of MCP servers
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
Installing Google Searchconsole
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/lionkiii/google-searchconsole-mcpFAQ
Is Google Searchconsole MCP free?
Yes, Google Searchconsole MCP is free — one-click install via Unyly at no cost.
Does Google Searchconsole need an API key?
Yes, it requires environment variables: GSC_CLIENT_ID, GSC_CLIENT_SECRET. Unyly injects them into the config during install.
Is Google Searchconsole hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Google Searchconsole in Claude Desktop, Claude Code or Cursor?
Open Google Searchconsole on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Opencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
by GitHub ActionsRoblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
by paralovAntigravity Drawio
MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
by S-SUJAN-SFetch
Web content fetching and conversion for efficient LLM usage.
Mcp
ModelContextProtocol server for enhancing JSON Resumes
by mcpflow.ioVault
Bitwarden/Vaultwarden MCP server — BYOK vault access with 6 tools, Send-based reveal, TOTP, and safe agent-write
by agbergsmannAWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiCompare Google Searchconsole with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
