# Search Console MCP

Wires Google Search Console, Bing, GA4 and AdSense into your AI agent so you can ask about traffic, rankings and revenue without exporting CSVs.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 308
- Author: saurabhsharma2u
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/saurabhsharma2u/search-console-mcp
- Updated: 2026-10-21
- HTML: https://affpapa.org/en/nevibecode/mcp/search-console-mcp

## What it does

Search Console MCP exposes four services through a single tool set. Your agent calls them and answers questions about traffic, rankings and earnings without hopping between dashboards. The server runs the analysis itself — cannibalization, anomaly detection, revenue attribution — before anything reaches the context window.

A parallel fetch engine sits behind the tools: with `engine: "all"` Google, Bing and GA4 are queried at the same time. Roughly 96 older tool names still resolve through a fallback router. Write operations such as `sitemaps_submit` and `sitemaps_delete` need an explicit webmasters write scope and an inline re-authorization; setup leaves the server read-only.

You need `GOOGLE_APPLICATION_CREDENTIALS`, `BING_API_KEY` and `PAGESPEED_API_KEY` in the environment. AdSense is opt-in via `setup --engine=adsense` and asks for the `adsense.readonly` scope. SSE transport is deprecated and goes away in the next release, so stick with stdio. Miss the keys and the server will not start.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `GOOGLE_APPLICATION_CREDENTIALS`, `BING_API_KEY`, `PAGESPEED_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add search-console-mcp -e GOOGLE_APPLICATION_CREDENTIALS=<GOOGLE_APPLICATION_CREDENTIALS> -e BING_API_KEY=<BING_API_KEY> -e PAGESPEED_API_KEY=<PAGESPEED_API_KEY> -- npx -y search-console-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add search-console-mcp --env GOOGLE_APPLICATION_CREDENTIALS=<GOOGLE_APPLICATION_CREDENTIALS> --env BING_API_KEY=<BING_API_KEY> --env PAGESPEED_API_KEY=<PAGESPEED_API_KEY> -- npx -y search-console-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "search-console-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "search-console-mcp"
            ],
            "env": {
                "GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>",
                "BING_API_KEY": "<BING_API_KEY>",
                "PAGESPEED_API_KEY": "<PAGESPEED_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "search-console-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "search-console-mcp"
            ],
            "env": {
                "GOOGLE_APPLICATION_CREDENTIALS": "<GOOGLE_APPLICATION_CREDENTIALS>",
                "BING_API_KEY": "<BING_API_KEY>",
                "PAGESPEED_API_KEY": "<PAGESPEED_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e GOOGLE_APPLICATION_CREDENTIALS=<GOOGLE_APPLICATION_CREDENTIALS> -e BING_API_KEY=<BING_API_KEY> -e PAGESPEED_API_KEY=<PAGESPEED_API_KEY> search-console-mcp npx -y search-console-mcp
```
Replace <…> with your own values

## When to use it
- pull Google and Bing traffic into one answer
- spot pages competing for the same queries
- tell whether a revenue drop came from traffic or RPM
- export an AdSense earnings report sorted by amount
- check rankings and anomalies without manual VLOOKUPs

## Example prompts
- Show me queries where my pages compete against each other for the same phrases
- Compare Google and Bing traffic for last month and flag the dips
- Pull the AdSense earnings report sorted by estimated earnings

## Similar
- [Google Maps MCP Server](https://affpapa.org/en/nevibecode/mcp/google-maps-mcp-server.md) — MCP server · ★ 479
- [squirrelscan](https://affpapa.org/en/nevibecode/mcp/squirrelscan.md) — MCP server · ★ 296
- [Tin](https://affpapa.org/en/nevibecode/mcp/tin.md) — MCP server · ★ 263
- [lighthouse-mcp](https://affpapa.org/en/nevibecode/mcp/lighthouse-mcp.md) — MCP server · ★ 212
- [SerpApi](https://affpapa.org/en/nevibecode/mcp/serpapi.md) — MCP server · ★ 182
- [Analook — Competitor Intelligence](https://affpapa.org/en/nevibecode/mcp/analook-competitor-intelligence.md) — MCP server · ★ 111

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
