sourcegraph Plugin
Plugin Claude Code Development Code Search & Code IntelligenceCode Quality, Review & TestingClaude Code Customization & WorkflowThe explanation below is AI-generated. Please verify it against the sources.
sourcegraph-claudecode-plugin is a Claude Code plugin that, per its README, connects Claude Code to a Sourcegraph instance via Sourcegraph's MCP server for code search, navigation, and Deep Search. It also installs a 'searching-sourcegraph' skill with supporting workflows for tasks like feature implementation, debugging, and code review. Using it requires Claude Code version 1.0.33 or later, a Sourcegraph instance with MCP enabled, and an access token with the 'mcp' scope. It can be installed permanently via a plugin marketplace or loaded per-session for development, and setup can be verified with the /help and /mcp commands.
Overview
According to the Sourcegraph homepage, Sourcegraph is a code understanding platform for large, multi-repository codebases, offering Deep Search (natural-language search with citations), Code Search, an MCP server for agent context, Agentic Batch Changes for large-scale code modifications, Code Insights, and Code Monitoring, along with enterprise features such as SSO, SCIM, RBAC, and SOC2/ISO27001 compliance.
What you can do with sourcegraph
- Connect Claude Code to a Sourcegraph MCP server for code search, navigation, and Deep Search (README)
- Use the searching-sourcegraph skill, which Claude auto-invokes for search/navigation tasks (README)
- Follow included workflows for implementing features, understanding code, debugging issues, fixing bugs, and code review (README)
- Install the plugin permanently via a marketplace or load it per-session for development with --plugin-dir (README)
- Add only the Sourcegraph MCP server (without the skill) using claude mcp add (README)
- Verify the setup with the /help and /mcp commands (README)
Sources
Original description (English)
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.
History of sourcegraph
- Plugin Added sourcegraph