Sourcegraph MCP Server for Claude Desktop
io.github.sourcegraph/mcp
Sourcegraph code search, semantic search, go-to-definition, find-references, and diff search.
client:Claude Desktop
transport:streamable-http
Install Sourcegraph MCP Server in Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://{sourcegraph_hostname}/.api/mcp"
]
}
}
}
Claude Desktop has no remote transport in its config file, so this bridges through mcp-remote. Restart the app after saving. Claude Desktop docs