Quick Start
Get Claude Code running and explore the source in minutes
Architecture Overview
Understand the core pipeline: CLI → Query Engine → Tools → UI
Tools Reference
Complete catalog of all 40+ agent tools with permissions and usage
Commands Reference
All 85+ slash commands organized by category
What is Claude Code?
Claude Code is a terminal-native AI coding assistant built as a single-binary CLI. It uses a React + Ink UI layer rendered in the terminal, a streaming Query Engine that manages LLM tool-call loops, and a rich ecosystem of tools that give Claude the ability to read files, run shell commands, search the web, spawn sub-agents, and integrate with your IDE.40+ Agent Tools
File I/O, shell execution, web search, LSP, MCP, and more
85+ Slash Commands
Git, code review, session management, configuration
MCP Support
Acts as both MCP client and MCP server
Plugin System
Extend with custom plugins and reusable skills
Multi-Agent
Spawn teams of parallel agents for complex tasks
IDE Bridge
Deep integration with VS Code and JetBrains
Explore the source
This repository contains the full leakedsrc/ directory (~1,900 files, 512,000+ lines of TypeScript). Use the MCP Explorer server to navigate it interactively from any AI assistant.
MCP Explorer Server
Install the
claude-code-explorer-mcp package to explore source code interactivelyExploration Guide
Study paths, grep patterns, and key files for understanding the codebase
The
src/ directory is the original leaked source and should not be modified. Contributions to documentation, the MCP server, and exploration tooling are welcome.