Sourcegraph

Use Sourcegraph MCP from Claude Code for code search, navigation, history, and Deep Search.

  • Install in
  • Plugin sourceView source
  • Installs13,515

Search, navigate, and understand code across all your repositories directly from Claude Code. This plugin connects to your Sourcegraph instance via MCP, giving you access to semantic search, keyword/regex search, commit and diff history, symbol navigation, reference tracing, and Sourcegraph's Deep Search — all without leaving your terminal.

With twelve integrated tools spanning search, code navigation, and analysis, you can explore unfamiliar codebases, trace how symbols are used across repositories, investigate incidents through commit history, audit code for security patterns, and assess the impact of refactors before making changes.

How to use: Set your SOURCEGRAPH_ENDPOINT and SOURCEGRAPH_ACCESS_TOKEN environment variables, then try these commands and prompts:

/sourcegraph:sg-search — Run a Sourcegraph search using natural language or keyword syntax (e.g., "find all callers of parseConfig across our Go services").
/sourcegraph:sg-file — Retrieve and summarize a file from any repository, highlighting key symbols and suggesting related files to explore.
"Search for all uses of the deprecated handleAuth function and show me which repos still depend on it."
"Find recent commits that modified database migration files across all backend repos."
"Trace where the UserSession type is defined and list every file that references it."

Other plugins

Frontend Design

Frontend design skill for UI/UX implementation

Superpowers

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

Code Review

Automated code review for pull requests using multiple specialized agents with confidence-based scoring

Context7

Upstash Context7 MCP server for up-to-date documentation lookup. Connects to Context7's hosted remote MCP server (https://mcp.context7.com/mcp) — no local Node.js or npx required — to pull version-specific documentation and code examples directly from source repositories into your LLM context. Authenticate with Context7 when prompted.

Code Simplifier

Agent that simplifies and refines code for clarity, consistency, and maintainability while preserving functionality

Playwright

Browser automation and end-to-end testing MCP server by Microsoft. Enables Claude to interact with web pages, take screenshots, fill forms, click elements, and perform automated browser testing workflows.