Install Google Search Console for Claude Desktop
Claude Desktop reads mcpServers from claude_desktop_config.json. Restart the app after saving.
- Open ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/.config/Claude/claude_desktop_config.json on Linux.
- Paste the JSON config below.
- Replace placeholder secrets, then restart the client if it does not reload on its own.
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"ni-c-google-search-console-mcp": {
"command": "npx",
"args": [
"-y",
"@ni-c/google-search-console-mcp@0.3.0"
],
"env": {
"GSC_SERVICE_ACCOUNT_KEY": "YOUR_GSC_SERVICE_ACCOUNT_KEY",
"GSC_SERVICE_ACCOUNT_KEY_FILE": "",
"GSC_CLIENT_ID": "",
"GSC_CLIENT_SECRET": "YOUR_GSC_CLIENT_SECRET",
"GSC_REFRESH_TOKEN": "YOUR_GSC_REFRESH_TOKEN",
"GOOGLE_APPLICATION_CREDENTIALS": "",
"GSC_SITE_URL": "",
"GSC_ALLOWED_SITES": "",
"GSC_READ_ONLY": "",
"GSC_ALLOW_TOOLS": "",
"GSC_DENY_TOOLS": ""
}
}
}
}