Does Git (reference) work with Claude Code?
Yes. Git (reference) passed every step of our test in Claude Code on Oct 13, 2026: it installed, connected, its tools were visible, and an agent used it to finish a real task.
Result
ResultPassed
Date testedOct 13, 2026
Plan tested onClaude Pro
App version2.1.296 (Claude Code)
Modelhaiku
Steps
- install OK
- connected OK
- tools visible OK
- agent task: find definition OKsymbol lookup + one cross-file reference in a 2-file Python repo (git history has 1 commit, so git-only tools can answer via git_show)
From our own harness run, not the maker’s claims. How we test.
What happened in this run
Install config we used
claude mcp add -s local ref-git -- uvx mcp-server-git --repository /workspace/timmy/harness/sandbox/coderepoConnection check
ref-git: uvx mcp-server-git --repository /workspace/timmy/harness/sandbox/coderepo - ✔ ConnectedTools check
verified via task step: agent saw and called the server's tools
Agent task: find definition
- Tool calls, in order:
mcp__ref-git__git_status,mcp__ref-git__git_show,mcp__ref-git__git_log,mcp__ref-git__git_show,mcp__ref-git__git_show
Raw details from our harness log for this run. Secrets redacted.
Set it up in Claude Code
Copy-paste config for every app is on the Git (reference) page. Not connecting? Claude Code MCP troubleshooting.
Other apps we tested it in: Cursor (passed) · Claude Desktop (passed) · ChatGPT (Codex) (passed).