searchconsole-mcp
Provides tools for interacting with Google Search Console, including search analytics, sitemap management, site property management, and URL inspection.
Click on "Install 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., "@searchconsole-mcpShow me top queries with impressions for the last 28 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.
searchconsole-mcp
MCP server that automates Google Search Console for your projects: search analytics, sitemap management, site properties and URL inspection.
Tools
Tool | Description |
| List all properties the service account can access |
| Add/remove a property ( |
| Clicks, impressions, CTR, position grouped by query/page/country/device/date, with filters. Defaults to last 28 days |
| Inspect submitted sitemaps and indexed counts |
| Submit or remove sitemaps |
| URL Inspection API: index status, canonical, crawl info, mobile usability |
Related MCP server: Google Search Console + GA4 MCP Server
One-time Google setup
In Google Cloud Console create a project.
Enable the Google Search Console API (APIs & Services > Library).
Create a Service account (IAM & Admin > Service Accounts) and download a JSON key.
For each Search Console property: Settings > Users and permissions > Add user, paste the service account email (
...@...iam.gserviceaccount.com) and grant Owner (Owner is required for the URL Inspection API).
Configuration
Environment variables:
Var | Required | Description |
| one of | Full service-account JSON key inline |
| one of | Path to the key file. Defaults to |
| optional | Default property so you can omit |
The server also loads .env from its working directory at startup.
Register in an MCP client
opencode (~/.config/opencode/opencode.json or project .opencode/opencode.json):
{
"mcp": {
"searchconsole": {
"type": "local",
"command": ["node", "/absolute/path/to/searchconsole-mcp/dist/index.js"],
"environment": {
"GSC_SERVICE_ACCOUNT_FILE": "/absolute/path/to/service-account.json",
"GSC_DEFAULT_SITE": "sc-domain:example.com"
}
}
}
}Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"searchconsole": {
"command": "node",
"args": ["/absolute/path/to/searchconsole-mcp/dist/index.js"],
"env": {
"GSC_SERVICE_ACCOUNT_FILE": "/absolute/path/to/service-account.json",
"GSC_DEFAULT_SITE": "sc-domain:example.com"
}
}
}
}Development
npm install
npm run build # tsc -> dist/
npm start # run the server on stdio
npm run smoke # boots the server and lists toolsNotes
Analytics data lags ~2 days; pass
dataState: "all"to include fresh partial data.The API caps analytics rows at 25,000 per request; use
startRowto page.Adding a site via API leaves it unverified until ownership is confirmed; easiest path is adding the service account email as an Owner in the UI first.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Google Search Console to query search analytics, inspect URL indexing status, and manage sitemaps. It allows users to monitor SEO performance and site health through natural language commands in MCP-compatible clients.1233MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables querying Google Search Console and Google Analytics 4 data to retrieve search performance and site analytics. It provides tools for listing web properties and running detailed reports using secure Google OAuth authentication.
- AlicenseNot gradedqualityCmaintenanceEnables interaction with Google Search Console via MCP, offering search analytics, performance summaries, URL inspection, sitemap management, and property listing for SEO workflows.1651MIT
- FlicenseNot gradedqualityFmaintenanceEnables interacting with Google Search Console via natural language, supporting search analytics, URL inspection, sitemap management, and site listing.24
Related MCP Connectors
Turn Search Console data into SEO actions, content, publishing, indexing, and AI insights.
SEO research, audits, backlinks, GSC, and content workflow tools for AI agents.
Web search, news, page retrieval, sitemaps, and trending topics through Search1API.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Parithosh-Varma/searchconsole-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server