Google Search Console MCP Server
Provides tools to query Search Console search analytics with filters, inspect URLs for indexation, crawl, canonical, mobile, and rich-result data, list and manage sitemaps, and list verified properties.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Google Search Console MCP Server
An MCP (Model Context Protocol) server that provides tools to query Google Search Console data from AI assistants like Claude.
Features
Search Analytics -- Query clicks, impressions, CTR, and position with filtering by query, page, country, device, and date
URL Inspection -- Check indexation status, crawl info, canonical URLs, mobile usability, and rich results
Sitemap Management -- List, get details, submit, and delete sitemaps
Site Listing -- List all verified properties and their permission levels
Related MCP server: search-console-mcp
Tools
Tool | Description | Read-only |
| List all verified Search Console properties | Yes |
| Query search performance data with dimensions and filters | Yes |
| Inspect a URL's index status, crawl, and rich results | Yes |
| List submitted sitemaps for a property | Yes |
| Get details for a specific sitemap | Yes |
| Submit a sitemap (requires | No |
| Delete a submitted sitemap (requires | No |
Installation
Prerequisites
Python 3.11+
uv (recommended) or pip
Google Cloud credentials with Search Console API access
Install dependencies
git clone https://github.com/kn00m1/google-search-console-mcp.git
cd google-search-console-mcp
uv syncAuthentication
The server tries credentials in this order:
Cached token (
~/.config/gsc-mcp/token.json) -- from a previous OAuth flowApplication Default Credentials (ADC) -- from
gcloud auth application-default loginOAuth2 browser flow -- using
~/.config/gsc-mcp/client_secrets.json
Quickest setup (ADC)
gcloud auth application-default login --scopes=https://www.googleapis.com/auth/webmasters.readonlyOAuth2 setup (if ADC doesn't cover your scopes)
Create an OAuth client ID (Desktop app) in Google Cloud Console
Download the JSON and save it as
~/.config/gsc-mcp/client_secrets.jsonThe server will open a browser for consent on first run
Usage
With Claude Code
Add to ~/.claude/settings.json:
{
"mcpServers": {
"google-search-console": {
"command": "uv",
"args": ["run", "--directory", "/path/to/google-search-console-mcp", "python", "-m", "gsc_mcp.server"],
"env": {
"PATH": "/usr/local/bin:/usr/bin:/bin"
}
}
}
}With any MCP client
uv run python -m gsc_mcp.serverThe server communicates over stdio using the MCP protocol.
Enable write access
Set the environment variable to unlock sitemap submit/delete tools:
GSC_WRITE_ACCESS=true uv run python -m gsc_mcp.serverSecurity
Token files are stored with
0600permissionsAPI responses are sanitized against prompt injection patterns
Error messages redact OAuth tokens and API keys
Write tools (submit/delete sitemap) are disabled by default
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Google Search Console for AI assistants: traffic, rankings, indexing and page checks. Read-only.
Read Search Console queries, clicks and positions, and inspect URLs for indexing.
Read-only Google Search Console and Google Analytics for AI agents.
Google Search Console in your AI: overview, opportunities, index gaps, page checks, long history.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to query and manage Google Search Console data, including search analytics, URL indexing status, and sitemap management, for SEO and LLMO analysis directly from a conversation.15MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to access Google Search Console search performance and index health data, including clicks, impressions, rankings, URL inspection, and sitemap management.22 npmMIT
- AlicenseAqualityDmaintenanceEnables AI assistants to analyze Google Search Console SEO data through natural language, including search analytics, URL inspection, sitemap management, and property management.21MIT
- AlicenseAqualityBmaintenanceEnables AI agents to query and analyze Google Search Console data, including search analytics, URL inspection, sitemaps, and property verification, and to perform actions like submitting sitemaps and adding properties through natural language.1928 npm1MIT