Server data from the Official MCP Registry
MCP server for Google Search Console & Indexing API — search analytics, sitemaps, URL inspection
About
MCP server for Google Search Console & Indexing API — search analytics, sitemaps, URL inspection
Security Report
Valid MCP server (2 strong, 4 medium validity signals). 3 known CVEs in dependencies (0 critical, 3 high severity) Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (10/10 approved).
3 files analyzed · 4 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: GSC_CLIENT_ID
Environment variable: GSC_CLIENT_SECRET
Environment variable: GSC_REFRESH_TOKEN
Environment variable: GSC_SERVICE_ACCOUNT_KEY_PATH
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-mikusnuz-gsc": {
"env": {
"GSC_CLIENT_ID": "your-gsc-client-id-here",
"GSC_CLIENT_SECRET": "your-gsc-client-secret-here",
"GSC_REFRESH_TOKEN": "your-gsc-refresh-token-here",
"GSC_SERVICE_ACCOUNT_KEY_PATH": "your-gsc-service-account-key-path-here"
},
"args": [
"-y",
"@mikusnuz/gsc-mcp"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
gsc-mcp
MCP server for Google Search Console API and Google Indexing API — full API coverage.
When to Use
| Task | Tool |
|---|---|
| "Check which queries my site ranks for" | search_analytics_query |
| "Submit a URL for indexing" | 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 submit URLs for indexing" | 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, AMP, and mobile usability |
Indexing API
| Tool | Description |
|---|---|
indexing_publish | Notify Google about URL updates or removals |
indexing_get_metadata | Get latest notification status for a URL |
indexing_batch_publish | Batch notify Google about up to 100 URL updates/removals in a single request |
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"
}
}
}
}
The service account must be added as an owner or user in Google Search Console for each site.
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
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
FinAgent
Freeby mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
