GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Explore the Claude Code CLI source — browse tools, commands, search code, and more.
选择你使用的 AI 应用,然后复制设置。
通过 1/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server Claude Code Explorer MCP,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "codemaster": { "command": "npx", "args": [ "-y", "@divyesh2000/codemaster" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Claude Code Explorer MCP 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
SettingsDeveloperEdit Config
{
"mcpServers": {
"codemaster": {
"command": "npx",
"args": [
"-y",
"@divyesh2000/codemaster"
]
}
}
}用 Claude Code Explorer MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Claude Code Explorer MCP,或回答中出现 Claude Code Explorer MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Claude Code Explorer MCP
Claude Code Explorer MCP 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Claude Code Explorer MCP 的应用
B · 开发者工具 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server Claude Code Explorer MCP,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user codemaster -- npx -y @divyesh2000/codemaster 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Claude Code Explorer MCP 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user codemaster -- npx -y @divyesh2000/codemaster应能看到 Claude Code Explorer MCP 在列表中并显示已连接
用 Claude Code Explorer MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Claude Code Explorer MCP,或回答中出现 Claude Code Explorer MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server Claude Code Explorer MCP,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "codemaster": { "command": "npx", "args": [ "-y", "@divyesh2000/codemaster" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Claude Code Explorer MCP 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
用 Claude Code Explorer MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Claude Code Explorer MCP,或回答中出现 Claude Code Explorer MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server Claude Code Explorer MCP,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "codemaster": { "type": "stdio", "command": "npx", "args": [ "-y", "@divyesh2000/codemaster" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 Claude Code Explorer MCP 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
用 Claude Code Explorer MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Claude Code Explorer MCP,或回答中出现 Claude Code Explorer MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user codemaster -- npx -y @divyesh2000/codemasterClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"codemaster": {
"command": "npx",
"args": [
"-y",
"@divyesh2000/codemaster"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"codemaster": {
"command": "npx",
"args": [
"-y",
"@divyesh2000/codemaster"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"codemaster": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@divyesh2000/codemaster"
]
}
}
}这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月15日
发布者(divu2025)不是仓库所有者(codeaashu);可能是其他人代为上架的
代码最后更新于32天前
GitHub 无法识别许可证类型;请打开文件自行查看
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
尚未检查
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于32天前,最新版本(1.1.0)于7个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A standalone Model Context Protocol (MCP) server that lets any MCP-compatible client explore the Claude Code source code. Rebranded and published by warrioraashuu. Supports STDIO, Streamable HTTP, and SSE transports.
Exposes 8 tools, 3 resources, and 5 prompts for navigating the ~1,900-file, 512K+ line Claude Code codebase. This is the official npm package: warrioraashuu-codemaster.
| Transport | Endpoint | Best For |
|---|---|---|
| STDIO | node dist/index.js | Claude Desktop, local Claude Code, VS Code |
| Streamable HTTP | POST/GET /mcp | Modern MCP clients, remote hosting |
| Legacy SSE | GET /sse + POST /messages | Older MCP clients |
| Tool | Description |
|---|---|
list_tools | List all 40+ agent tools (BashTool, FileEditTool, etc.) |
list_commands | List all 50+ slash commands (/commit, /review, etc.) |
get_tool_source | Read a specific tool's implementation |
get_command_source | Read a specific command's implementation |
read_source_file | Read any file from src/ by relative path |
search_source | Regex search across the entire source tree |
list_directory | List contents of any directory under src/ |
get_architecture | Get a full architecture overview |
| URI | Description |
|---|---|
claude-code://architecture | README / architecture overview |
claude-code://tools | Tool registry (JSON) |
claude-code://commands | Command registry (JSON) |
claude-code://source/{path} | Any source file (template) |
| Prompt | Description |
|---|---|
explain_tool | Deep-dive explanation of a specific tool's purpose, schema, permissions, and flow |
explain_command | Explanation of a specific slash command's behavior and implementation |
architecture_overview | Guided tour of the full Claude Code architecture |
how_does_it_work | Explain a feature/subsystem (permissions, MCP, bridge, etc.) |
compare_tools | Side-by-side comparison of two tools |
cd mcp-server
npm install npm run build
npm start
CLAUDE_CODE_SRC_ROOT=/path/to/src npm start
npm run start:http
MCP_API_KEY=your-secret-token npm run start:http
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": { "warrioraashuu-codemaster": { "command": "node", "args": ["/absolute/path/to/claude-code/mcp-server/dist/index.js"], "env": { "CLAUDE_CODE_SRC_ROOT": "/absolute/path/to/claude-code/src" } } } }
Add to .vscode/mcp.json in your workspace:
{
"servers": { "claude-code-explorer": { "type": "stdio", "command": "node", "args": ["${workspaceFolder}/mcp-server/dist/index.js"], "env": { "CLAUDE_CODE_SRC_ROOT": "${workspaceFolder}/src" } } } }
Add to ~/.cursor/mcp.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" } } } }
| Variable | Default | Description |
|---|---|---|
CLAUDE_CODE_SRC_ROOT | ../src (relative to dist/) | Path to the Claude Code src/ directory |
PORT | 3000 | HTTP server port (HTTP mode only) |
MCP_API_KEY | _(none)_ | Bearer token for HTTP auth (optional) |
For Claude Desktop connecting to a remote server:
{
"mcpServers": { "claude-code-explorer": { "url": "https://your-deployment.railway.app/mcp", "headers": { "Authorization": "Bearer your-secret-key" } } } }
mcp-server/DockerfileMCP_API_KEY — a secret bearer tokenPORT is set automatically by Railwayyour-app.railway.appOr via CLI:
railway init
railway up
npx vercel
Set environment variables in the Vercel dashboard:
CLAUDE_CODE_SRC_ROOT — path where src/ files are bundledMCP_API_KEY — bearer tokenNote: Vercel functions are stateless with execution time limits (10s hobby / 60s pro). Best for simple tool calls. For persistent SSE streams, use Railway or Docker.
# From repo root
docker build -f mcp-server/Dockerfile -t claude-code-mcp . docker run -p 3000:3000 -e MCP_API_KEY=your-secret claude-code-mcp
Works on any Docker host: Fly.io, Render, AWS ECS, Google Cloud Run, etc.
The server also exposes prompt templates for guided exploration:
| Prompt | Description |
|---|---|
explain_tool | Deep-dive explanation of a specific tool (input schema, permissions, execution flow) |
explain_command | Explain how a slash command works |
architecture_overview | Guided tour of the entire Claude Code architecture |
how_does_it_work | Explain a feature or subsystem (e.g. "permission system", "MCP client", "query engine") |
compare_tools | Side-by-side comparison of two tools |
Once connected, you can ask your AI assistant things like:
explain_tool prompt with "FileEditTool" to get a full breakdownhow_does_it_work with "bridge" to understand IDE integrationThis server is published to the MCP Registry via GitHub Actions. On a tagged release (v*), the workflow:
server.json metadata to the registryTo publish manually:
# Install the MCP Publisher CLI
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
./mcp-publisher login github
cd mcp-server ../mcp-publisher publish
Registry name: warrioraashuu-codemaster
npm install
npm run dev # Watch mode TypeScript compilation npm run build # Compile TypeScript to dist/ npm start # Run STDIO server npm run start:http # Run HTTP server
mcp-server/
├── src/ │ ├── server.ts — Shared MCP server (tools, resources, prompts) — transport-agnostic │ ├── index.ts — STDIO entrypoint (local) │ └── http.ts — HTTP + SSE entrypoint (remote) ├── api/ │ ├── index.ts — Vercel serverless function │ └── vercelApp.ts — Express app for Vercel ├── Dockerfile — Docker build (Railway, Fly.io, etc.) ├── railway.json — Railway deployment config ├── package.json └── tsconfig.json