Sourcegraph MCP Server

This registry entry represents the Sourcegraph MCP server for a Sourcegraph instance. It is available as a remote MCP endpoint.

Teams that want a hosted endpoint instead of running a local process.

VERIFIED ACTIVE

LAST COMMIT 2026-03-26 · ★ 14 · #793 OF 848 MAINTAINED OTHER · VERIFIED 2026-08-25

how we verify → /methodology

01 · Install Sourcegraph MCP Server

Claude Code

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

Claude Desktop / Cursor / VS Code - add to config

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

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

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

transport: streamable-http

endpoint NOT responding · probed 2026-08-25

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as remote - your agent's requests go to {sourcegraph_hostname}

license no standard license detected - usage rights unclear; check the repo before commercial use

registry registry publisher io.github.sourcegraph is not the repo owner (sourcegraph-community) - the registry entry was published by someone else

03 · What Sourcegraph MCP Server can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Limitations (from the README)

This README intentionally keeps client-specific setup details light because MCP integration steps can change over time. For the current Sourcegraph MCP server behavior, supported authentication modes, and client-specific setup instructions, see the official Sourcegraph documentation:

04 · Who maintains Sourcegraph MCP Server

Sourcegraph MCP Server is maintained by sourcegraph-community. It's the only MCP server we track from this author; the repo dates to Mar 2026.

05 · Facts

category
other - ranked #793 of 848 actively-maintained other servers as of 2026-08-25.
registry
io.github.sourcegraph/mcp (active, first published 2026-03-26)

06 · Sourcegraph MCP Server FAQ

What is Sourcegraph MCP Server?

This registry entry represents the Sourcegraph MCP server for a Sourcegraph instance. It is available as a remote MCP endpoint.

Is Sourcegraph MCP Server still maintained?

Yes - as of 2026-08-25, its last commit was 2026-03-26. We re-verify nightly.

How do I install Sourcegraph MCP Server?

Run `claude mcp add sourcegraph-community-mcpregis --transport http https://{sourcegraph_hostname}/.api/mcp`. You can also paste the ready-made client config above.

07 · Alternatives to Sourcegraph MCP Server

More MCP servers to compare · Spacefast · Simmer · Timebook · Stack Overflow MCP Server · SEC EDGAR Filings MCP