Claude Code Book

v1.0.0Developer Toolsstable

《御舆:解码 Agent Harness》42万字拆解 AI Agent 的Harness骨架与神经 —— Claude Code 架构深度剖析,15 章从对话循环到构建你自己的 Agent Harness。在线阅读网站:

agentagent-architectureai-agentanthropicbook
Share:
3,362
Stars
0
Downloads
0
Weekly
0/5

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

Deep dive into Claude Code architecture
Learn agent harness design and construction
lintsinghua

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx claude-code-book

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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)
1

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"]
    }
  }
}
2

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.

3

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.

4

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.

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.

Quick Config Preview

{ "mcpServers": { "claude-code-book": { "command": "npx", "args": ["-y", "claude-code-book"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides