Sourcegraph MCP Server

Sourcegraph code search, semantic search, go-to-definition, find-references, and diff search.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "mcp": {
      "url": "https://{sourcegraph_hostname}/.api/mcp"
    }
  }
}

Remote endpoints

https://{sourcegraph_hostname}/.api/mcpstreamable-http

What it can do

Tool inventory

No publishable tool enumeration has been recorded.

Community

Rate this Server

Evidence

Recent observations

failed observationversion not recorded—