Does Git (reference) work with Claude Code?
Yes. Git (reference) passed every step of our test in Claude Code on Oct 20, 2026: it installed, connected, its tools were visible, and an agent used it to finish a real task.
Result
Steps
- install OK
- connect 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.
Versions tested
Claude Code 2.1.296 · mcp-server-git 2026.10.19 · connected in 2.7s · tested Oct 20, 2026
Server package tested: mcp-server-git 2026.10.19 (uv, Python 3.12.15; resolved 2026-10-20)
Direct and key dependencies as resolved: anyio 4.15.1 · click 8.5.0 · GitPython 3.2.1 · mcp 2.3.0 · pydantic 2.14.1 · pydantic_core 2.50.1 · sse-starlette 3.5.0 · starlette 1.9.0 · typing_extensions 4.16.0 · uvicorn 0.54.0
All 31 resolved dependencies
annotated-types==0.8.0
anyio==4.15.1
attrs==26.1.0
cffi==2.1.1
click==8.5.0
cryptography==50.0.2
gitdb==4.0.12
GitPython==3.2.1
h11==0.16.0
httpcore2==2.15.1
httpx2==2.15.1
idna==3.20
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
mcp==2.3.0
mcp-types==2.3.0
opentelemetry-api==1.45.1
pycparser==3.11
pydantic==2.14.1
pydantic_core==2.50.1
PyJWT==2.15.1
python-multipart==0.0.32
referencing==0.37.0
rpds-py==2026.9.1
smmap==5.0.3
sse-starlette==3.5.0
starlette==1.9.0
truststore==0.10.5
typing-inspection==0.4.4
typing_extensions==4.16.0
uvicorn==0.54.0Captured with: uvx --from mcp-server-git@2026.10.19 python (importlib.metadata in the same uvx env; equivalent to uv pip freeze).
What happened in this run
Install config we used
claude mcp add -s local ref-git -- uvx mcp-server-git@2026.10.19 --repository /workspace/timmy/harness/sandbox/coderepoConnection check
ref-git: uvx mcp-server-git@2026.10.19 --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_show,mcp__ref-git__git_log
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).