Best for
- Developers and researchers examining Claude Code CLI source in this repository.
- Users who want to search and browse source through an MCP client.
The server manifest confirms the name, version, npm package, Node runtime, and stdio transport. The README describes source browsing, search, architecture tools, and client configuration examples. There is no evidence that the server is maintained by the Claude Code upstream owner, so it is marked non-official.
Strongest · Setup experience 13/20 Weakest · Reliability 6/20
Static review · not runReviewed 2026-11-29
Read the FMRS scoring method →Runtime:Node.js
CLAUDE_CODE_SRC_ROOT
Path to the Claude Code source directory; set it to the cloned repository's `src` directory.
Install and build the repository's mcp-server, then configure the MCP client to run node /absolute/path/mcp-server/dist/index.js and set CLAUDE_CODE_SRC_ROOT to the source directory. The README also describes launching through npx with the claude-code-explorer-mcp npm package; the manifest specifies Node and stdio.
{"mcpServers":{"claude-code-explorer":{"command":"node","args":["/absolute/path/to/claude-code-source-code/mcp-server/dist/index.js"],"env":{"CLAUDE_CODE_SRC_ROOT":"/absolute/path/to/claude-code-source-code/src"}}}}
Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"claude-code-explorer": {
"command": "node",
"args": [
"/absolute/path/to/claude-code-source-code/mcp-server/dist/index.js"
],
"env": {
"CLAUDE_CODE_SRC_ROOT": "/absolute/path/to/claude-code-source-code/src"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
[mcp_servers.claude-code-explorer] command = "node" args = ["/absolute/path/to/claude-code-source-code/mcp-server/dist/index.js"] [mcp_servers.claude-code-explorer.env] CLAUDE_CODE_SRC_ROOT = "/absolute/path/to/claude-code-source-code/src"
Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).
claude mcp add claude-code-explorer -e CLAUDE_CODE_SRC_ROOT=/absolute/path/to/claude-code-source-code/src -- node /absolute/path/to/claude-code-source-code/mcp-server/dist/index.js
Run it in a terminal; replace any <…> placeholders with your own values first.
Confirm that `list_tools` and `search_source` appear in the client's MCP tool list. Ask it to list the tools and check that the server returns Claude Code tool and source file information.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
Claude Code Explorer MCP exposes browsing and search capabilities for Claude Code CLI source code through MCP. It can list tools and slash commands, read their source files, search the source tree, browse directories, and show an architecture overview. The manifest specifies stdio transport and a Node runtime.
Connect code, docs, and infrastructure in a local knowledge graph.
Docker's official MCP gateway CLI plugin for managing and running MCP servers.
Fast, low-cost structured judgments for agents.
Local call graphs and structural analysis for Go repositories.
Source revision 66f774078704 Data synced 2026-12-05 Read the FMRS scoring method Markdown