Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Explore the Claude Code CLI source — browse tools, commands, search code, and more.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"codemaster": {
"command": "npx",
"args": [
"-y",
"@divyesh2000/codemaster"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add codemaster -- npx -y @divyesh2000/codemasterวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"codemaster": {
"command": "npx",
"args": [
"-y",
"@divyesh2000/codemaster"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"codemaster": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@divyesh2000/codemaster"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ผู้ลงทะเบียน (divu2025) ไม่ใช่เจ้าของ repo (codeaashu) อาจเป็นคนอื่นที่นำมาลงต่อ
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 0 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.1.0) เข้า registry 7 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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