About
Universal MCP server for documentation with llms.txt support
README
docr-mcp
A framework for building MCP servers that give LLMs access to any documentation.
Give LLMs the ability to search and read documentation from any source - public or private, official or internal. Stop getting outdated answers. Start getting accurate information directly from current docs.
Why docr-mcp?
The Problem: LLMs give you outdated answers based on their training data. They don't know about the latest API changes, new features, or the specific libraries and tools you use daily.
The Solution: docr-mcp provides a proven framework to connect any documentation to LLMs through MCP servers. Give your AI assistant real-time access to current documentation - from popular libraries to your internal tools.
Key Features:
- Universal framework for any documentation site (public or private)
- Smart BM25 search with code-aware tokenization and relevance ranking
- Full customization - control parsing, indexing, search, and tool descriptions
- Production ready - 88 tests (unit + E2E), secure by default, proper resource management
- Easy to extend - YAML config + Python implementation to add any library
Supported Documentation
| Library | Status | Tests | Install Command (Claude Code) |
|---|---|---|---|
| Strands Agents | ✅ | claude mcp add docr-mcp-strands -- uvx docr-mcp --library strands |
|
| Vercel | ✅ | claude mcp add docr-mcp-vercel -- uvx docr-mcp --library vercel |
|
| Twilio | ✅ | claude mcp add docr-mcp-twilio -- uvx docr-mcp --library twilio |
|
| OpenAI | ✅ | claude mcp add docr-mcp-openai -- uvx docr-mcp --library openai |
|
| Stripe | ✅ | claude mcp add docr-mcp-stripe -- uvx docr-mcp --library stripe |
|
| Anthropic | ✅ | claude mcp add docr-mcp-anthropic -- uvx docr-mcp --library anthropic |
Want to add a library? See CONTRIBUTING.md for guidelines.
Usage
Public Documentation
After installation, ask your AI assistant to search documentation:
Search Strands docs for "agent state"
What is agent-loop in Strands?
Show me how to use model providers in Strands
Authenticated Documentation (Private/Internal Docs)
Need to access private or internal documentation behind authentication? docr-mcp supports cookie-based authentication for SSO-protected sites.
Simply create a YAML config file with your cookies and domain - no code changes required.
📖 See the Authenticated Docs Guide for step-by-step instructions.
How It Works
graph LR
A[Index Source] --> B[Build BM25 Index]
B --> C[Query]
C --> D[Search Index]
D --> E[Fetch Live Docs]
E --> F[LLM Response]
- Startup: Fetch index source (llms.txt, sitemap) and build searchable BM25 index
- Query: Search pre-built index, then fetch live documentation from URLs
- Search: BM25 ranking with code-aware tokenization and field weighting
License
MIT
Installing Docr
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/JacobHuang91/docr-mcpFAQ
Is Docr MCP free?
Yes, Docr MCP is free — one-click install via Unyly at no cost.
Does Docr need an API key?
No, Docr runs without API keys or environment variables.
Is Docr hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Docr in Claude Desktop, Claude Code or Cursor?
Open Docr on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Docr with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
