# Google Search Console

> Google Search Console is an open-source MCP server for marketing and seo. Self-hosted Google Search Console MCP for analytics, URL inspection and sitemaps. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted
- **Website:** https://digestseo.com/gsc-mcp/
- **Repository:** https://github.com/akzar1el/mcp-gsc
- **MCP Registry name:** io.github.AKzar1el/mcp-gsc
- **Categories:** marketing and SEO, web search and scraping, analytics and data
- **Listing updated:** 2026-11-14

## About

The npm launcher starts a loopback-only Streamable HTTP server on 127.0.0.1 (port 8080 by default), not a stdio process, so cloud-hosted Claude and ChatGPT cannot reach it directly. For remote access you deploy your own Cloudflare Worker.

Setup is not one-click: you create a Google Cloud OAuth client, register the exact redirect URI, and set GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET and a 32-byte base64 TOKEN_ENCRYPTION_KEY. The launcher defaults to read-write, so analytics-only users should set GSC_ACCESS_MODE=readonly before signing in, which leaves write tools unregistered. Session state is encrypted under ~/.mcp-gsc/state.

It needs Node.js 22.18 or newer and is MIT licensed.

## Features

- **Search analytics:** Query clicks, impressions, CTR and position.
- **URL inspection:** Check how Google sees individual URLs.
- **Sitemap management:** Inspect and manage sitemaps.
- **Read-only mode:** Skips registering write tools.
- **Local or Worker:** Run via npm locally or on Cloudflare.

## Good for

- Pull top queries for a page
- Check indexing for a URL
- Review sitemap status
- Run an SEO diagnostic

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-gsc --env GOOGLE_CLIENT_ID='<GOOGLE_CLIENT_ID>' --env GOOGLE_CLIENT_SECRET='<GOOGLE_CLIENT_SECRET>' --env TOKEN_ENCRYPTION_KEY='<TOKEN_ENCRYPTION_KEY>' -- npx -y @digestseo/mcp-gsc
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-gsc": {
      "command": "npx",
      "args": [
        "-y",
        "@digestseo/mcp-gsc"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
        "GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>",
        "TOKEN_ENCRYPTION_KEY": "<TOKEN_ENCRYPTION_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-gsc": {
      "command": "npx",
      "args": [
        "-y",
        "@digestseo/mcp-gsc"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
        "GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>",
        "TOKEN_ENCRYPTION_KEY": "<TOKEN_ENCRYPTION_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-gsc": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@digestseo/mcp-gsc"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
        "GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>",
        "TOKEN_ENCRYPTION_KEY": "<TOKEN_ENCRYPTION_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-gsc": {
      "command": "npx",
      "args": [
        "-y",
        "@digestseo/mcp-gsc"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
        "GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>",
        "TOKEN_ENCRYPTION_KEY": "<TOKEN_ENCRYPTION_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-gsc": {
      "command": "npx",
      "args": [
        "-y",
        "@digestseo/mcp-gsc"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<GOOGLE_CLIENT_ID>",
        "GOOGLE_CLIENT_SECRET": "<GOOGLE_CLIENT_SECRET>",
        "TOKEN_ENCRYPTION_KEY": "<TOKEN_ENCRYPTION_KEY>"
      }
    }
  }
}
```

## FAQ

### Is it free?

The MIT-licensed software is free.

### Which Node version?

^22.18.0 or >=24.11.0.

### Can I use it from ChatGPT?

Only via your own HTTPS Worker or a tunnel, since localhost is unreachable.

### Is Google Search Console free?

Yes. Google Search Console is open source, so you can use and self-host it for free.

### How do I add Google Search Console to Claude Code?

Run this command in your terminal: claude mcp add mcp-gsc --env GOOGLE_CLIENT_ID='<GOOGLE_CLIENT_ID>' --env GOOGLE_CLIENT_SECRET='<GOOGLE_CLIENT_SECRET>' --env TOKEN_ENCRYPTION_KEY='<TOKEN_ENCRYPTION_KEY>' -- npx -y @digestseo/mcp-gsc

### What are the best alternatives to Google Search Console?

The closest alternatives to Google Search Console are Scrapling MCP Server, Firecrawl MCP Server, Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP and SearXNG Search.

## Alternatives

- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Firecrawl MCP Server](https://ai-powered.com/mcp/firecrawl-mcp-server): Firecrawl MCP Server is a freemium MCP server for web search and scraping.
- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [SearXNG Search](https://ai-powered.com/mcp/searxng-search): SearXNG Search is an open-source MCP server for web search and scraping.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [Calven](https://ai-powered.com/mcp/calven): Calven is an MCP server for marketing and seo.

---
Source: https://ai-powered.com/mcp/google-search-console-4
