# Claude Code Explorer MCP

An MCP server that lets your agent browse the Claude source: tool and slash-command listings, code search, architecture overview.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 3409
- Author: codeaashu
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/codeaashu/claude-code/tree/HEAD/mcp-server
- Updated: 2026-10-14
- HTML: https://affpapa.org/en/nevibecode/mcp/codeaashu-claude-code-explorer-mcp

## What it 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`.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add codemaster -- npx -y @divyesh2000/codemaster
```

### Codex

**Platform CLI**
```bash
codex mcp add mcp-server -- npx -y @divyesh2000/codemaster
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "@divyesh2000/codemaster"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp-server": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@divyesh2000/codemaster"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add mcp-server npx -y @divyesh2000/codemaster
```

## When to use it
- 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
- List all Claude tools
- Search the source for where permissions are checked
- Use the `explain_tool` prompt with `FileEditTool`

## Similar
- [context7](https://affpapa.org/en/nevibecode/skills/context7.md) — skill · 11200 installs
- [code-explorer](https://affpapa.org/en/nevibecode/agents/code-explorer.md) — subagent · 1172 installs
- [repomix-explorer](https://affpapa.org/en/nevibecode/skills/repomix-explorer.md) — skill · 1900 installs
- [business-scenario-explorer](https://affpapa.org/en/nevibecode/commands/business-scenario-explorer.md) — command · 273 installs
- [Compiler Explorer](https://affpapa.org/en/nevibecode/mcp/compiler-explorer.md) — MCP server · ★ 19148
- [paseo-plugin](https://affpapa.org/en/nevibecode/skills/paseo-plugin.md) — skill · 1400 installs

## Other versions with the same name
- [Claude Code Explorer MCP · nirholas](https://affpapa.org/en/nevibecode/mcp/claude-code-explorer-mcp.md) — ★ 6235

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
