gsc MCP Server
MCP server for Google Search Console & Indexing API — search analytics, sitemaps, URL inspection
gsc scores 64 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 13 tools. Filed under Uncategorized. GitHub shows 8 stars. Package registries report about 141 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
64 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
85/100 for listing completeness. Lost points: 3 of 13 tools barely described, short summary, no docs link.
How quality is graded
Where the 64 comes from
22 + 15 + 3 + 10 + 4 + 10 = 64. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 3 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "mikusnuz-gsc-mcp": { "command": "npx", "args": [ "-y", "@mikusnuz/gsc-mcp@1.3.6" ], "env": { "GSC_CLIENT_ID": "YOUR_GSC_CLIENT_ID", "GSC_CLIENT_SECRET": "YOUR_GSC_CLIENT_SECRET", "GSC_REFRESH_TOKEN": "YOUR_GSC_REFRESH_TOKEN", "GSC_SERVICE_ACCOUNT_KEY_PATH": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
GSC_CLIENT_IDSecret | Optional | Google OAuth2 Client ID |
GSC_CLIENT_SECRETSecret | Optional | Google OAuth2 Client Secret |
GSC_REFRESH_TOKENSecret | Optional | Google OAuth2 Refresh Token |
GSC_SERVICE_ACCOUNT_KEY_PATH | Optional | Path to Google service account JSON key file |
Tools13Tool docs quality grade C
All capabilitiesBatch notify up to 100 eligible URLs and report every embedded request status
Get latest notification metadata for an eligible URL (requires contentType; not index status)
indexing_publishtoolNotify Google about an eligible JobPosting or BroadcastEvent URL update/removal
Query search performance data (clicks, impressions, CTR, position) with filtering and grouping. Supports hourly data with the hour dimension.
sitemaps_deletetoolDelete a sitemap
sitemaps_gettoolGet details of a specific sitemap
sitemaps_listtoolList all submitted sitemaps for a site
sitemaps_submittoolSubmit a sitemap
sites_addtoolAdd a new site (property)
sites_deletetoolRemove a site
sites_gettoolGet details of a specific site
sites_listtoolList all sites (properties) in your Search Console
About
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" | search_analytics_query |
| "Notify Google about an eligible job posting or livestream URL" | indexing_publish |
| "Find pages with indexing errors" | url_inspection_inspect |
| "Get search performance data for the last 30 days" | search_analytics_query |
| "Compare click-through rates between mobile and desktop" | search_analytics_query (group by device) |
| "Submit my sitemap to Google" | sitemaps_submit |
| "Batch notify eligible job posting/livestream URLs" | indexing_batch_publish |
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.
Tools (13)
Sites
| Tool | Description |
|---|---|
sites_list | List all sites (properties) in your Search Console |
sites_get | Get details of a specific site |
sites_add | Add a new site (property) |
sites_delete | Remove a site |
Sitemaps
| Tool | Description |
|---|---|
sitemaps_list | List all submitted sitemaps for a site |
sitemaps_get | Get details of a specific sitemap |
sitemaps_submit | Submit a sitemap |
sitemaps_delete | Delete a sitemap |
Search Analytics
| Tool | Description |
|---|---|
search_analytics_query | Query search performance data (clicks, impressions, CTR, position) with filtering and grouping. Supports hourly data with the hour dimension. |
URL Inspection
| Tool | Description |
|---|---|
url_inspection_inspect | Inspect a URL's index status, crawl info, rich results, and AMP (the deprecated mobile-usability field may be absent) |
Indexing API
| Tool | Description |
|---|---|
indexing_publish | Notify Google about an eligible JobPosting or BroadcastEvent URL update/removal |
indexing_get_metadata | Get latest notification metadata for an eligible URL (requires contentType; not index status) |
indexing_batch_publish | 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
Frequently asked questions
What is gsc MCP Server?
MCP server for Google Search Console & Indexing API — search analytics, sitemaps, URL inspection
How do I install gsc MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. gsc MCP Server runs locally from the npm package @mikusnuz/gsc-mcp with the command npx -y @mikusnuz/gsc-mcp@1.3.6.
Is gsc MCP Server free and open source?
Yes. gsc MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does gsc MCP Server support remote (HTTP) connections?
No remote endpoint is listed for gsc MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does gsc MCP Server provide?
gsc MCP Server provides 13 tools, including indexing_batch_publish, indexing_get_metadata, indexing_publish, and search_analytics_query. See the full tool list for descriptions and parameters.
How is gsc MCP Server's trust score calculated?
gsc MCP Server scores 64 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.