google-search-console-mcp
This server connects Google Search Console to AI assistants, enabling natural language analysis of SEO data, performance monitoring, and technical SEO tasks without requiring Google Cloud setup.
Manage Accounts & Sites: List all authenticated Google accounts and their associated Search Console properties.
Query Search Analytics: Retrieve clicks, impressions, CTR, and average position, grouped by dimensions like query, page, country, device, or date.
Inspect URLs: Check indexing status, mobile usability, and rich results eligibility to diagnose crawl/index issues.
Monitor Sitemaps: View all submitted sitemaps and their current statuses for a given site.
Find Keyword Opportunities: Discover queries with high impressions but low CTR to identify quick SEO wins.
Analyze Top Pages: Get top-performing pages ranked by clicks, impressions, CTR, or average position.
Compare Performance: Compare search metrics between two time periods (e.g., week-over-week) to spot gains or losses.
Brand vs. Non-Brand Analysis: Break down branded vs. non-branded traffic and their share of clicks/impressions.
Track Keyword Trends: View daily performance data (clicks, impressions, position) for a specific keyword over time.
Filter by Search Appearance: Refine analytics by appearance types such as AMP, Rich Results, FAQ, HowTo, Video, and more.
Filter by Search Type: Filter analytics by web, image, video, news, or discover results.
Export Data: Export search analytics as CSV or JSON for external reporting or further analysis.
Enables filtering of search performance metrics by the AMP search appearance to analyze and optimize the visibility of Accelerated Mobile Pages.
Facilitates authentication with Google accounts to access organic search traffic data, performance trends, and indexing status.
Utilizes Google Cloud for API enablement and OAuth 2.0 authentication to securely access Search Console property data.
Connects to Google Search Console to retrieve search analytics, inspect URL indexing status, manage sitemaps, and identify keyword optimization opportunities.
Google Search Console 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"
Related MCP server: Google Search Console + GA4 MCP Server
Quick Start
1. Install
npm install -g google-searchconsole-mcp2. Authenticate (one time)
gsc-mcp-authOpens 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 --list3. 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-mcpAvailable Tools (13 SEO Tools)
Tool | Description |
| List all authenticated Google accounts and their Search Console sites |
| List all Search Console properties you have access to |
| Query clicks, impressions, CTR, and position by any dimension (query, page, country, device, date) |
| Check URL indexing status, mobile usability, and rich results eligibility |
| List all submitted sitemaps and their status |
| Discover high-impression, low-CTR keywords — quick SEO wins |
| Get top pages sorted by clicks, impressions, CTR, or position |
| Compare search performance between two time periods (week-over-week, month-over-month) |
| Analyze brand vs non-brand organic traffic split |
| Get daily trend data for a specific keyword |
| Export search analytics data as CSV or JSON |
| Filter results by search appearance: AMP, FAQ, HowTo, Rich Results, Video, etc. |
| 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: 10Returns 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 rangeFilters 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 inspectReturns 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 rangesReturns 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
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
Available Tools
13 toolsanalyze_brand_queriesBRead-onlyIdempotent
Analyze branded vs non-branded search queries. Shows what percentage of traffic comes from brand searches.
Inputs: siteUrl (required), startDate (required), endDate (required), brandTerms (required), +1 more.
compare_performanceBRead-onlyIdempotent
Compare search performance between two time periods. Shows which queries/pages gained or lost traffic.
Inputs: siteUrl (required), currentStartDate (required), currentEndDate (required), previousStartDate (required), +4 more.
export_analyticsBRead-onlyIdempotent
Export search analytics data as CSV or JSON format for external analysis or reporting.
Inputs: siteUrl (required), startDate (required), endDate (required), dimensions (required), +4 more.
find_keyword_opportunitiesARead-onlyIdempotent
Find keyword optimization opportunities - queries with high impressions but low CTR that could be improved.
Inputs: siteUrl (required), startDate (required), endDate (required), account, +3 more.
get_keyword_trendBRead-onlyIdempotent
Get the performance trend of a specific keyword over time. Shows daily clicks, impressions, and position changes.
Inputs: siteUrl (required), keyword (required), startDate (required), endDate (required), +1 more.
get_top_pagesBRead-onlyIdempotent
Get top performing pages sorted by clicks, impressions, CTR, or position.
Inputs: siteUrl (required), startDate (required), endDate (required), account, +2 more.
inspect_urlARead-onlyIdempotent
Inspect a URL to check its indexing status, mobile usability, and rich results. Shows if Google can crawl and index the page.
Inputs: siteUrl (required), inspectionUrl (required), account.
list_accountsARead-onlyIdempotent
List all authenticated Google accounts and their associated GSC sites.
Inputs: no named parameters.
list_sitemapsARead-onlyIdempotent
List all sitemaps submitted for a site in Google Search Console.
Inputs: siteUrl (required), account.
list_sitesARead-onlyIdempotent
List all sites you have access to in Google Search Console. When multiple accounts exist and no account is specified, shows all accounts' sites grouped by account.
Inputs: account.
query_by_search_appearanceARead-onlyIdempotent
Query analytics filtered by search appearance type (AMP, Rich Results, Video, FAQ, etc.).
Inputs: siteUrl (required), startDate (required), endDate (required), searchAppearance (required), +2 more.
query_by_search_typeBRead-onlyIdempotent
Query analytics filtered by search type: web, image, video, news, or discover.
Inputs: siteUrl (required), startDate (required), endDate (required), searchType (required), +3 more.
query_search_analyticsBRead-onlyIdempotent
Query Google Search Console search analytics data. Returns search queries, clicks, impressions, CTR, and average position.
Inputs: siteUrl (required), startDate (required), endDate (required), account, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Tools are well-differentiated by function, though the three 'query_' prefixed tools (query_search_analytics, query_by_search_type, query_by_search_appearance) serve related purposes and require careful reading to select the appropriate filter. All other tools have distinct, non-overlapping domains such as URL inspection, sitemap listing, and brand analysis.
Consistent snake_case format throughout with descriptive verb_noun patterns (e.g., analyze_brand_queries, export_analytics, inspect_url). Minor deviation with 'query_by_' prepositional structure for two tools, but this remains predictable and readable.
Thirteen tools is ideal for Google Search Console analytics coverage—sufficient to handle diverse querying needs (time comparisons, keyword trends, search appearances) without becoming overwhelming. Each tool addresses a specific analytical use case.
Excellent coverage of GSC analytics workflows including performance comparison, keyword opportunity detection, and multi-dimensional querying. Minor gaps in site management operations (no submit_sitemap or request_indexing tools), but core data retrieval and URL inspection capabilities are fully represented.
Maintenance
Related MCP Connectors
Query your Google Search Console, GA4 and Bing Webmaster data across every site you run.
Google Search Console for all your sites at once: clicks, queries, pages, Discover, indexing.
Google Search Console for AI assistants: traffic, rankings, indexing and page checks. Read-only.
Search Console SEO analytics: rankings, clicks, CTR, striking-distance insights, charts, sitemaps.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides access to Google Search Console to retrieve and analyze search performance data including queries, pages, and rankings. It enables users to perform rich data analysis through customizable reporting periods and dimensions using the Search Console API.MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables querying Google Search Console and Google Analytics 4 data to retrieve search performance and site analytics. It provides tools for listing web properties and running detailed reports using secure Google OAuth authentication.-
- AlicenseNot gradedqualityDmaintenanceEnables querying Google Search Console data including rankings, clicks, and impressions for websites. Provides tools for analyzing search performance, top queries, page metrics, and ranking changes.MIT
- AlicenseAqualityBmaintenanceGoogle Search Console for agents: search analytics by query, page, country, and device, plus a striking-distance report for queries ranking just off page one. Also lists, submits, and removes sitemaps and inspects URLs for index status, last crawl, and canonical.7304 npmMIT