Skip to main content
MCP server CX Codex

Claude Code Explorer MCP · nirholas — Claude Code MCP server: what it does

An MCP server that exposes the Claude CLI source tree: browse tools and commands, search code. Handy when you want to see how the CLI works.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add claude-code-explorer-mcp -- npx -y claude-code-explorer-mcp
Open on GitHub

What Claude Code Explorer MCP does

The server gives your agent local access to the Claude CLI source tree. It can list tools and commands, run code searches, and open files without leaving the chat.

Install is a single command through npx; there is no repository to clone. The package is pulled from npm on each launch, so you need a working Node.js and registry access.

One thing to know: nirholas/fresh-start is the former mirror of the 31 March 2026 Claude source leak. Its contents were removed after Anthropic's DMCA notice, and no Anthropic code lives there. The author warns that copies of the leak import internal packages absent from the public npm registry, while malicious packages get published under those same names. Pulling dependencies from such a copy can run arbitrary code on your machine. Get this MCP server from npm and leave the leak copies alone.

What it helps with

  • list the tools and commands the Claude CLI ships with
  • search the source tree for a specific file or function
  • understand how a CLI command works without leaving the chat
  • check what a given agent command actually does

Example prompts for the agent

  • List the tools in the Claude CLI
  • Find where this command is handled in the source
  • Open the file that defines this command and explain it

How to install Claude Code Explorer MCP

Platform CLI

claude mcp add claude-code-explorer-mcp -- npx -y claude-code-explorer-mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Claude Code Explorer MCP

How do I install Claude Explorer MCP in Claude Code?

Run claude mcp add claude-code-explorer-mcp -- npx -y claude-code-explorer-mcp. The server starts through npx, so you do not install the package separately.

What does Claude Explorer MCP do?

It gives the agent access to the Claude CLI source tree: listing tools and commands, searching code, and reading files inside the chat.

Is it safe to install?

The server itself comes from npm. Copies of the Claude leak are a different story: they pull internal packages whose names are used on npm to ship malicious code.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Claude Code Explorer MCP by other authors comes first.

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor