Does GitHub Repo MCP work with Claude Code?

Yes. GitHub Repo MCP passed every step of our test in Claude Code on Oct 21, 2026: it installed, connected, its tools were visible, and an agent used it to finish a real task.

Result

ResultPassed
Date testedOct 21, 2026
Plan tested onClaude Pro
App versionClaude Code 2.1.296
Server packagegithub-repo-mcp 1.0.3
Connect timeconnected in 5.6s
Modelhaiku

Steps

  1. install OK
  2. connect OK
  3. tools visible OK
  4. agent task: read repo OKread a public repo without a token

From our own harness run, not the maker’s claims. How we test.

Versions tested

Claude Code 2.1.296 · github-repo-mcp 1.0.3 · connected in 5.6s · tested Oct 21, 2026

Server package tested: github-repo-mcp 1.0.3 (npm, Node v20.19.2; resolved 2026-10-21)

Direct and key dependencies as resolved: @modelcontextprotocol/sdk 1.32.1 · express 5.3.0 · octokit 3.2.2 · zod 3.25.76 · zod-to-json-schema 3.25.2

All 147 resolved dependencies
@hono/node-server==2.1.5
@modelcontextprotocol/sdk==1.32.1
@octokit/app==14.1.0
@octokit/auth-app==6.1.4
@octokit/auth-oauth-app==7.1.0
@octokit/auth-oauth-device==6.1.0
@octokit/auth-oauth-user==4.1.0
@octokit/auth-token==4.0.0
@octokit/auth-unauthenticated==5.0.1
@octokit/core==5.2.2
@octokit/endpoint==9.0.6
@octokit/graphql==7.1.1
@octokit/oauth-app==6.1.0
@octokit/oauth-authorization-url==6.0.2
@octokit/oauth-methods==4.1.0
@octokit/openapi-types==20.0.0, 24.2.0
@octokit/plugin-paginate-graphql==4.0.1
@octokit/plugin-paginate-rest==11.4.4-cjs.2, 9.2.2
@octokit/plugin-rest-endpoint-methods==13.3.2-cjs.1
@octokit/plugin-retry==6.1.0
@octokit/plugin-throttling==8.2.0
@octokit/request==8.4.1
@octokit/request-error==5.1.1
@octokit/types==12.6.0, 13.10.0
@octokit/webhooks==12.3.2
@octokit/webhooks-methods==4.1.0
@octokit/webhooks-types==7.6.1
@types/aws-lambda==8.10.164
@types/btoa-lite==1.0.2
@types/jsonwebtoken==9.0.10
@types/ms==2.1.0
@types/node==26.6.5
accepts==2.0.0
aggregate-error==3.1.0
ajv==8.20.0
ajv-formats==3.0.1
before-after-hook==2.2.3
body-parser==2.3.0
bottleneck==2.19.5
btoa-lite==1.0.0
buffer-equal-constant-time==1.0.1
bytes==3.1.2
call-bind-apply-helpers==1.0.2
call-bound==1.0.4
clean-stack==2.2.0
content-disposition==2.0.1
content-type==1.0.5, 2.1.0
cookie==0.7.2
cookie-signature==1.2.2
cors==2.8.6
cross-spawn==7.0.6
debug==4.4.3
depd==2.0.0
deprecation==2.3.1
dunder-proto==1.0.1
ecdsa-sig-formatter==1.0.11
ee-first==1.1.1
encodeurl==2.0.0
es-define-property==1.0.1
es-errors==1.3.0
es-object-atoms==1.1.2
escape-html==1.0.3
etag==1.8.1
eventsource==3.0.7
eventsource-parser==3.1.1
express==5.3.0
express-rate-limit==8.7.1
fast-deep-equal==3.1.3
fast-uri==3.1.9
finalhandler==2.1.1
forwarded==0.2.0
fresh==2.0.0
function-bind==1.1.2
get-intrinsic==1.3.0
get-proto==1.0.1
gopd==1.2.0
has-symbols==1.1.0
hasown==2.0.4
hono==4.13.13
http-errors==2.0.1
iconv-lite==0.7.3
indent-string==4.0.0
inherits==2.0.4
ip-address==10.7.4
ipaddr.js==1.9.1
is-promise==4.0.0
isexe==2.0.0
jose==6.2.13
json-schema-traverse==1.0.0
json-schema-typed==8.0.2
jsonwebtoken==9.0.3
jwa==2.0.1
jws==4.0.1
lodash.includes==4.3.0
lodash.isboolean==3.0.3
lodash.isinteger==4.0.4
lodash.isnumber==3.0.3
lodash.isplainobject==4.0.6
lodash.isstring==4.0.1
lodash.once==4.1.1
lru-cache==11.0.2-patch.1
math-intrinsics==1.1.0
media-typer==1.1.1
merge-descriptors==2.0.0
mime-db==1.54.0
mime-types==3.0.2
ms==2.1.3
negotiator==1.1.0
object-assign==4.1.1
object-inspect==1.13.4
octokit==3.2.2
on-finished==2.4.1
once==1.4.0
parseurl==1.3.3
path-key==3.1.1
path-to-regexp==8.4.2
pkce-challenge==5.0.1
proxy-addr==2.0.8
qs==6.16.1
range-parser==1.3.0
raw-body==3.0.2
require-from-string==2.0.2
router==2.2.0
safe-buffer==5.2.1
safer-buffer==2.1.2
semver==7.8.5
send==1.2.1
serve-static==2.2.1
setprototypeof==1.2.0
shebang-command==2.0.0
shebang-regex==3.0.0
side-channel==1.1.1
side-channel-list==1.0.1
side-channel-map==1.0.1
side-channel-weakmap==1.0.2
statuses==2.0.2
toidentifier==1.0.1
type-is==2.1.0
undici-types==8.9.0
universal-github-app-jwt==1.2.0
universal-user-agent==6.0.1
unpipe==1.0.0
vary==1.1.2
which==2.0.2
wrappy==1.0.2
zod==3.25.76
zod-to-json-schema==3.25.2

Captured with: npm ls --all --json in the npx env.

What happened in this run

Install config we used

claude mcp add -s local github-repo-mcp -- npx -y github-repo-mcp

Connection check

github-repo-mcp: npx -y github-repo-mcp - ✔ Connected

Tools check

verified via task step: agent saw and called the server's tools

Agent task: read repo

  • Tool calls, in order: mcp__github-repo-mcp__getRepoFile

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 GitHub Repo MCP page. Not connecting? Claude Code MCP troubleshooting.

Other apps we tested it in: Cursor (passed) · Claude Desktop (passed) · ChatGPT (Codex) (failed).

All MCP servers tested in Claude Code

Featured