
You know how sometimes you want to understand how the Claude Code CLI actually works under the hood? This server lets you do that by exposing tools to browse through the CLI's source code directly from Claude. You can search through the codebase, explore available commands and tools, and navigate the project structure without leaving your conversation. Reach for it when you're debugging Claude Code behavior, want to understand what a specific command does internally, or need to reference implementation details while building something that integrates with it. It's meta in the best way, using Claude to explore the code that powers Claude's own CLI.
This is the repository formerly known as nirholas/claude-code, the most widely forked mirror of the
Claude Code source leak of 31 March 2026. It is the same repository object, so
github.com/nirholas/claude-code still redirects here.
It contains no Anthropic source code, and it will not. The contents were removed after Anthropic's DMCA notice. That notice has not been retracted.
HISTORY.md is the full record: what leaked and how, what the DMCA did and did not cover, and the correction that still needs making.
The short version of the correction: Claude Code has never contained a cryptocurrency wallet or an autonomous payment system. The x402 payment code that circulated with copies of this leak was mine. I wrote it, on top of the leaked tree, while building a project of my own. It was not Anthropic's and it was not in the leak. Several popular writeups still report it as an undocumented Anthropic feature. HISTORY.md shows three independent ways to verify that it is not, and gives a complete accounting of every file I changed.
If you are auditing a copy of the leak you already hold, grep -r x402 src/ is the test.
The leaked tree imports internal packages that do not exist on the public npm registry, and squatters publish malicious packages under exactly those names. Installing dependencies from any copy of this codebase can execute arbitrary code on your machine. There were also genuinely trojanized "Claude Code leak" repositories in circulation in April 2026, documented by Zscaler ThreatLabz, distributing Vidar and GhostSocks through a Windows executable. Use the official Claude Code CLI from Anthropic.
All rights reserved. See LICENSE.