gsc-mcp
This MCP server provides full Google Search Console and Google Indexing API access through 13 tools.
Manage Search Console sites: list, get, add, and delete properties.
Manage sitemaps: list, get, submit, and delete sitemaps.
Query Search Analytics for clicks, impressions, CTR, and position with filtering, grouping, pagination, and hourly data support.
Inspect URLs for index status, crawl info, rich results, AMP, and mobile usability.
Use the Indexing API to notify Google about URL updates/removals, get notification metadata, and batch up to 100 notifications.
Supports inspecting a URL's AMP status, mobile usability, and rich results via the URL inspection tools.
Provides integration with the Google Indexing API to notify Google about URL updates or removals, supporting both single and batch notifications.
Offers full API coverage for Google Search Console, including managing sites, submitting sitemaps, and querying comprehensive search performance data like clicks, impressions, CTR, and ranking positions.
gsc-mcp
MCP server for Google Search Console API and Google Indexing API — full API coverage.
Requires Node.js 20 or newer, matching the MCP SDK's installed runtime dependencies.
When to Use
Task | Tool |
"Check which queries my site ranks for" |
|
"Notify Google about an eligible job posting or livestream URL" |
|
"Find pages with indexing errors" |
|
"Get search performance data for the last 30 days" |
|
"Compare click-through rates between mobile and desktop" |
|
"Submit my sitemap to Google" |
|
"Batch notify eligible job posting/livestream URLs" |
|
For AI agents: See
llms.txtfor a machine-readable summary. Copytemplates/CLAUDE.mdortemplates/AGENTS.mdinto your project to teach your agent about this MCP.
Unlike other GSC MCP servers that only wrap searchAnalytics.query, this server exposes every endpoint available in the Google Search Console and Indexing APIs.
Related MCP server: gsc-mcp
Tools (13)
Sites
Tool | Description |
| List all sites (properties) in your Search Console |
| Get details of a specific site |
| Add a new site (property) |
| Remove a site |
Sitemaps
Tool | Description |
| List all submitted sitemaps for a site |
| Get details of a specific sitemap |
| Submit a sitemap |
| Delete a sitemap |
Search Analytics
Tool | Description |
| Query search performance data (clicks, impressions, CTR, position) with filtering and grouping. Supports hourly data with the |
URL Inspection
Tool | Description |
| Inspect a URL's index status, crawl info, rich results, and AMP (the deprecated mobile-usability field may be absent) |
Indexing API
Tool | Description |
| Notify Google about an eligible |
| Get latest notification metadata for an eligible URL (requires |
| Batch notify up to 100 eligible URLs and report every embedded request status |
Indexing API eligibility: Google supports this API only for pages with
JobPostingstructured data or livestream pages withBroadcastEventembedded in aVideoObject. The tools requirecontentTypeso callers must identify which supported type applies. A successful API response confirms receipt of the notification; it does not guarantee that Google indexed the URL. Useurl_inspection_inspectto check index status. See Google's Indexing API usage guide.
Indexing API quotas
Google's default per-project limits are 200 publish requests per day, 180 metadata requests per minute, and 380 requests per minute across endpoints. The daily limit resets at midnight Pacific Time. A batch of 100 URLs still consumes 100 requests; batching reduces connections, not quota usage. Check your project's actual quota before sending notifications. See the official quota reference.
Authentication
Two authentication methods are supported:
Option 1: OAuth2 Refresh Token
{
"mcpServers": {
"gsc-mcp": {
"command": "npx",
"args": ["-y", "@mikusnuz/gsc-mcp"],
"env": {
"GSC_CLIENT_ID": "your-client-id",
"GSC_CLIENT_SECRET": "your-client-secret",
"GSC_REFRESH_TOKEN": "your-refresh-token"
}
}
}
}Required OAuth2 scopes:
https://www.googleapis.com/auth/webmastershttps://www.googleapis.com/auth/indexing
Option 2: Service Account
{
"mcpServers": {
"gsc-mcp": {
"command": "npx",
"args": ["-y", "@mikusnuz/gsc-mcp"],
"env": {
"GSC_SERVICE_ACCOUNT_KEY_PATH": "/path/to/service-account-key.json"
}
}
}
}For Search Console read/write tools, add the service account as an owner or user with sufficient permission. For Indexing API tools, Google requires the service account to be added as a delegated owner of the property; user-level access is not sufficient.
Setup Guide
OAuth2 Setup
Go to Google Cloud Console
Create a project (or select existing)
Enable Search Console API and Indexing API
Create OAuth 2.0 credentials (Desktop app type)
Use the OAuth Playground to generate a refresh token with scopes:
https://www.googleapis.com/auth/webmastershttps://www.googleapis.com/auth/indexing
Service Account Setup
Go to Google Cloud Console
Create a service account
Download the JSON key file
Enable Search Console API and Indexing API
In Search Console, add the service account email as an owner for your sites
License
MIT
Available Tools
13 toolsindexing_batch_publishA
Batch notify Google about up to 100 eligible JobPosting or BroadcastEvent URL updates/removals. Each embedded response is checked independently; a successful notification does not guarantee indexing.
Inputs: notifications (required).
indexing_get_metadataA
Get the latest Indexing API notification metadata for an eligible JobPosting or BroadcastEvent URL. This reports notification history, not whether Google indexed the URL.
Inputs: url (required), contentType (required).
indexing_publishA
Notify Google about an eligible URL update or removal via the Indexing API. Google supports only JobPosting pages and livestream pages with BroadcastEvent embedded in VideoObject; this notification does not guarantee indexing.
Inputs: url (required), type (required), contentType (required).
search_analytics_queryA
Query search traffic data from Google Search Console. Returns clicks, impressions, CTR, and position data with flexible filtering and grouping.
Inputs: endDate (required), siteUrl (required), startDate (required), type, +6 more.
sitemaps_deleteB
Delete a sitemap from Google Search Console.
Inputs: siteUrl (required), feedpath (required).
sitemaps_getC
Retrieve information about a specific sitemap.
Inputs: siteUrl (required), feedpath (required).
sitemaps_listB
List all sitemaps submitted for a site in Google Search Console.
Inputs: siteUrl (required), sitemapIndex.
sitemaps_submitB
Submit a sitemap for a site to Google Search Console.
Inputs: siteUrl (required), feedpath (required).
sites_addA
Add a site (property) to Google Search Console. Verification may still be required.
Inputs: siteUrl (required).
sites_deleteB
Remove a site (property) from Google Search Console.
Inputs: siteUrl (required).
sites_getA
Retrieve information about a specific site (property) in Google Search Console.
Inputs: siteUrl (required).
sites_listB
List all sites (properties) you have access to in Google Search Console.
Inputs: no named parameters.
url_inspection_inspectA
Inspect a URL in Google's index. Returns the current URL Inspection API result, including indexing status, crawl info, rich results, and AMP status. The deprecated mobileUsabilityResult field may be absent.
Inputs: siteUrl (required), inspectionUrl (required), languageCode.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Tools are mostly clearly separated by resource and action: sites, sitemaps, indexing, URL inspection, and search analytics each have distinct operations. The only mild overlap is between indexing_get_metadata and url_inspection_inspect, but their descriptions clarify that one reports notification history while the other reports index status.
Names consistently use snake_case with a resource_action pattern such as sites_add, sitemaps_submit, and search_analytics_query. Minor deviations like indexing_get_metadata and the redundant-sounding url_inspection_inspect keep it from being fully uniform.
The 13 tools are well-scoped for Google Search Console: four for sites, four for sitemaps, three for Indexing API operations, one for URL inspection, and one for search analytics. Each tool covers a meaningful operation without unnecessary sprawl.
The surface covers the core GSC lifecycle: sites and sitemaps each have list/get/add-or-submit/delete operations, search analytics has flexible querying, URL inspection is included, and Indexing API publish/metadata/batch operations are present. No obvious core workflow is missing.
Maintenance
Related MCP Connectors
SEO MCP server: Search Console, GA4, Crawler and AI visibility across 6 AI engines
Read-only Google Search Console MCP server for AI assistants.
Free MCP server that audits any public URL: technical SEO, Core Web Vitals, indexing checks.
SEO MCP server for keyword research, SERP analysis, audits, and Search Console workflows.
Related MCP Servers
- AlicenseBqualityBmaintenanceSEO audit and Google Search Console MCP server with 23 tools. Search analytics, URL inspection, Indexing API, Core Web Vitals (CrUX), striking distance keywords, keyword cannibalization detection, branded query analysis, and automated site audits.433MIT
- AlicenseAqualityDmaintenanceMCP 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
- AlicenseAqualityBmaintenanceOAuth-protected Google Search Console MCP for analytics, URL inspection, sitemap management, indexing requests, and SEO diagnostics. Open-source Cloudflare Workers implementation with 17 tools.1787 npm9MIT
- AlicenseAqualityBmaintenanceSecure MCP server for Google Search Console. Query search analytics (clicks, impressions, CTR, position), manage sitemaps, inspect URL indexing status, and manage site properties.10AGPL 3.0