Claude Code Explorer MCP · codeaashu — Claude Code MCP server: what it does
An MCP server that lets your agent browse the Claude source: tool and slash-command listings, code search, architecture overview.
claude mcp add codemaster -- npx -y @divyesh2000/codemasterWhat Claude Code Explorer MCP does
The server exposes navigation tools over the Claude source tree: list agent tools, list slash commands, read a specific tool or command implementation, read any file under src/ by relative path, run a regex search, and pull an architecture overview. It also serves resources such as claude-code://tools and claude-code://commands, plus prompts like explain_tool, how_does_it_work and compare_tools.
Three transports are supported: STDIO, Streamable HTTP and legacy SSE. HTTP mode can require a bearer token via MCP_API_KEY. Point the server at your source with CLAUDE_CODE_SRC_ROOT; the default is ../src relative to dist/. Build is the usual npm install followed by npm run build.
Deploying on Vercel is a poor fit for long-lived SSE streams, because those functions are stateless and time-limited. Use Railway or Docker instead. Locally you just need Node and the built dist/index.js.
What it helps with
- inspect how a specific agent tool is implemented
- regex-search the tree for permission checks
- get a full list of slash commands with descriptions
- read any file under
src/by relative path - walk through the Claude architecture layer by layer
Example prompts for the agent
- List all Claude tools
- Search the source for where permissions are checked
- Use the
explain_toolprompt withFileEditTool
How to install Claude Code Explorer MCP
Platform CLI
claude mcp add codemaster -- npx -y @divyesh2000/codemasterPlatform CLI
codex mcp add mcp-server -- npx -y @divyesh2000/codemasterConfig file
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@divyesh2000/codemaster"
]
}
}
}Config file
{
"servers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@divyesh2000/codemaster"
]
}
}
}Platform CLI
gemini mcp add mcp-server npx -y @divyesh2000/codemasterStep 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?
Run claude mcp add codemaster -- npx -y @divyesh2000/codemaster. If you prefer a different server name, use claude mcp add mcp-server -- npx -y @divyesh2000/codemaster.
What does Claude Explorer MCP do?
It gives your agent tools to navigate the Claude source: tool and command listings, file reads, regex search and an architecture overview.
Which transports does it support?
STDIO, Streamable HTTP and legacy SSE. HTTP mode can be protected with a bearer token via MCP_API_KEY.
Similar MCP servers
All MCP servers for Agent setup: memory, context, orchestration →Claude Code Explorer MCP by other authors comes first.