mcpbeat Sign in

Sourcegraph MCP Server

local only

Sourcegraph MCP runs on your own machine — the client starts it, so there is no endpoint to ping.

Search public code on Sourcegraph. No key required.

The linked repository no longer exists on GitHub — it was deleted or made private.

Installs / week
npm · sourcegraph-mcp
Stars
on GitHub
Last commit
0 releases in 90 days
License
language unknown

This one has been quiet for a while

Quiet is not dead — but it is worth knowing when it wakes up, or when someone else takes it over. We watch the repository and tell you either way.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add sourcegraph-mcp -- npx -y sourcegraph-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "sourcegraph-mcp": {
      "args": [
        "-y",
        "sourcegraph-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.sourcegraph-mcp]
command = "npx"
args = ["-y", "sourcegraph-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "sourcegraph-mcp": {
      "args": [
        "-y",
        "sourcegraph-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "sourcegraph-mcp": {
      "args": [
        "-y",
        "sourcegraph-mcp"
      ],
      "command": "npx"
    }
  }
}

Alternatives to Sourcegraph MCP

same job, measured the same way
Zoekt MCP
by radiovisual

Fast indexed code search for AI agents, powered by Sourcegraph Zoekt.

100 installs/wk local only
Aur MCP
by mrfentmen

Arch User Repository package search from the AUR RPC. No key required.

local only
Countryflags MCP
by mrfentmen

Country flag image URLs and codes. No key required.

local only
Codeberg MCP
by mrfentmen

Codeberg repositories from the Codeberg API. No key required.

local only
Github Status MCP
by mrfentmen

GitHub status from GitHub Status. No key required.

local only
CodeNib
by codenib

Source-linked CodeGraph exploration, ranked search, and static navigation for coding agents.

721 installs/wk local only
Gitea MCP
by mrfentmen

Gitea.com public API: search repos and users.

local only
Codeforces MCP
by mrfentmen

Codeforces competitive programming API: contests and user info. No key required.

local only

Sourcegraph MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Sourcegraph MCP?
Sourcegraph MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package sourcegraph-mcp.
Is Sourcegraph MCP still maintained?
The linked repository no longer exists on GitHub — it was deleted or made private. We show this because it changes what you can expect: an unmaintained server may keep answering for months and then stop without warning.
How do I connect Sourcegraph MCP?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls sourcegraph-mcp straight from npm; nothing to host, nothing to sign up for.