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.
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.
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
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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Google Search Console for AI assistants: traffic, rankings, indexing and page checks. Read-only.
Multi-tenant GSC data fetcher for AI agents. OAuth secured.
Ask Google Search Console in plain language. Hosted, free, no Google Cloud project.
Read-only Google Search Console MCP server for AI assistants.
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.1,223 npm1MIT
- AlicenseAqualityDmaintenanceMCP 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
- 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.1916 npm1MIT
- AlicenseBqualityCmaintenanceWraps the full Google Search Console API v1 so LLMs can query search performance data, inspect URL indexing status, and manage properties and sitemaps. Also adds task-shaped tools for common questions like top queries, top pages, period comparisons, and bulk inspections, with optional read-only mode.22MIT