Search Console Mcp
@saurabhsharma2u
About Search Console Mcp
Search & analytics data as infrastructure — MCP server for Google Search Console, Bing Webmaster Tools, and GA4, designed for AI agents and automation.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"search-console": {
"command": "npx",
"args": [
"-y",
"search-console-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/your/service-account.json",
"BING_API_KEY": "YOUR_BING_API_KEY"
}
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is Search Console MCP?
Search Console MCP is a Model Context Protocol server that unifies Google Search Console, Bing Webmaster Tools, and Google Analytics 4 into a single AI‑accessible interface. It lets you ask natural‑language questions about search performance, SEO opportunities, and user engagement without manually exporting or correlating CSV files.
How to use Search Console MCP?
Install globally via npm, then run npx search-console-mcp setup to initiate a secure desktop authorization flow. Connect one or multiple Google, Bing, and GA4 accounts. After setup, use any MCP‑compatible client (e.g., Claude Desktop) to invoke the server’s tools using natural‑language prompts or direct tool calls.
Key features of Search Console MCP
- Combined data from Google Search Console, Bing, and GA4 in one window
- Deterministic SEO math (cannibalization detection, Z‑score anomalies, striking distance)
- Zero‑config multi‑account support (20+ accounts, automatic credential resolution)
- Secure authentication using OS keychain and AES‑256‑GCM encryption
- Opinionated tools for opportunity scoring, traffic drop attribution, and brand vs. non‑brand analysis
- Low‑level SEO primitives that agents can chain for custom logic
Use cases of Search Console MCP
- Pinpoint the exact time and pages responsible for a traffic drop using anomaly detection and time‑series tools
- Find keywords ranking in positions 8–15 with high impressions for quick traffic wins (striking distance)
- Detect keyword cannibalization where multiple pages compete for the same query and suggest a primary authority
- Run a cross‑engine comparison (Google vs. Bing) to uncover keywords that perform better on one platform
- Prioritize conversion optimization by correlating high Google Search Console visibility with low GA4 engagement
FAQ from Search Console MCP
How do I authenticate with Google and Bing?
Run npx search-console-mcp setup. The CLI starts a local server, opens your browser for Google authorization, and stores tokens in your OS keychain. For Bing, set the BING_API_KEY environment variable.
Can I use the server without a browser (headless/server‑side)?
Yes. Use a Google Cloud Service Account. Create one in the Google Cloud Console, download the JSON key, share it in Google Search Console, and set GOOGLE_APPLICATION_CREDENTIALS to the key file path. GA4 also supports service account authentication.
How does the server handle multiple accounts?
It supports unlimited accounts. Add or remove accounts and link site boundaries via CLI commands (npx search-console-mcp accounts add-site). The server automatically resolves the correct account when a site is queried.
Where are my credentials stored and how secure are they?
Tokens are stored primarily in the OS native credential manager (macOS Keychain, Windows Credential Manager, Linux Secret Service). A fallback encrypted file (~/.search-console-mcp-config.enc) uses AES‑256‑GCM with a key derived from your machine’s hardware UUID. Config files have strict Unix permissions (mode 600).
What platforms and tools are supported?
Google Search Console, Bing Webmaster Tools, and Google Analytics 4. Tools include analytics queries, anomaly detection, cannibalization, striking distance, site inspection, PageSpeed analysis, schema validation, URL indexing (Google & Bing), and Bing opportunity finder.
Frequently asked questions
How do I authenticate with Google and Bing?
Run `npx search-console-mcp setup`. The CLI starts a local server, opens your browser for Google authorization, and stores tokens in your OS keychain. For Bing, set the `BING_API_KEY` environment variable.
Can I use the server without a browser (headless/server‑side)?
Yes. Use a Google Cloud Service Account. Create one in the Google Cloud Console, download the JSON key, share it in Google Search Console, and set `GOOGLE_APPLICATION_CREDENTIALS` to the key file path. GA4 also supports service account authentication.
How does the server handle multiple accounts?
It supports unlimited accounts. Add or remove accounts and link site boundaries via CLI commands (`npx search-console-mcp accounts add-site`). The server automatically resolves the correct account when a site is queried.
Where are my credentials stored and how secure are they?
Tokens are stored primarily in the OS native credential manager (macOS Keychain, Windows Credential Manager, Linux Secret Service). A fallback encrypted file (`~/.search-console-mcp-config.enc`) uses AES‑256‑GCM with a key derived from your machine’s hardware UUID. Config files have strict Unix permissions (mode 600).
What platforms and tools are supported?
Google Search Console, Bing Webmaster Tools, and Google Analytics 4. Tools include analytics queries, anomaly detection, cannibalization, striking distance, site inspection, PageSpeed analysis, schema validation, URL indexing (Google & Bing), and Bing opportunity finder.
Basic information
More Search MCP servers
Kagi MCP server
kagisearchThe Official Model Context Protocol (MCP) server for Kagi Search & other tools.
Version 2.0 is here!!
mixelpixxMCP Server built for use with Claude Code, Claude Desktop, VS Code, Cline - enable google search and ability to follow links and research websites
Serper Search and Scrape MCP Server
marcopesaniSerper MCP Server supporting search and webpage scraping
Everything Search MCP Server
mamertofabianWeb Scout MCP Server
pinkpixel-devA powerful MCP server extension providing web search and content extraction capabilities. Integrates DuckDuckGo search functionality and URL content extraction into your MCP environment, enabling AI assistants to search the web and extract webpage content programmatically.
Comments