Skip to content
codeaashu avatar

Claude Code Explorer MCP

codeaashu/claude-code

Read and search access to the leaked Claude Code CLI source, covering tools, slash commands, and architecture.

CCM score
81 of 100
GitHub stars
3.5K
tools
8
transport
STDIO
last updated
Apr 23, 2026
View on GitHub

Own this MCP server? Claim it

What it does

  • Lists agent tools and slash commands with list_tools and list_commands, and reads their full source with get_tool_source and get_command_source
  • Browses and reads files with list_directory and read_source_file, and greps the whole tree with search_source
  • Runs locally over stdio with no account or API key, installed via npx or a cloned repo
  • Designed for studying how an agentic coding CLI is built, such as tool design, permissions, and command handling

Tools

8 tools

Public 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.

Readme

Claude Code — Leaked Source

The full source code of Anthropic's Claude Code CLI, leaked on March 31, 2026

TypeScript Bun React + Ink Files MCP Server npm Twitter Follow

The original unmodified leaked source is preserved in the backup branch.



View the full README on GitHub

Details

Repository
github.com/codeaashu/claude-code
Categories
Developer Tools, AI Agents & LLM Apps
Package
@divyesh2000/codemaster
Transport
STDIO
Registry
MCP registry, active

Similar to Claude Code Explorer MCP

More Developer Tools