Sourcegraph

Search code across repositories with the Sourcegraph plugin for Claude Code and trace references before changing shared code.

Published by Sourcegraph Community

How to install Sourcegraph

Set the repository scope explicitly so similarly named public projects do not appear in the report.

  1. Start Claude Code once to register Anthropic’s official marketplace. Then run the install command in your terminal.
  2. Open a new Claude Code session and check the Installed tab in /plugin before using plugin features.
Claude Code · Install in Claude Code
claude plugin install sourcegraph@claude-plugins-official

Try a first task

Before moving a shared library function, search for imports across the repositories you maintain. Spot-check a handful of references before estimating how many repos need changes.

Package components

  • searching-sourcegraph
  • sourcegraph

Publisher references

Homepage

searching-sourcegraph Use when the user needs to search or navigate code with

View on Claude Marketplace

Browse Plugins