# SEO Tools: Google Search Console MCP server

> Query Google Search Console search analytics, inspect URLs and list sitemaps with read-only access.

- Listing: https://mcp.tc/i/seo-tools-google-search-console
- Connect: this is a local (stdio) server; install it on your machine (see Install). The listing link is a page, not an MCP endpoint.
- Type: local (stdio)
- Auth: API key
- Category: [Marketing & SEO](https://mcp.tc/c/marketing-seo)
- Vendor: antohins
- Repository: <https://github.com/antohins/seo-tools-mcp>
- Package: npm `seo-tools-mcp-gsc`

## About

Connects an assistant to Google Search Console. It can run Search Analytics queries, inspect URLs, list and read site properties, and list and read sitemaps. All tools are read-only and return strict JSON. It is the gsc server from the seo-tools-mcp project, which also ships separate servers for other SEO services.

Runs locally over stdio through the npm package seo-tools-mcp-gsc with npx. Authentication is Google OAuth (desktop client with a refresh token, or an interactive flow started from a tool) or a service account JSON key. Default site property and OAuth port can be set through environment variables.

## What it can do

- Run Search Analytics queries on a Search Console property
- Inspect the index status of a URL
- List Search Console sites and get site details
- List sitemaps and read sitemap details
- Authenticate with OAuth or a service account
- Set a default property through configuration

## Example prompts

- "Show my top 20 queries by clicks for the last 28 days on sc-domain:example.com"
- "Inspect https://example.com/pricing and tell me if it is indexed"
- "List all sitemaps submitted for my site and their status"
- "Which Search Console properties do I have access to?"

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport stdio seo-tools-google-search-console --env "GOOGLE_CLIENT_SECRET=<YOUR_GOOGLE_CLIENT_SECRET>" --env "GSC_REFRESH_TOKEN=<YOUR_GSC_REFRESH_TOKEN>" -- npx -y seo-tools-mcp-gsc
```

2. Start Claude Code and type `/mcp`. **seo-tools-google-search-console** should show as connected.

Add `--scope user` to make it available in every project. Replace the placeholders with your own values.

### Claude Desktop

1. Open **Settings → Developer → Edit Config**. It opens `claude_desktop_config.json`. Add:

`claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "seo-tools-google-search-console": {
      "command": "npx",
      "args": [
        "-y",
        "seo-tools-mcp-gsc"
      ],
      "env": {
        "GOOGLE_CLIENT_SECRET": "<YOUR_GOOGLE_CLIENT_SECRET>",
        "GSC_REFRESH_TOKEN": "<YOUR_GSC_REFRESH_TOKEN>"
      }
    }
  }
}
```

2. Save the file and restart Claude Desktop. Replace the placeholders with your own values.

Needs Node.js on your computer. The file lives in `~/Library/Application Support/Claude/` on macOS and `%APPDATA%\Claude\` on Windows.

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=seo-tools-google-search-console&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsInNlby10b29scy1tY3AtZ3NjIl0sImVudiI6eyJHT09HTEVfQ0xJRU5UX1NFQ1JFVCI6IjxZT1VSX0dPT0dMRV9DTElFTlRfU0VDUkVUPiIsIkdTQ19SRUZSRVNIX1RPS0VOIjoiPFlPVVJfR1NDX1JFRlJFU0hfVE9LRU4%2BIn19>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

```json
{
  "mcpServers": {
    "seo-tools-google-search-console": {
      "command": "npx",
      "args": [
        "-y",
        "seo-tools-mcp-gsc"
      ],
      "env": {
        "GOOGLE_CLIENT_SECRET": "<YOUR_GOOGLE_CLIENT_SECRET>",
        "GSC_REFRESH_TOKEN": "<YOUR_GSC_REFRESH_TOKEN>"
      }
    }
  }
}
```

Needs Node.js on your computer. Replace the placeholders with your own values.

### VS Code

Add it to `.vscode/mcp.json`. VS Code asks for the secret the first time and stores it securely:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "seo-tools-google-search-console": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "seo-tools-mcp-gsc"
      ],
      "env": {
        "GOOGLE_CLIENT_SECRET": "${input:google-client-secret}",
        "GSC_REFRESH_TOKEN": "${input:gsc-refresh-token}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "google-client-secret",
      "description": "GOOGLE_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gsc-refresh-token",
      "description": "GSC_REFRESH_TOKEN",
      "password": true
    }
  ]
}
```

Needs Node.js on your computer.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

```json
{
  "mcpServers": {
    "seo-tools-google-search-console": {
      "command": "npx",
      "args": [
        "-y",
        "seo-tools-mcp-gsc"
      ],
      "env": {
        "GOOGLE_CLIENT_SECRET": "<YOUR_GOOGLE_CLIENT_SECRET>",
        "GSC_REFRESH_TOKEN": "<YOUR_GSC_REFRESH_TOKEN>"
      }
    }
  }
}
```

2. Refresh the MCP server list in Cascade. Replace the placeholders with your own values.

Devin Desktop is the new name for Windsurf.

### Codex

```bash
codex mcp add seo-tools-google-search-console --env "GOOGLE_CLIENT_SECRET=<YOUR_GOOGLE_CLIENT_SECRET>" --env "GSC_REFRESH_TOKEN=<YOUR_GSC_REFRESH_TOKEN>" -- npx -y seo-tools-mcp-gsc
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.seo-tools-google-search-console]
command = "npx"
args = ["-y", "seo-tools-mcp-gsc"]
env = { GOOGLE_CLIENT_SECRET = "<YOUR_GOOGLE_CLIENT_SECRET>", GSC_REFRESH_TOKEN = "<YOUR_GSC_REFRESH_TOKEN>" }
```

Needs Node.js on your computer. Replace the placeholders with your own values.

### Gemini CLI

```bash
gemini mcp add -e "GOOGLE_CLIENT_SECRET=<YOUR_GOOGLE_CLIENT_SECRET>" -e "GSC_REFRESH_TOKEN=<YOUR_GSC_REFRESH_TOKEN>" seo-tools-google-search-console npx -- -y seo-tools-mcp-gsc
```

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients that start local servers accept this shape:

```json
{
  "mcpServers": {
    "seo-tools-google-search-console": {
      "command": "npx",
      "args": [
        "-y",
        "seo-tools-mcp-gsc"
      ],
      "env": {
        "GOOGLE_CLIENT_SECRET": "<YOUR_GOOGLE_CLIENT_SECRET>",
        "GSC_REFRESH_TOKEN": "<YOUR_GSC_REFRESH_TOKEN>"
      }
    }
  }
}
```

Zed puts servers under `context_servers` in its settings, with the same `command`, `args` and `env` fields.

Needs Node.js on your computer. Replace the placeholders with your own values.

## Recent changes

- 2026-10-06 21:21 UTC: Tracking started: version 1.8.0. Source: automatic check.

More on the History tab, with descriptions before and after for the newest entries: https://mcp.tc/i/seo-tools-google-search-console#history (Atom feed: https://mcp.tc/i/seo-tools-google-search-console/history.xml). It records what mcp.tc's anonymous checks saw, every 3 hours where the tool list can be read without sign-in; it is not a security review.

## Details

- Server version: 1.8.0
- Last checked: 2026-10-05
- Listed: 2026-10-05
- Updated: 2026-10-05

---
Source: https://mcp.tc/i/seo-tools-google-search-console (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
