Google Search Console MCP Server
Provides tools to query Google Search Console data, including search analytics (clicks, impressions, CTR, position), URL inspection, sitemap management, and site listing.
Click on "Install 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 ServerShow me search analytics for last week"
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
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: mcp-gsc
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for querying Google Search Console data — search analytics, URL inspection, sitemap monitoring, and more — read-only tools for any MCP-compatible AI client.7Apache 2.0
- Alicense-qualityAmaintenanceMCP server for Google Search Console, enabling querying search analytics, URL inspection, sitemap management, and more via natural language.5841MIT
- AlicenseAqualityCmaintenanceA lightweight, fast MCP server for Google Search Console. Query search analytics, manage sitemaps, and inspect URLs directly from your AI assistant.7Apache 2.0
- Alicense-qualityDmaintenanceThis MCP server provides LLMs with programmatic access to Google Search Console data and functionality, including search analytics, sitemap management, site management, and URL inspection.MIT
Related MCP Connectors
SEO MCP server: crawl your site, find AI-visibility gaps, and ship the fix from your coding agent.
Serper MCP — wraps the Serper Google Search API (serper.dev)
MCP server for Google search results via SERP API
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jcd3dr/google-search-console-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server