G

Gsc MCP Full

by mamrrez · io.github.mamrrez/gsc-mcp-full

Enables users to query search performance, indexing, sitemaps and properties in plain language from any MCP client, returning worked-out analysis such as cannibalization, striking-distance keywords and decaying pages, with multilingual query variants merged so totals are correct. It also syncs data to a local store for history beyond Google's 16-month limit, including a 24-hour view, hourly data and timezone-adjusted days.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-mamrrez-gsc-mcp-full": {
      "command": "uvx",
      "args": [
        "gsc-mcp-full"
      ],
      "env": {
        "GSC_LANG": "<VALUE>",
        "GSC_DB_PATH": "<VALUE>",
        "GSC_ROW_CAP": "100000",
        "GSC_USE_ADC": "<VALUE>",
        "GSC_TIMEZONE": "<VALUE>",
        "GSC_CONFIG_DIR": "~/.config/gsc-mcp-full",
        "GSC_DATA_STATE": "all",
        "GSC_TOKEN_PATH": "<VALUE>",
        "GSC_ALLOW_WRITE": "<VALUE>",
        "GSC_BIDI_ISOLATE": "<VALUE>",
        "GSC_ALLOWED_HOSTS": "<VALUE>",
        "GSC_CREDENTIALS_PATH": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-mamrrez-gsc-mcp-full": {
      "command": "uvx",
      "args": [
        "gsc-mcp-full"
      ],
      "env": {
        "GSC_LANG": "<VALUE>",
        "GSC_DB_PATH": "<VALUE>",
        "GSC_ROW_CAP": "100000",
        "GSC_USE_ADC": "<VALUE>",
        "GSC_TIMEZONE": "<VALUE>",
        "GSC_CONFIG_DIR": "~/.config/gsc-mcp-full",
        "GSC_DATA_STATE": "all",
        "GSC_TOKEN_PATH": "<VALUE>",
        "GSC_ALLOW_WRITE": "<VALUE>",
        "GSC_BIDI_ISOLATE": "<VALUE>",
        "GSC_ALLOWED_HOSTS": "<VALUE>",
        "GSC_CREDENTIALS_PATH": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-mamrrez-gsc-mcp-full": {
      "command": "uvx",
      "args": [
        "gsc-mcp-full"
      ],
      "env": {
        "GSC_LANG": "<VALUE>",
        "GSC_DB_PATH": "<VALUE>",
        "GSC_ROW_CAP": "100000",
        "GSC_USE_ADC": "<VALUE>",
        "GSC_TIMEZONE": "<VALUE>",
        "GSC_CONFIG_DIR": "~/.config/gsc-mcp-full",
        "GSC_DATA_STATE": "all",
        "GSC_TOKEN_PATH": "<VALUE>",
        "GSC_ALLOW_WRITE": "<VALUE>",
        "GSC_BIDI_ISOLATE": "<VALUE>",
        "GSC_ALLOWED_HOSTS": "<VALUE>",
        "GSC_CREDENTIALS_PATH": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-mamrrez-gsc-mcp-full": {
      "command": "uvx",
      "args": [
        "gsc-mcp-full"
      ],
      "env": {
        "GSC_LANG": "<VALUE>",
        "GSC_DB_PATH": "<VALUE>",
        "GSC_ROW_CAP": "100000",
        "GSC_USE_ADC": "<VALUE>",
        "GSC_TIMEZONE": "<VALUE>",
        "GSC_CONFIG_DIR": "~/.config/gsc-mcp-full",
        "GSC_DATA_STATE": "all",
        "GSC_TOKEN_PATH": "<VALUE>",
        "GSC_ALLOW_WRITE": "<VALUE>",
        "GSC_BIDI_ISOLATE": "<VALUE>",
        "GSC_ALLOWED_HOSTS": "<VALUE>",
        "GSC_CREDENTIALS_PATH": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-mamrrez-gsc-mcp-full": {
      "command": "uvx",
      "args": [
        "gsc-mcp-full"
      ],
      "env": {
        "GSC_LANG": "<VALUE>",
        "GSC_DB_PATH": "<VALUE>",
        "GSC_ROW_CAP": "100000",
        "GSC_USE_ADC": "<VALUE>",
        "GSC_TIMEZONE": "<VALUE>",
        "GSC_CONFIG_DIR": "~/.config/gsc-mcp-full",
        "GSC_DATA_STATE": "all",
        "GSC_TOKEN_PATH": "<VALUE>",
        "GSC_ALLOW_WRITE": "<VALUE>",
        "GSC_BIDI_ISOLATE": "<VALUE>",
        "GSC_ALLOWED_HOSTS": "<VALUE>",
        "GSC_CREDENTIALS_PATH": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-mamrrez-gsc-mcp-full": {
      "command": "uvx",
      "args": [
        "gsc-mcp-full"
      ],
      "env": {
        "GSC_LANG": "<VALUE>",
        "GSC_DB_PATH": "<VALUE>",
        "GSC_ROW_CAP": "100000",
        "GSC_USE_ADC": "<VALUE>",
        "GSC_TIMEZONE": "<VALUE>",
        "GSC_CONFIG_DIR": "~/.config/gsc-mcp-full",
        "GSC_DATA_STATE": "all",
        "GSC_TOKEN_PATH": "<VALUE>",
        "GSC_ALLOW_WRITE": "<VALUE>",
        "GSC_BIDI_ISOLATE": "<VALUE>",
        "GSC_ALLOWED_HOSTS": "<VALUE>",
        "GSC_CREDENTIALS_PATH": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
GSC_LANG No Language hint when a query's script is ambiguous (fa, ar, tr…)
GSC_DB_PATH No Override individual file location for database
GSC_ROW_CAP No Most rows one tool call may fetch. Default: 100000 Default: 100000
GSC_USE_ADC No Set to 1 to use Google Application Default Credentials on a cloud VM when no credentials file is set. Default off.
GSC_TIMEZONE No Your timezone for local-day reports, e.g. Asia/Tehran, Europe/Berlin
GSC_CONFIG_DIR No Where your sign-in and history are kept. Default: ~/.config/gsc-mcp-full Default: ~/.config/gsc-mcp-full
GSC_DATA_STATE No all matches the Search Console UI; final returns only settled days. Default: all. Default: all
GSC_TOKEN_PATH No Override individual file location for token
GSC_ALLOW_WRITE No Set to 1 to enable the write tools (then run gsc-mcp-full auth --force once). Default off.
GSC_BIDI_ISOLATE No Set to 1 if right-to-left text renders scrambled in tables. Default off.
GSC_ALLOWED_HOSTS No HTTP mode only: public host names allowed to reach the server through a proxy, comma-separated
GSC_CREDENTIALS_PATH Yes Your OAuth client JSON or service-account key (detected automatically)

Similar servers