
alan-thegentleman/gentleman-book-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
alan-thegentleman/gentleman-book-mcp は、https://github.com/alan-thegentleman/gentleman-book-mcp. からインポートされたMCPサーバー候補です。
概要
alan-thegentleman/gentleman-book-mcp は、https://github.com/alan-thegentleman/gentleman-book-mcp. からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
AIアシスタントにGentleman Programming Bookへの直接アクセスを与えましょう
特徴 • 設置 • 構成 • 使用例 • スペイン語
これは何だ?
これはMCP(Model Context Protocol)サーバーで、ClaudeのようなAIアシスタントがGentleman Programming Bookの内容を読み、検索し、理解できます。
AIアシスタントに、ソフトウェアアーキテクチャの知識、ベストプラクティス、開発の知恵を18章から直接教えてくれるようなものだと考えてください。
特徴
🔧 レベル1:基本道具
| 道具 | 説明 |
|---|---|
list_chapters |
メタデータ付き全18章を一覧表示 |
read_chapter |
任意の章や特定のセクションを読む |
search_book |
すべてのコンテンツにおけるキーワード検索 |
get_book_index |
完全な目次 |
📦 レベル2:リソースとプロンプト
| タイプ | 名前 | 説明 |
|---|---|---|
| リソース | book://index/es |
スペイン語目次 |
| リソース | book://index/en |
英語の目次 |
| プロンプト | explain_concept |
本の中のどんな概念でも説明してください |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
📚 Gentleman Book MCP Server
Give AI assistants direct access to the Gentleman Programming Book
Features • Installation • Configuration • Usage • Español
What is this?
This is an MCP (Model Context Protocol) server that allows AI assistants like Claude to read, search, and understand content from the Gentleman Programming Book.
Think of it as giving your AI assistant a direct line to 18 chapters of software architecture knowledge, best practices, and development wisdom.
Features
🔧 Level 1: Basic Tools
| Tool | Description |
|---|---|
list_chapters |
List all 18 chapters with metadata |
read_chapter |
Read any chapter or specific section |
search_book |
Keyword-based search across all content |
get_book_index |
Complete table of contents |
📦 Level 2: Resources & Prompts
| Type | Name | Description |
|---|---|---|
| Resource | book://index/es |
Spanish table of contents |
| Resource | book://index/en |
English table of contents |
| Prompt | explain_concept |
Explain any concept from the book |
| Prompt | compare_patterns |
Compare architectural patterns |
| Prompt | summarize_chapter |
Get chapter summaries |
🧠 Level 3: Semantic Search (AI-Powered)
| Tool | Description |
|---|---|
semantic_search |
Natural language search using embeddings |
build_semantic_index |
Build the vector index |
semantic_status |
Check semantic engine status |
Supports both OpenAI and Ollama for embeddings generation.
Installation
Prerequisites
- Go 1.21 or higher
- The Gentleman Programming Book cloned locally
Build from source
# Clone this repository
git clone https://github.com/Alan-TheGentleman/gentleman-book-mcp.git
cd gentleman-book-mcp
# Build the binary
go build -o bin/gentleman-book-mcp ./cmd/server
# The binary is now at ./bin/gentleman-book-mcp
Verify installation
インストール
npx @anthropic-ai/mcp-inspector ./bin/gentleman-book-mcp設定
{
"mcpServers": {
"gentleman-book": {
"command": "/absolute/path/to/gentleman-book-mcp",
"env": {
"BOOK_PATH": "/path/to/gentleman-programming-book/src/data/book"
}
}
}
}