MCP.so
Sign In

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

21

Start here. Returns a complete map of this server's capabilities, active platforms, and recommended workflows. Call this once at the beginning of any session.

List verified web properties across Google Search Console, Bing Webmaster Tools, or GA4.

Add or delete a web property from Google Search Console or Bing Webmaster Tools.

Manage Google Search Console service accounts and site permissions.

List submitted XML sitemaps and status for a site.

Submit a new XML sitemap to Google Search Console and/or Bing Webmaster Tools.

Delete a sitemap from Google Search Console or Bing Webmaster Tools.

Unified search performance query replacing single-dimension tools. Supports queries, pages, countries, devices, and search appearances.

Period-over-period search performance comparisons, trends, and traffic drop attributions.

Detect search traffic anomalies across Google and Bing.

Google Analytics 4 (GA4) e-commerce, realtime metrics, user behavior, and conversion funnels.

Inspect indexing, canonical, and crawl status for single or batch URLs on Google or Bing.

Run PageSpeed Insights & Core Web Vitals performance analysis for a page.

Submit URL(s) for indexing via Google Indexing API, Bing URL submission, or IndexNow protocol.

Check notification status for Google Indexing API or remaining daily Bing submission quota.

Specialized SEO intelligence analysis (recommendations, quick wins, cannibalization, striking distance, lost queries, low CTR, brand vs nonbrand).

Keyword performance stats, related query expansion, and search volume estimates.

Validate structured data (JSON-LD, Microdata, RDFa) for a given webpage URL.

Comprehensive health audit across Google Search Console and Bing Webmaster Tools.

Cross-engine performance matrix comparing Google Search Console vs Bing Webmaster Tools.

Run connectivity diagnostics for all connected accounts. Use this to troubleshoot '0 results' or authentication issues.

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.

Comments

More Search MCP servers