Docmole
Dig through any documentation with AI - MCP server for Claude, Cursor, and other AI assistants
What is Docmole?
Docmole is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to dig through any documentation with ai - mcp server for claude, cursor, and other ai assistants
Dig through any documentation with AI - MCP server for Claude, Cursor, and other AI assistants
This server falls under the Knowledge & Memory category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Dig through any documentation with AI - MCP server for Claud
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx docmoleConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Docmole
Docmole is an MCP server that lets AI assistants dig through any documentation site using vector-based semantic search and hybrid keyword retrieval. It supports two modes: a zero-setup Mintlify proxy for compatible documentation platforms, and a self-hosted local RAG mode powered by LanceDB and OpenAI embeddings for any documentation URL. Teams use it to give Claude, Cursor, and other AI assistants deep, accurate answers about third-party libraries and internal docs without copy-pasting content manually.
Prerequisites
- Bun runtime installed (https://bun.sh) — Docmole's CLI is built with Bun
- An OpenAI API key if using local RAG mode (not required for Mintlify proxy mode)
- A documentation URL or Mintlify project identifier for the docs you want to index
- An MCP-compatible client such as Claude Desktop or Cursor
Install Docmole globally via Bun
Install the Docmole CLI globally using Bun so it is available as a command for the MCP server process.
bun install -g docmoleChoose your mode: Mintlify proxy or local RAG
For Mintlify-hosted docs, use the project ID directly (no API key needed). For any other documentation URL, set your OPENAI_API_KEY environment variable to enable local embedding and vector search.
# For Mintlify proxy mode (no API key required):
bunx docmole -p agno-v2
# For local RAG mode, set your key first:
export OPENAI_API_KEY=sk-...Set up a project for local RAG mode
Run the setup command to crawl and index your target documentation URL. Docmole will scrape the site and build a local LanceDB vector store in the DOCMOLE_DATA_DIR directory (default: ~/.docmole).
bunx docmole setup --url https://docs.example.com --id my-docsServe the MCP server for your indexed project
Start the Docmole MCP server for the project you just indexed. This process exposes the documentation search tools via the MCP protocol for your AI client to consume.
bunx docmole serve --project my-docsAdd Docmole to your MCP client configuration
Register the server in your client's config file. Use the serve command as the MCP process so the client launches it automatically.
{
"mcpServers": {
"my-docs": {
"command": "bunx",
"args": ["docmole", "serve", "--project", "my-docs"],
"env": {
"OPENAI_API_KEY": "sk-YOUR_KEY_HERE",
"DOCMOLE_DATA_DIR": "~/.docmole"
}
}
}
}Docmole Examples
Client configuration
Example claude_desktop_config.json entry for a Docmole server serving a locally indexed documentation project.
{
"mcpServers": {
"my-docs": {
"command": "bunx",
"args": ["docmole", "serve", "--project", "my-docs"],
"env": {
"OPENAI_API_KEY": "sk-YOUR_OPENAI_API_KEY",
"DOCMOLE_DATA_DIR": "/Users/yourname/.docmole"
}
}
}
}Prompts to try
Example prompts to send to your AI assistant after connecting Docmole.
- "Search the docs for how to configure authentication middleware"
- "What are all the configuration options for the cache module?"
- "Find examples of pagination in the API documentation"
- "Explain the difference between sync and async modes based on the docs"
- "What does the docs say about rate limiting and retry strategies?"Troubleshooting Docmole
Setup fails with an embedding error or OpenAI authentication error
Ensure OPENAI_API_KEY is exported in your shell environment before running the setup command. The local RAG mode requires a valid OpenAI key to generate embeddings. Mintlify proxy mode does not require it.
Documentation search returns irrelevant results
Re-run 'bunx docmole setup' with the same project ID to re-crawl and re-index the documentation. If the docs site uses JavaScript rendering, some pages may not have been captured; check the crawl output for skipped URLs.
Docmole MCP tools do not appear in the AI client
Verify Bun is installed and in PATH by running 'bun --version'. Confirm the project name in the serve command matches the ID used during setup. Fully restart the MCP client after editing the configuration file.
Frequently Asked Questions about Docmole
What is Docmole?
Docmole is a Model Context Protocol (MCP) server that dig through any documentation with ai - mcp server for claude, cursor, and other ai assistants It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Docmole?
Follow the installation instructions on the Docmole GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Docmole?
Docmole works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Docmole free to use?
Yes, Docmole is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Docmole Alternatives — Similar Knowledge & Memory Servers
Looking for alternatives to Docmole? Here are other popular knowledge & memory servers you can use with Claude, Cursor, and VS Code.
MemPalace
★ 52.6kA local AI memory system that stores all conversations verbatim and organizes them into navigable structures. It provides 19 MCP tools for AI assistants to search and retrieve past decisions, debugging sessions, and architecture debates automatically
Kratos
★ 25.7k🏛️ Memory System for AI Coding Tools - Never explain your codebase again. MCP server with perfect project isolation, 95.8% context accuracy, and the Four Pillars Framework.
Context Mode
★ 15.4kAn MCP server that preserves LLM context by intercepting large data outputs and returning only concise summaries or relevant sections. It enables efficient sandboxed code execution, file processing, and documentation indexing across multiple programm
Memu
★ 13.7kMemory for 24/7 proactive agents like OpenClaw.
MemOS
★ 9.3kMemOS (Memory Operating System) is a memory management operating system designed for AI applications. Its goal is: to enable your AI system to have long-term memory like a human, not only remembering what users have said but also actively invoking, u
Everos
★ 5.4kBuild, evaluate, and integrate long-term memory for self-evolving agents.
Browse More Knowledge & Memory MCP Servers
Explore all knowledge & memory servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Docmole in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Docmole?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.