docu-mcp-server MCP server
npm install @iflow-mcp/yannicktm-docu-mcp-serverš¤ An MCP server for intelligent code documentation generation with RAG capabilities
DocuMCP enables Claude to generate, search, and manage documentation for your codebase using vector embeddings and semantic search. It provides tools for creating user guides, technical documentation, code explanations, and architectural diagrams.
- š Generate and update documentation based on your codebase
- š Semantic search across code, documentation, and diagrams
- š Create and merge architectural diagrams
- š Generate user guides
- š¾ Support for multiple vector databases (LanceDB, ChromaDB, Qdrant)
- š§ Flexible embedding providers (built-in or Ollama)
The easiest way to use DocuMCP is to configure Claude Desktop with the published npm package:
Add the following to your Claude Desktop configuration:
- MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%/Claude/claude_desktop_config.json
``json`
{
"mcpServers": {
"docu-mcp": {
"command": "npx",
"args": ["-y", "@myjungle/docu-mcp-server"]
}
}
}
That's it! Restart Claude Desktop and DocuMCP will be available.
#### Using Smithery CLI
Install the server via Smithery CLI:
`bashInstall Smithery CLI if you don't have it
npm install -g @smithery/cli
š Manual Start
$3
`bash
git clone https://github.com/YannickTM/docu-mcp
cd docu-mcp
npm install
`$3
`bash
cd mcp
npm run build
cd ..
`$3
Add the following to your Claude Desktop configuration:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%/Claude/claude_desktop_config.json`json
{
"mcpServers": {
"docuassistant": {
"command": "node",
"env": {
"VECTOR_DB_PROVIDER": "qdrant",
"QDRANT_URL": "http://localhost:6333",
"EMBEDDING_PROVIDER": "ollama",
"EMBEDDING_MODEL": "bge-m3:latest",
"EMBEDDING_DIMENSION": "1024",
"OLLAMA_URL": "http://localhost:11434"
},
"args": ["/absolute/path/to/DocuMCP/mcp/dist/index.js"]
}
}
}
`$3
#### For Qdrant:
`bash
cd qdrant
npm run start
`#### For ChromaDB:
`bash
cd chromadb
npm run start
`$3
Restart Claude Desktop to load the new configuration.
š ļø Configuration Options
$3
| Provider | Description | Configuration |
| ------------ | ----------------------------------- | ------------------------------------------------------------------ |
| LanceDB | File-based local database (default) |
VECTOR_DB_PROVIDER=lance
LANCE_PATH=~/lanceDB |
| ChromaDB | Simple vector database with web UI | VECTOR_DB_PROVIDER=chroma
CHROMA_URL=http://localhost:8000 |
| Qdrant | Production-grade vector database | VECTOR_DB_PROVIDER=qdrant
QDRANT_URL=http://localhost:6333 |$3
| Provider | Description | Configuration |
| ------------ | ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| Built-in | Uses all-MiniLM-L6-v2 model (default) |
EMBEDDING_PROVIDER=buildin
EMBEDDING_MODEL=all-MiniLM-L6-v2
EMBEDDING_DIMENSION=384 |
| Ollama | Use any Ollama model | EMBEDDING_PROVIDER=ollama
EMBEDDING_MODEL=bge-m3:latest
EMBEDDING_DIMENSION=1024
OLLAMA_URL=http://localhost:11434 |š§ Available Tools
DocuMCP provides the following tools to Claude:
- š File Operations:
read_file, write_file, create_directory, read_directory
- š Search Tools: search_codebase, search_documentation, search_diagram, search_user_guide
- š Documentation: generate_documentation, generate_user_guide, explain_code
- š Diagrams: generate_diagram, merge_diagram
- šļø Indexing: index_file, index_directory
- š Merging: merge_documentation`- Node.js 20.11.24+
- Claude Desktop
- (Optional) Docker for running external vector databases
Contributions are welcome! Please feel free to submit a Pull Request.
---
Made with ā¤ļø