Sourcegraph MCP Server
by sourcegraph-communityio.github.sourcegraph/mcpv0.1.0
Sourcegraph code search, semantic search, go-to-definition, find-references, and diff search.
context tax
queued
security
queued
cold start
queued
freshness
Stale7mo ago
Install Sourcegraph MCP server
Install in Claude Code
claude mcp add --transport http mcpregistry https://{sourcegraph_hostname}/.api/mcpInstall in Cursor
{
"mcpServers": {
"mcpregistry": {
"url": "https://{sourcegraph_hostname}/.api/mcp"
}
}
}Install in Claude Desktop
{
"mcpServers": {
"mcpregistry": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://{sourcegraph_hostname}/.api/mcp"
]
}
}
}Or add it as a custom connector under Settings → Connectors. The config above bridges via mcp-remote.
Install in VS Code
{
"servers": {
"mcpregistry": {
"type": "http",
"url": "https://{sourcegraph_hostname}/.api/mcp"
}
}
}Install in Windsurf
{
"mcpServers": {
"mcpregistry": {
"serverUrl": "https://{sourcegraph_hostname}/.api/mcp"
}
}
}Remote endpoints
- streamable-http
https://{sourcegraph_hostname}/.api/mcp
Freshness
Stale — last maintenance signal 7mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-03-26 · 7mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-03-26 · 7mo ago · official registry · v0.1.0
FAQ
›How do I install the Sourcegraph MCP server in Claude Code?
Run: claude mcp add --transport http mcpregistry https://{sourcegraph_hostname}/.api/mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Sourcegraph require an API key?
No required environment variables are declared in its published metadata.
›Can I use Sourcegraph as a remote (hosted) MCP server?
Yes. It is a hosted MCP server; connect to its URL with any client that supports remote MCP.
›Is Sourcegraph in the official MCP registry?
Yes, as io.github.sourcegraph/mcp.