Best for
- Developers interested in Claude Code's internals
- Researchers analyzing large TypeScript projects
- Technical users who want to study or extend Claude Code's source
This MCP server is an unofficial source reconstruction of Claude Code, suitable for research and education but not for production. It runs on Bun and provides a complete source tree and development entry. Users should be aware of copyright and completeness issues.
This is an unofficial repository that reconstructs the Claude Code CLI source code from the source maps of the public npm package @anthropic-ai/claude-code. It includes 1,987 TypeScript/TSX files and can be installed and run with Bun. It is intended for research and learning about Claude Code's internal implementation. Due to source map limitations, some modules are replaced with compatible shims or degraded implementations, so behavior may differ from the original.
git clone https://github.com/lsm1103/CC and enter the directory.bun install.bun run version should output the version.bun run dev.