Skip to main content
Glama

DocuMCP

by YannickTM
Integrations
  • 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+

DocuMCP

🤖 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.

✨ Features

  • 📚 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)

🚀 Quick Start

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
{ "mcpServers": { "docu-mcp": { "command": "npx", "args": ["@myjungle/docu-mcp-server"] } } }

That's it! Restart Claude Desktop and DocuMCP will be available.

Alternative Installation Methods

Using Smithery CLI

Install the server via Smithery CLI:

# Install Smithery CLI if you don't have it npm install -g @smithery/cli # Then install the Docu MCP server npx -y @smithery/cli@latest install @YannickTM/docu-mcp --client claude

🚀 Manual Start

1. Clone and Install

git clone https://github.com/YannickTM/docu-mcp cd docu-mcp npm install

2. Build the MCP Server

cd mcp npm run build cd ..

3. Advanced Configuration

Add the following to your Claude Desktop configuration:

  • MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.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"] } } }

4. Start Required Services (if using external providers)

For Qdrant:
cd qdrant npm run start
For ChromaDB:
cd chromadb npm run start

5. Restart Claude Desktop

Restart Claude Desktop to load the new configuration.

🛠️ Configuration Options

Vector Database Providers

ProviderDescriptionConfiguration
LanceDBFile-based local database (default)VECTOR_DB_PROVIDER=lanceLANCE_PATH=~/lanceDB
ChromaDBSimple vector database with web UIVECTOR_DB_PROVIDER=chromaCHROMA_URL=http://localhost:8000
QdrantProduction-grade vector databaseVECTOR_DB_PROVIDER=qdrantQDRANT_URL=http://localhost:6333

Embedding Providers

ProviderDescriptionConfiguration
Built-inUses all-MiniLM-L6-v2 model (default)EMBEDDING_PROVIDER=buildinEMBEDDING_MODEL=all-MiniLM-L6-v2EMBEDDING_DIMENSION=384
OllamaUse any Ollama modelEMBEDDING_PROVIDER=ollamaEMBEDDING_MODEL=bge-m3:latestEMBEDDING_DIMENSION=1024OLLAMA_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

📋 Requirements

  • Node.js 20.11.24+
  • Claude Desktop
  • (Optional) Docker for running external vector databases

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.


Made with ❤️

-
security - not tested
F
license - not found
-
quality - not tested

An MCP server that enables Claude to generate, search, and manage documentation for codebases using vector embeddings and semantic search, providing tools for creating user guides, technical documentation, code explanations, and architectural diagrams.

  1. ✨ Features
    1. 🚀 Quick Start
      1. Installation via NPX (Recommended)
      2. Alternative Installation Methods
    2. 🚀 Manual Start
      1. Clone and Install
      2. Build the MCP Server
      3. Advanced Configuration
      4. Start Required Services (if using external providers)
      5. Restart Claude Desktop
    3. 🛠️ Configuration Options
      1. Vector Database Providers
      2. Embedding Providers
    4. 🔧 Available Tools
      1. 📋 Requirements
        1. 🤝 Contributing

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            An 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 -
            7
            87
            15
            TypeScript
            MIT License
          • -
            security
            F
            license
            -
            quality
            An 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
          • A
            security
            A
            license
            A
            quality
            An 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 -
            7
            18
            4
            TypeScript
            MIT License
            • Apple
            • Linux
          • -
            security
            A
            license
            -
            quality
            An 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 -
            151
            Python
            MIT License
            • Apple
            • Linux

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/YannickTM/docu-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server