Sourcegraph MCP Server

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

Remote serverstreamable-http

What is the Sourcegraph MCP Server?

Sourcegraph MCP Server is an MCP integration. Sourcegraph code search, semantic search, go-to-definition, find-references, and diff search.

Hosted connection

The registry lists a streamable-http connection at https://{sourcegraph_hostname}/.api/mcp. Replace the account-specific fields according to the maintainer’s instructions.

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository. This profile uses version 0.1.0 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related other integrations MCP servers for tools that cover the same kind of work.