
Claude Code Explorer MCP
This server gives Claude direct access to the leaked Claude Code CLI source code from March 2026. You can list all 40+ agent tools and 85+ slash commands, pull the full TypeScript implementation of any tool or command, grep across the entire 512K line codebase, and browse the directory structure. It's built for exploration: ask how the BashTool works, compare permission models, or trace the React + Ink rendering pipeline. Useful when you're studying the architecture of a production CLI agent system or need to reference specific implementation patterns from Anthropic's tooling.
- GitHub stars
- 2.9K
- tools
- 8
- transport
- STDIO
- last updated
- Apr 23, 2026
Tools
8 toolsPublic tool metadata for what this MCP can expose to an agent.
list_toolsList all ~40 agent tools with source files
List all ~40 agent tools with source files
No parameter schema in public metadata yet.
list_commandsList all ~50 slash commands with source files
List all ~50 slash commands with source files
No parameter schema in public metadata yet.
get_tool_sourceRead full source of any tool (e.g. BashTool, FileEditTool)
Read full source of any tool (e.g. BashTool, FileEditTool)
No parameter schema in public metadata yet.
get_command_sourceRead source of any slash command (e.g. review, mcp)
Read source of any slash command (e.g. review, mcp)
No parameter schema in public metadata yet.
read_source_fileRead any file from `src/` by path
Read any file from `src/` by path
No parameter schema in public metadata yet.
search_sourceGrep across the entire source tree
Grep across the entire source tree
No parameter schema in public metadata yet.
list_directoryBrowse `src/` directories
Browse `src/` directories
No parameter schema in public metadata yet.
get_architectureHigh-level architecture overview
High-level architecture overview
No parameter schema in public metadata yet.
Sponsors
Readme
Claude Code — Leaked Source
The full source code of Anthropic's Claude Code CLI, leaked on March 31, 2026
The original unmodified leaked source is preserved in the
backupbranch.
Details
- Repository
- github.com/codeaashu/claude-code
- Category
- Search & Web Crawling
- Package
@divyesh2000/codemaster- Transport
- STDIO
- Registry
- MCP registry, active