MCP git (reference)
Read, search and manipulate Git repositories
SkillMaxx / Development / 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.
As of Dec 5, 2026: yes in Claude Code and Grok Build. Not tested in Codex, Cursor and Pi (no install path we can test there yet).
From our nightly clean-sandbox install test on 2026-12-05. See also the best development add-ons.
/plugin install sourcegraph@claude-plugins-officialTested ✓ on 2026-12-05: installed and loaded in a throwaway sandbox with no credentials.
Installing plugin "sourcegraph@claude-plugins-official"...✔ Successfully installed plugin: sourcegraph@claude-plugins-official (scope: user)
$ verify:
❯ sourcegraph@claude-plugins-official
Status: ✔ enabledNo official Codex instructions yet. We haven't found docs saying this works in Codex.
Know it works? Tell us →Auto-loaded from your Claude Code plugins (no extra setup per xAI docs)Tested ✓ on 2026-12-05: installed and loaded in a throwaway sandbox with no credentials.
Installed 1 plugin(s) from claude-plugins-official: sourcegraph $ verify: sourcegraph-claudecode-plugin-5366c715: sourcegraph [git: https://github.com/sourcegraph-community/sourcegraph-claudecode-plugin.git] (claude-plugins-official)
No official Cursor instructions yet. We haven't found docs saying this works in Cursor.
Know it works? Tell us →No official Pi instructions yet. We haven't found docs saying this works in Pi.
Know it works? Tell us →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
Preview from the source repo. Images are removed.
Read, search and manipulate Git repositories
Investigate incidents, review code and execute UAT for release readiness, scan code for vulnerabilities, and...
Read the published questions and answers on the current GoVisit blog or documentation page. Use it to find an...
Access official Microsoft documentation, API references, and code samples for Azure, .NET, Windows, and more.
What broke, what's flaky, what's safe to install across Claude Code, Codex, Grok Build, Cursor and Pi. Free, every Tuesday.
Loading the signup form… or subscribe on Beehiiv
Form not loading? Subscribe on Beehiiv →