← All servers

Sourcegraph MCP Server

Overview

Sourcegraph MCP Server connects an agent to a Sourcegraph instance for code search, semantic search, go-to-definition, find-references, and diff search across all indexed repositories.

Facts

Server ID
io.github.sourcegraph/mcp
Author
sourcegraph-community
GitHub
https://github.com/sourcegraph-community/mcpregistry
Stars
14

Install

Pick the client you use. Each tab installs this server only.

claude mcp add --transport http io-github-sourcegraph-mcp https://{sourcegraph_hostname}/.api/mcp