Claude Code Book
《御舆:解码 Agent Harness》42万字拆解 AI Agent 的Harness骨架与神经 —— Claude Code 架构深度剖析,15 章从对话循环到构建你自己的 Agent Harness。在线阅读网站:
What is Claude Code Book?
Claude Code Book is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 《御舆:解码 agent harness》42万字拆解 ai agent 的harness骨架与神经 —— claude code 架构深度剖析,15 章从对话循环到构建你自己的 agent harness。在线阅读网站:
《御舆:解码 Agent Harness》42万字拆解 AI Agent 的Harness骨架与神经 —— Claude Code 架构深度剖析,15 章从对话循环到构建你自己的 Agent Harness。在线阅读网站:
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- 《御舆:解码 Agent Harness》42万字拆解 AI Agent 的Harness骨架与神经 —— Claude
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx claude-code-bookConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Claude Code Book
Claude Code Book is a 420,000-character technical book written in Chinese that deeply analyzes the architecture of Claude Code's Agent Harness system across 15 chapters and 4 appendices. It covers conversation loops, tool invocation protocols, permission pipelines, context management, and concurrency partitioning, giving engineers and researchers a thorough understanding of how production-grade AI agent systems are built. The MCP server wraps this content so that AI clients can query the book's chapters and code analysis directly from their chat interface.
Prerequisites
- Node.js 18+ for running the MCP server via npx
- An MCP-compatible client such as Claude Desktop or Claude Code CLI
- Basic familiarity with AI agent architecture concepts is helpful for interpreting the content
- Chinese language reading ability (the book content is written in Simplified Chinese)
Add the server to your MCP client configuration
Add the claude-code-book entry to your Claude Desktop configuration file. The server runs via npx and requires no separate installation step.
{
"mcpServers": {
"claude-code-book": {
"command": "npx",
"args": ["claude-code-book"]
}
}
}Restart your MCP client
After editing the configuration file, fully quit and reopen Claude Desktop (or reload your MCP client) so it picks up the new server entry.
Verify the server is running
In your MCP client, check that the claude-code-book server appears in the connected servers list. You should be able to ask questions about Claude Code architecture and receive responses drawn from the book's content.
Browse the book online as a reference
The full text is also available as a static website for reading without the MCP server. Open the URL below in your browser to navigate chapters directly.
https://lintsinghua.github.io/Claude Code Book Examples
Client configuration
Minimal claude_desktop_config.json entry to connect the Claude Code Book MCP server.
{
"mcpServers": {
"claude-code-book": {
"command": "npx",
"args": ["claude-code-book"]
}
}
}Prompts to try
Use these prompts to explore Claude Code's architecture through the book's analysis.
- "Explain the five-element Tool<I,O,P> structure described in Claude Code's architecture"
- "How does Claude Code's permission pipeline work across the 89 feature flags?"
- "Describe the conversation loop and how context is managed between turns"
- "What are the six layers in the configuration priority chain?"
- "Summarize the concurrency partitioning algorithms used in the tool system"Troubleshooting Claude Code Book
npx claude-code-book exits immediately or shows a package not found error
Ensure you are running Node.js 18 or newer. If the package is not on npm, clone the repository directly (https://github.com/lintsinghua/claude-code-book) and follow any local build instructions in the repo, or use the online reading site at lintsinghua.github.io as a fallback.
Responses are in Chinese and the AI client is not translating them
Prefix your prompts with a language instruction: 'Please answer in English based on the book content: ...' Most MCP clients will pass this instruction through to the server's response processing.
Frequently Asked Questions about Claude Code Book
What is Claude Code Book?
Claude Code Book is a Model Context Protocol (MCP) server that 《御舆:解码 agent harness》42万字拆解 ai agent 的harness骨架与神经 —— claude code 架构深度剖析,15 章从对话循环到构建你自己的 agent harness。在线阅读网站: It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Claude Code Book?
Follow the installation instructions on the Claude Code Book GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Claude Code Book?
Claude Code Book works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Claude Code Book free to use?
Yes, Claude Code Book is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Claude Code Book Alternatives — Similar Developer Tools Servers
Looking for alternatives to Claude Code Book? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Claude Code Book in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Claude Code Book?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.