Google Search Console MCP Server
The Google Search Console MCP Server provides access to Google Search Console data and functionality through a Model Context Protocol (MCP) server interface. You can:
List Sites: View all sites associated with your account
Search Analytics: Retrieve search performance data with customizable dimensions, dates, filters, search types, and row limits
URL Inspection: Check if a specific URL is indexed or can be indexed
Sitemap Management: List existing sitemaps, get details about specific sitemaps, and submit new sitemaps for a site
Allows retrieving search analytics data from Google Search Console, including search performance metrics with dimensions support, customizable reporting periods, and rich data analysis capabilities.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google Search Console MCP Server show me top queries for my site last month with quick wins detection"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google Search Console MCP Server
A Model Context Protocol (MCP) server providing comprehensive access to Google Search Console data with enhanced analytics capabilities.
Features
Enhanced Search Analytics: Retrieve up to 25,000 rows of performance data
Advanced Filtering: Support for regex patterns and multiple filter operators
Quick Wins Detection: Automatically identify optimization opportunities
Rich Dimensions: Query, page, country, device, and search appearance analysis
Flexible Date Ranges: Customizable reporting periods with historical data access
Sponsored by
macuse.app is a native macOS application that gives your AI superpowers by integrating AI assistants with macOS apps like Calendar, Mail, and Notes, plus universal UI control for any application. Supports Claude Desktop, Cursor, and Raycast with one-click setup. Privacy-first, runs locally.
Related MCP server: Google Search Console API MCP Server
Prerequisites
Node.js 18 or later
Google Cloud Project with Search Console API enabled
Service Account credentials with Search Console access
Installation
npm install mcp-server-gscAuthentication Setup
To obtain Google Search Console API credentials:
Visit the Google Cloud Console
Create a new project or select an existing one
Enable the API:
Go to "APIs & Services" > "Library"
Search for and enable "Search Console API"
Create credentials:
Navigate to "APIs & Services" > "Credentials"
Click "Create Credentials" > "Service Account"
Fill in the service account details
Create a new key in JSON format
The credentials file (.json) will download automatically
Grant access:
Open Search Console
Add the service account email (format: name@project.iam.gserviceaccount.com) as a property administrator
Usage
Claude Desktop Configuration
{
"mcpServers": {
"gsc": {
"command": "npx",
"args": ["-y", "mcp-server-gsc"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/credentials.json"
}
}
}
}Available Tools
search_analytics
Get comprehensive search performance data from Google Search Console with enhanced analytics capabilities.
Required Parameters:
siteUrl: Site URL (format:http://www.example.com/orsc-domain:example.com)startDate: Start date (YYYY-MM-DD)endDate: End date (YYYY-MM-DD)
Optional Parameters:
dimensions: Comma-separated list (query,page,country,device,searchAppearance,date)type: Search type (web,image,video,news,discover,googleNews)aggregationType: Aggregation method (auto,byNewsShowcasePanel,byProperty,byPage)rowLimit: Maximum rows to return (default: 1000, max: 25000)dataState: Data freshness (allorfinal, default:final)
Filter Parameters:
pageFilter: Filter by page URL (supports regex withregex:prefix)queryFilter: Filter by search query (supports regex withregex:prefix)countryFilter: Filter by country ISO 3166-1 alpha-3 code (e.g.,USA,CHN)deviceFilter: Filter by device type (DESKTOP,MOBILE,TABLET)searchAppearanceFilter: Filter by search feature (e.g.,AMP_BLUE_LINK,AMP_TOP_STORIES)filterOperator: Operator for filters (equals,contains,notEquals,notContains,includingRegex,excludingRegex)
Quick Wins Detection:
detectQuickWins: Enable automatic detection of optimization opportunities (default:false)quickWinsConfig: Configuration for quick wins detection:positionRange: Position range to consider (default:[4, 20])minImpressions: Minimum impressions threshold (default:100)minCtr: Minimum CTR percentage (default:1)
Example - Basic Query:
{
"siteUrl": "https://example.com",
"startDate": "2024-01-01",
"endDate": "2024-01-31",
"dimensions": "query,page",
"rowLimit": 5000
}Example - Advanced Filtering with Regex:
{
"siteUrl": "https://example.com",
"startDate": "2024-01-01",
"endDate": "2024-01-31",
"dimensions": "page,query",
"queryFilter": "regex:(AI|machine learning|ML)",
"filterOperator": "includingRegex",
"deviceFilter": "MOBILE",
"rowLimit": 10000
}Example - Quick Wins Detection:
{
"siteUrl": "https://example.com",
"startDate": "2024-01-01",
"endDate": "2024-01-31",
"dimensions": "query,page",
"detectQuickWins": true,
"quickWinsConfig": {
"positionRange": [4, 15],
"minImpressions": 500,
"minCtr": 2
}
}License
MIT
Contributing
Contributions are welcome! Please read our contributing guidelines before submitting pull requests.
Available Tools
8 toolsdetect_quick_winsC
Automatically detect SEO quick wins and optimization opportunities
Inputs: siteUrl (required), startDate (required), endDate (required), minImpressions, +5 more.
enhanced_search_analyticsC
Enhanced search analytics with up to 25,000 rows, regex filters, and quick wins detection
Inputs: siteUrl (required), startDate (required), endDate (required), dimensions, +11 more.
get_sitemapC
Get a sitemap for a site in Google Search Console
Inputs: feedpath, siteUrl.
index_inspectC
Inspect a URL to see if it is indexed or can be indexed
Inputs: siteUrl (required), inspectionUrl (required), languageCode.
list_sitemapsC
List sitemaps for a site in Google Search Console
Inputs: sitemapIndex, siteUrl.
list_sitesB
List all sites in Google Search Console
Inputs: no named parameters.
search_analyticsC
Get search performance data from Google Search Console
Inputs: siteUrl (required), startDate (required), endDate (required), dimensions, +9 more.
submit_sitemapC
Submit a sitemap for a site in Google Search Console
Inputs: feedpath (required), siteUrl (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools have distinct purposes targeting different Google Search Console operations, but there is some overlap between 'search_analytics' and 'enhanced_search_analytics' which could cause confusion as both handle search performance data. The 'detect_quick_wins' tool also overlaps with the quick wins detection feature mentioned in 'enhanced_search_analytics', creating minor ambiguity.
Tool names follow a consistent verb_noun pattern throughout (e.g., list_sites, get_sitemap, submit_sitemap), with all using snake_case. The only deviation is 'index_inspect' which uses a noun_verb structure instead of verb_noun, but this is minor and doesn't significantly impact readability.
With 8 tools, the count is well-scoped for a Google Search Console server, covering core functionalities like site management, sitemap handling, search analytics, and URL inspection. Each tool appears to earn its place without feeling excessive or insufficient for the domain.
The tool set provides good coverage for Google Search Console operations, including listing sites, managing sitemaps, inspecting URLs, and analyzing search data. A minor gap exists in missing tools for more advanced features like URL removal requests or security issue reporting, but core workflows are well-covered.
Maintenance
Related MCP Connectors
Read-only Google Search Console MCP server for AI assistants.
Google Search Console for AI assistants: traffic, rankings, indexing and page checks. Read-only.
Hosted MCP server for GA4, Google Ads and Search Console. Google OAuth, nothing to install.
Hosted Google Search Console MCP server, with each action switched on or off per account.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides unified access to Google Analytics 4 and Google Search Console data through real-time analytics queries.2MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP Server that provides access to Google's Search Console API, allowing users to interact with website search performance data and manage search presence through natural language.-
- AlicenseBqualityAmaintenanceModel Context Protocol (MCP) server that provides AI agents with access to Google Search Console data.251,169 npm330MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for Google Search Console API that enables querying search analytics, managing sites, inspecting URLs, and supporting domain delegation via service accounts.1MIT