SkillMaxx / Development / Sourcegraph

Sourcegraph logo

Sourcegraph

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.

PluginDevelopmentSource ↗Claude marketplace ↗

Stars
★ 4
Last updated
Hands-on tests
Tested ✓ in 2 of 5

Install

Tested ✓✓ Verified from docsOfficial docs ↗
/plugin install sourcegraph@claude-plugins-official

Tested ✓ on 2026-10-16: installed and loaded in a throwaway sandbox with no credentials.

Log excerpt
Installing plugin "sourcegraph@claude-plugins-official"...✔ Successfully installed plugin: sourcegraph@claude-plugins-official (scope: user)
$ verify:
  ❯ sourcegraph@claude-plugins-official
    Status: ✔ enabled
1 run, latest 2026-10-16

sourcegraph-claudecode-plugin

Sourcegraph plugin for Claude Code that adds:

  • Sourcegraph MCP server connectivity (code search, navigation, Deep Search, Code Finder, evaluator)
  • searching-sourcegraph skill for disciplined search workflows (with supporting workflows and query patterns)

Prerequisites

  • Claude Code version 1.0.33 or later (claude --version)
  • A Sourcegraph instance with MCP enabled
  • A Sourcegraph access token with mcp scope

Set the required environment variables in your shell profile (.zshrc, .bashrc, etc.):

export SOURCEGRAPH_ENDPOINT="https://sourcegraph.example.com"
export SOURCEGRAPH_ACCESS_TOKEN="<your-token>"

Install (permanent)

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.

Install (per-session, for development)

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.

Alternative: add MCP server only

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}"

Verify

After installing, confirm everything loaded:

  • /help should list sourcegraph:searching-sourcegraph
  • /mcp should show the sourcegraph MCP server as connected

Structure

.
├── .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
Read the full README on GitHub →

Preview from the source repo. Images are removed.

Similar alternatives

AWS Agents For Devsecops

Plugin · Development

Investigate incidents, review code and execute UAT for release readiness, scan code for vulnerabilities, and...

★ 2.9kTested ✓ in 3

MCP git (reference)

MCP server · Development

Read, search and manipulate Git repositories

★ 91kTested ✓ in 2

Microsoft Docs

Plugin · Development

Access official Microsoft documentation, API references, and code samples for Azure, .NET, Windows, and more.

★ 1.9kTested ✓ in 3

Qodo

Plugin · Development

Bring Qodo's codebase intelligence, coding standards, and code review into your coding agent.

★ 57Tested ✓ in 4

↑↓ to move · Enter to open · Esc to close