Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By sourcegraph-communityv0.1.0MITIn 13 marketplaces
Use Sourcegraph MCP from Claude Code for code search, navigation, history, and Deep Search.
Claude loads one when your task matches it, or you run it by name.
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
13 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Sourcegraph plugin for Claude Code that adds:
searching-sourcegraph skill for disciplined search workflows (with supporting workflows and query patterns)claude --version)mcp scopeSet the required environment variables in your shell profile (.zshrc, .bashrc, etc.):
export SOURCEGRAPH_ENDPOINT="https://sourcegraph.example.com"
export SOURCEGRAPH_ACCESS_TOKEN="<your-token>"
Add this repository as a marketplace, then install the plugin:
# From a local clone
claude plugin marketplace add ./sourcegraph-claudecode-plugin
# Or directly from GitHub
claude plugin marketplace add sourcegraph-community/sourcegraph-claudecode-plugin
Then install:
claude plugin install sourcegraph@sourcegraph-claudecode-plugin
Restart Claude Code after installing.
Load the plugin for a single session without installing permanently:
claude --plugin-dir ./sourcegraph-claudecode-plugin
Run /reload-plugins after making changes during a session.
If you only want the Sourcegraph MCP tools without the skills, add the server directly:
claude mcp add --transport http sourcegraph \
"${SOURCEGRAPH_ENDPOINT}/.api/mcp/all" \
--header "Authorization: token ${SOURCEGRAPH_ACCESS_TOKEN}"
After installing, confirm everything loaded:
/help should list sourcegraph:searching-sourcegraph/mcp should show the sourcegraph MCP server as connected.
├── .claude-plugin/
│ ├── plugin.json
│ └── marketplace.json
├── .mcp.json
├── skills/
│ └── searching-sourcegraph/
│ ├── SKILL.md
│ ├── query-patterns.md
│ ├── examples/
│ │ └── common-searches.md
│ └── workflows/
│ ├── implementing-feature.md
│ ├── understanding-code.md
│ ├── debugging-issue.md
│ ├── fixing-bug.md
│ └── code-review.md
└── README.md
The plugin installs one skill: searching-sourcegraph. Claude auto-invokes it when you need to search or navigate code via Sourcegraph. It includes workflows for implementing features, understanding code, debugging issues, fixing bugs, and code review.
${SOURCEGRAPH_ENDPOINT}/.api/mcp/all (full tool suite: code search, navigation, Deep Search, Code Finder, evaluator)"type": "http")Authorization: token <token>Sourcegraph's MCP server exposes several endpoints depending on how many tools you want:
| Endpoint | Tools exposed |
|---|---|
/.api/mcp | Curated default set: read_file, list_files, keyword_search, nls_search, list_repos, commit_search, diff_search, deepsearch_read |
/.api/mcp/all | Full suite — everything above, plus go_to_definition, find_references, compare_revisions, get_contributor_repos, deepsearch, code_finder, evaluator |
/.api/mcp/deepsearch | Deep Search only: deepsearch, deepsearch_read |
/.api/mcp/v1 | Deprecated. Full suite under legacy sg_-prefixed tool names, kept for backward compatibility |
This plugin uses /.api/mcp/all because the searching-sourcegraph skill and its workflows rely on code navigation and Deep Search tools that aren't in the curated default set.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground