Optional integration for running external vector databases like ChromaDB and Qdrant to support the documentation system
Supports indexing and searching through codebases, enabling documentation generation based on source code repositories
Required runtime environment for the MCP server, with support for Node.js 20.11.24+
ドキュMCP
🤖 RAG 機能を備えたインテリジェントなコードドキュメント生成のための MCP サーバー
DocuMCPを使用すると、Claudeはベクトル埋め込みとセマンティック検索を用いて、コードベースのドキュメントを生成、検索、管理できます。ユーザーガイド、技術ドキュメント、コード解説、アーキテクチャ図を作成するためのツールも提供しています。
✨ 特徴
- 📚 コードベースに基づいてドキュメントを生成および更新する
- 🔍 コード、ドキュメント、ダイアグラムにわたるセマンティック検索
- 📊 建築図面の作成と結合
- 📝 ユーザーガイドを生成する
- 💾 複数のベクターデータベースのサポート (LanceDB、ChromaDB、Qdrant)
- 🧠 柔軟な埋め込みプロバイダー(組み込みまたは Ollama)
🚀 クイックスタート
NPX 経由のインストール (推奨)
DocuMCP を使用する最も簡単な方法は、公開された npm パッケージを使用して Claude Desktop を構成することです。
Claude Desktop 構成に以下を追加します。
- MacOS :
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows :
%APPDATA%/Claude/claude_desktop_config.json
これで完了です。Claude Desktop を再起動すると、DocuMCP が利用できるようになります。
代替インストール方法
Smithery CLIの使用
Smithery CLI 経由でサーバーをインストールします。
🚀 手動スタート
1. クローンとインストール
2. MCPサーバーを構築する
3. 詳細設定
Claude Desktop 構成に以下を追加します。
- MacOS :
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows :
%APPDATA%/Claude/claude_desktop_config.json
4. 必要なサービスを開始する(外部プロバイダーを使用している場合)
Qdrantの場合:
ChromaDB の場合:
5. Claude Desktopを再起動します
新しい構成をロードするには、Claude Desktop を再起動します。
🛠️ 設定オプション
ベクターデータベースプロバイダー
プロバイダー | 説明 | 構成 |
---|---|---|
ランスDB | ファイルベースのローカルデータベース(デフォルト) | VECTOR_DB_PROVIDER=lance LANCE_PATH=~/lanceDB |
クロマDB | Web UI を備えたシンプルなベクター データベース | VECTOR_DB_PROVIDER=chroma CHROMA_URL=http://localhost:8000 |
クドラント | 実稼働グレードのベクターデータベース | VECTOR_DB_PROVIDER=qdrant QDRANT_URL=http://localhost:6333 |
埋め込みプロバイダー
プロバイダー | 説明 | 構成 |
---|---|---|
内蔵 | すべてのMiniLM-L6-v2モデルを使用(デフォルト) | EMBEDDING_PROVIDER=buildin EMBEDDING_MODEL=all-MiniLM-L6-v2 EMBEDDING_DIMENSION=384 |
オラマ | 任意のOllamaモデルを使用する | EMBEDDING_PROVIDER=ollama EMBEDDING_MODEL=bge-m3:latest EMBEDDING_DIMENSION=1024 OLLAMA_URL=http://localhost:11434 |
🔧 利用可能なツール
DocuMCP は Claude に次のツールを提供します。
- 📁ファイル操作:
read_file
、write_file
、create_directory
、read_directory
- 🔎検索ツール:
search_codebase
、search_documentation
、search_diagram
、search_user_guide
- 📚ドキュメント:
generate_documentation
、generate_user_guide
、explain_code
- 📊図:
generate_diagram
、merge_diagram
- 🗃️インデックス作成:
index_file
、index_directory
- 🔀マージ:
merge_documentation
📋 要件
- Node.js 20.11.24以降
- クロードデスクトップ
- (オプション)外部ベクトルデータベースを実行するためのDocker
🤝 貢献する
貢献を歓迎します!お気軽にプルリクエストを送信してください。
❤️で作りました
This server cannot be installed
Claude がベクトル埋め込みとセマンティック検索を使用してコードベースのドキュメントを生成、検索、管理できるようにする MCP サーバー。ユーザー ガイド、技術ドキュメント、コードの説明、アーキテクチャ図を作成するためのツールを提供します。
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -78715TypeScriptMIT License
- -securityFlicense-qualityAn MCP server that enables Claude Desktop to interact with Sanity.io content, providing tools to create, edit, list documents and get schema templates.Last updated -TypeScript
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -7184TypeScriptMIT License
- -securityAlicense-qualityAn MCP server that implements Claude Code-like functionality, allowing the AI to analyze codebases, modify files, execute commands, and manage projects through direct file system interactions.Last updated -151PythonMIT License