Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Claude Code Explorer MCP
Claude Code Explorer MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/7/2026, 7:37:34 PM

Claude Code Explorer MCP

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository3.3k GitHub StarsTotal stargazers on GitHub for the source repository (3,309 stars).Visit Website

Explore the Claude Code CLI source β€” browse tools, commands, search code, and more.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "claude-code-explorer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "warrioraashuu-codemaster"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

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.


The X-Ray Intelligence Engine for Your Codebase.

RepoXray Logo

Understand Any Codebase
X-Ray Any Repo, in Seconds.
repoxray.2clabs.tech

Spend less time reading code, more time building.


Table of Contents

  • How It Leaked
  • What Is Claude Code?
  • Documentation
  • Explore with MCP Server
  • Directory Structure
  • Architecture
    • Tool System
    • Command System
    • Service Layer
    • Bridge System
    • Permission System
    • Feature Flags
  • Key Files
  • Tech Stack
  • Design Patterns
  • GitPretty Setup
  • Contributing
  • Disclaimer

How It Leaked

Chaofan Shou (@Fried_rice) discovered that the published npm package for Claude Code included a .map file referencing the full, unobfuscated TypeScript source β€” downloadable as a zip from Anthropic's R2 storage bucket.

"Claude code source code has been leaked via a map file in their npm registry!"

β€” @Fried_rice, March 31, 2026


What Is Claude Code?

Claude Code is Anthropic's official CLI tool for interacting with Claude directly from the terminal β€” editing files, running commands, searching codebases, managing git workflows, and more. This repository contains the leaked src/ directory.

Leaked2026-03-31
LanguageTypeScript (strict)
RuntimeBun
Terminal UIReact + Ink
Scale~1,900 files Β· 512,000+ lines of code

οΏ½ Documentation

For in-depth guides, see the docs/ directory:

GuideDescription
ArchitectureCore pipeline, startup sequence, state management, rendering, data flow
Tools ReferenceComplete catalog of all ~40 agent tools with categories and permission model
Commands ReferenceAll ~85 slash commands organized by category
Subsystems GuideDeep dives into Bridge, MCP, Permissions, Plugins, Skills, Tasks, Memory, Voice
Exploration GuideHow to navigate the codebase β€” study paths, grep patterns, key files

Also see: CONTRIBUTING.md Β· MCP Server README


οΏ½πŸ” Explore with MCP Server

This repo ships an MCP server that lets any MCP-compatible client (Claude Code, Claude Desktop, VS Code Copilot, Cursor) explore the full source interactively.

Install from npm

The MCP server is published as warrioraashuu-codemaster on npm β€” no need to clone the repo:

bash
# Claude Code
claude mcp add warrioraashuu-codemaster -- npx -y warrioraashuu-codemaster

One-liner setup (from source)

bash
git clone https://github.com/codeaashu/claude-code.git ~/claude-code \
  && cd ~/claude-code/mcp-server \
  && npm install && npm run build \
  && claude mcp add claude-code-explorer -- node ~/claude-code/mcp-server/dist/index.js
Step-by-step setup
bash
# 1. Clone the repo
git clone https://github.com/codeaashu/claude-code.git
cd claude-code/mcp-server

# 2. Install & build
npm install && npm run build

# 3. Register with Claude Code
claude mcp add claude-code-explorer -- node /absolute/path/to/claude-code/mcp-server/dist/index.js

Replace /absolute/path/to/claude-code with your actual clone path.

VS Code / Cursor / Claude Desktop config

VS Code β€” add to .vscode/mcp.json:

config.json
{
  "servers": {
    "claude-code-explorer": {
      "type": "stdio",
      "command": "node",
      "args": ["${workspaceFolder}/mcp-server/dist/index.js"],
      "env": { "CLAUDE_CODE_SRC_ROOT": "${workspaceFolder}/src" }
    }
  }
}

Claude Desktop β€” add to your config file:

config.json
{
  "mcpServers": {
    "claude-code-explorer": {
      "command": "node",
      "args": ["/absolute/path/to/claude-code/mcp-server/dist/index.js"],
      "env": { "CLAUDE_CODE_SRC_ROOT": "/absolute/path/to/claude-code/src" }
    }
  }
}

Cursor β€” add to ~/.cursor/mcp.json (same format as Claude Desktop).

Available tools & prompts

ToolDescription
list_toolsList all ~40 agent tools with source files
list_commandsList all ~50 slash commands with source files
get_tool_sourceRead full source of any tool (e.g. BashTool, FileEditTool)
get_command_sourceRead source of any slash command (e.g. review, mcp)
read_source_fileRead any file from src/ by path
search_sourceGrep across the entire source tree
list_directoryBrowse src/ directories
get_architectureHigh-level architecture overview
PromptDescription
explain_toolDeep-dive into how a specific tool works
explain_commandUnderstand a slash command's implementation
architecture_overviewGuided tour of the full architecture
how_does_it_workExplain any subsystem (permissions, MCP, bridge, etc.)
compare_toolsSide-by-side comparison of two tools

Try asking: "How does the BashTool work?" Β· "Search for where permissions are checked" Β· "Show me the /review command source"

Custom source path / Remove

bash
# Custom source location
claude mcp add claude-code-explorer -e CLAUDE_CODE_SRC_ROOT=/path/to/src -- node /path/to/mcp-server/dist/index.js

# Remove
claude mcp remove claude-code-explorer

Directory Structure

Code
src/
β”œβ”€β”€ main.tsx                 # Entrypoint β€” Commander.js CLI parser + React/Ink renderer
β”œβ”€β”€ QueryEngine.ts           # Core LLM API caller (~46K lines)
β”œβ”€β”€ Tool.ts                  # Tool type definitions (~29K lines)
β”œβ”€β”€ commands.ts              # Command registry (~25K lines)
β”œβ”€β”€ tools.ts                 # Tool registry
β”œβ”€β”€ context.ts               # System/user context collection
β”œβ”€β”€ cost-tracker.ts          # Token cost tracking
β”‚
β”œβ”€β”€ tools/                   # Agent tool implementations (~40)
β”œβ”€β”€ commands/                # Slash command implementations (~50)
β”œβ”€β”€ components/              # Ink UI components (~140)
β”œβ”€β”€ services/                # External service integrations
β”œβ”€β”€ hooks/                   # React hooks (incl. permission checks)
β”œβ”€β”€ types/                   # TypeScript type definitions
β”œβ”€β”€ utils/                   # Utility functions
β”œβ”€β”€ screens/                 # Full-screen UIs (Doctor, REPL, Resume)
β”‚
β”œβ”€β”€ bridge/                  # IDE integration (VS Code, JetBrains)
β”œβ”€β”€ coordinator/             # Multi-agent orchestration
β”œβ”€β”€ plugins/                 # Plugin system
β”œβ”€β”€ skills/                  # Skill system
β”œβ”€β”€ server/                  # Server mode
β”œβ”€β”€ remote/                  # Remote sessions
β”œβ”€β”€ memdir/                  # Persistent memory directory
β”œβ”€β”€ tasks/                   # Task management
β”œβ”€β”€ state/                   # State management
β”‚
β”œβ”€β”€ voice/                   # Voice input
β”œβ”€β”€ vim/                     # Vim mode
β”œβ”€β”€ keybindings/             # Keybinding configuration
β”œβ”€β”€ schemas/                 # Config schemas (Zod)
β”œβ”€β”€ migrations/              # Config migrations
β”œβ”€β”€ entrypoints/             # Initialization logic
β”œβ”€β”€ query/                   # Query pipeline
β”œβ”€β”€ ink/                     # Ink renderer wrapper
β”œβ”€β”€ buddy/                   # Companion sprite (Easter egg 🐣)
β”œβ”€β”€ native-ts/               # Native TypeScript utils
β”œβ”€β”€ outputStyles/            # Output styling
└── upstreamproxy/           # Proxy configuration

Architecture

1. Tool System

src/tools/ β€” Every tool Claude can invoke is a self-contained module with its own input schema, permission model, and execution logic.

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • Claude Code Explorer MCP logoClaude Code Explorer MCP

    Explore the Claude Code CLI source β€” browse tools, commands, search code, and more.

    πŸ’» Developer Tools0 views
    Compare vs Claude Code Explorer MCP β†’
  • HeyClaude β€” Claude & AI workflow directory logoHeyClaude β€” Claude & AI workflow directory

    Search the HeyClaude directory of Claude Code agents, MCP servers, skills, and tools.

    πŸ’» Developer Tools0 views
    Compare vs HeyClaude β€” Claude & AI workflow directory β†’
  • C
    Claude Code Ultimate Guide

    Search the Claude Code Ultimate Guide and machine-readable references from any MCP client.

    πŸ’» Developer Tools0 views
    Compare vs Claude Code Ultimate Guide β†’
  • Codealive MCP logoCodealive MCP

    Semantic code search and analysis from CodeAlive for AI assistants and agents.

    πŸ’» Developer Tools0 views
    Compare vs Codealive MCP β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Claude Code Explorer MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "claude-code-explorer-mcp": { "command": "npx", "args": ["-y", "Claude Code Explorer MCP"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewClaude Code Explorer MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/claude-code-explorer-mcp?style=directory)](https://allmcps.com/mcp/claude-code-explorer-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/claude-code-explorer-mcp"><img src="https://allmcps.com/api/badge/claude-code-explorer-mcp?style=directory" alt="Claude Code Explorer MCP on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars3,309
GitHub Star CountTotal stargazers on GitHub representing community popularity (3,309 stars).
44Quality signal: Fair Β· 44/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools16/30
Adoption & activity7/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Claude Code Explorer MCP β†’Install in Claude DesktopInstall in CursorInstall in VS Code