Home › Development › Sourcegraph MCP Server

Sourcegraph MCP Server

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

Remote
★ 14 stars Last pushed 2026-03-26

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Remote (streamable-http)

https://{sourcegraph_hostname}/.api/mcp

Claude Code:

claude mcp add --transport http mcpregistry https://{sourcegraph_hostname}/.api/mcp

Or add to your MCP client config:

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

Related servers

Data from the Official MCP Registry