search-console-mcp
Provides tools for interacting with the Google Search Console API, enabling listing accessible sites and sitemaps, querying search analytics by query/page/country/device/date/search appearance with filters and paging, inspecting URLs, and submitting or deleting sitemaps.
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., "@search-console-mcpshow clicks and impressions for example.com last 7 days"
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.
search-console-mcp
A small, stateless MCP server for the Google Search Console API, served over Streamable HTTP.
It never stores credentials. Every request must carry Authorization: Bearer <Google access token>, and the server uses that token for that one request. An auth proxy such as Nango keeps the Google login, refreshes it, and adds the header. Because the token decides which account is used, one container serves any number of Google accounts.
MCP client ──► auth proxy (Nango: stores + refreshes the Google login)
│ Authorization: Bearer ya29…
▼
search-console-mcp ──► Search Console APITools
Tool | What it does |
| Properties the account can access, with permission level |
| Clicks, impressions, CTR, position grouped by query / page / country / device / date / searchAppearance, with filters and paging |
| Submitted sitemaps with download, error, warning and indexed counts |
| Status of one sitemap |
| URL Inspection: index verdict, coverage, last crawl, canonical |
| Submit or resubmit a sitemap (write) |
| Remove a sitemap (write) |
Set GSC_READ_ONLY=true to hide the two write tools.
Related MCP server: Google Search Console MCP Server
Google scopes
The token must have https://www.googleapis.com/auth/webmasters (read and write) or https://www.googleapis.com/auth/webmasters.readonly (read only). The Google Cloud project that owns the OAuth client must have the Google Search Console API enabled.
Configuration
Env var | Default | Purpose |
|
| Listen port |
|
| Listen address |
|
| MCP endpoint path |
|
| Hide |
|
| Timeout for each Google API call |
GET /health returns {"ok":true}. The server is stateless: only POST /mcp is served (GET and DELETE return 405), and a request without a bearer token gets 401.
Run
npm ci && npm run build
PORT=8000 node dist/index.jsor with Docker:
docker build -t search-console-mcp-http .
docker run --rm -p 8000:8000 search-console-mcp-httpKeep it on a private network behind the auth proxy. It does not check who is calling, only that a Google token is present, and Google checks the token itself.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Ask Google Search Console in plain language. Hosted, free, no Google Cloud project.
Read Search Console performance, keyword opportunities and annotations for your sites.
SEO & marketing toolkit for AI agents: GA4, Search Console, AdSense, GTM, PageSpeed, Trends.
Open-source SEO manager for coding agents: keyword research, content PRs, rank + Search Console.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables interaction with Google Search Console via MCP, offering search analytics, performance summaries, URL inspection, sitemap management, and property listing for SEO workflows.159 npm1MIT
- FlicenseNot gradedqualityFmaintenanceEnables interacting with Google Search Console via natural language, supporting search analytics, URL inspection, sitemap management, and site listing.25-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to query Google Search Console data including search analytics, URL inspection, sitemap management, and site performance monitoring, with per-user OAuth authentication.-
- AlicenseAqualityBmaintenanceMCP server for Google Search Console API, enabling search performance analysis, URL inspection, sitemap management, and property listing. Supports local, self-hosted, and Cloudflare Workers deployments.11MIT