Skip to main content

Google Search Console MCP

io.github.A1-x-Tech/mcp-google-search-console

v1.4.0Updated Nov 21, 2026stdio · npm

MCP server for the Google Search Console API: search analytics, sitemaps, URL inspection, sites.

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add mcp-google-search-console -e GOOGLE_SEARCH_CONSOLE_API_BASE=https://searchconsole.googleapis.com -e GOOGLE_SEARCH_CONSOLE_TIMEOUT_MS=60000 -e GOOGLE_SEARCH_CONSOLE_MAX_RETRIES=3 -- npx -y [email protected]

Configuration

8 settings.

  • GOOGLE_SEARCH_CONSOLE_CLIENT_SECRET
    Env var· optional· secret
    Google OAuth2 client secret (refresh-token flow). Treat it as a secret.
  • GOOGLE_SEARCH_CONSOLE_REFRESH_TOKEN
    Env var· optional· secret
    Google OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.
  • GOOGLE_SEARCH_CONSOLE_ACCESS_TOKEN
    Env var· optional· secret
    Static OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.
  • GOOGLE_SEARCH_CONSOLE_CLIENT_ID
    Env var· optional
    Google OAuth2 client id (refresh-token flow).
  • GOOGLE_SEARCH_CONSOLE_OAUTH_PORT
    Env var· optional
    Fixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login.
  • GOOGLE_SEARCH_CONSOLE_API_BASE
    Env var· optional
    API root override.Default: https://searchconsole.googleapis.com
Show 2 more
  • GOOGLE_SEARCH_CONSOLE_TIMEOUT_MS
    Env var· optional
    Per-request timeout in milliseconds.Default: 60000
  • GOOGLE_SEARCH_CONSOLE_MAX_RETRIES
    Env var· optional
    Retries on transient errors (429 always; 5xx/network for reads).Default: 3

Listed in the official MCP Registry since Nov 21, 2026. Mirrored daily; last checked Nov 26, 2026.