How To Set Up Sourcegraph MCP In Claude Code
Sourcegraph MCP comes to Claude Code in the Sourcegraph plugin, which ships an MCP server config.
What The Listing Says
From the marketplace listing
Code search and understanding across codebases. Search, read, and trace references across repositories; analyze refactor impact; investigate incidents via commit and diff search; run targeted security sweeps.
How To Install It
Add the marketplace once, and then run the install command to open the plugin's details so you can review it.
/plugin marketplace add anthropics/claude-plugins-official /plugin install sourcegraph@claude-plugins-official
What It Adds
| Skills | 1 |
|---|---|
| Commands | 0 |
| Agents | 0 |
hooks/hooks.json | No |
.mcp.json | Yes |
Where The Code Lives
- sourcegraph-community/sourcegraph-claudecode-plugin
- https://sourcegraph.com
- anthropics/claude-plugins-official, 47,601 stars, pushed 2026-11-18
- sourcegraph-community/sourcegraph-claudecode-plugin, 4 stars, pushed 2026-09-14
Check It Before You Install
A plugin can run hooks and commands on your machine with your user rights. Read its source before you install it.