docling.rs
Documents to Markdown for agents: PDF layout, tables and OCR, Office, HTML, scans. docling in Rust.
At a glance
Not tested yet- GitHub stars
- 143
- Weekly downloads
- 495
- Last commit
- 2026-11-21
- Licence
- MIT
- Transport
- stdio
- Auth
- none
uvx docling-rs-mcp
What it does
docling.rs converts documents into Markdown, docling JSON and other formats an LLM or RAG pipeline can read. It handles PDF, Office, HTML, scans and audio, and is a Rust port of IBM's docling that runs from one static binary without Python or PyTorch. The MCP server exposes this conversion to AI agents in clients such as Claude Desktop, Claude Code, Cursor or VS Code.
Tools it gives your agent
convert_to_markdown: MarkItDown's conversion tool, for turning a document into Markdown.convert: for JSON, chunks and the rest.
Quick start
Install the MCP server, then add it to your client.
uvx docling-rs-mcp
claude mcp add docling -- docling-rs mcp
Office, HTML, Markdown and e-mail need no models. PDF, images and audio need the ONNX models (layout, OCR, TableFormer, Whisper; under 1 GB).
Add this to .mcp.json in your project root (Claude Code) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"docling-rs": {
"command": "uvx",
"args": [
"docling-rs-mcp"
],
"env": {
"DOCLING_RS_CACHE_DIR": "YOUR_DOCLING_RS_CACHE_DIR",
"DOCLING_RS_OCR_LANG": "YOUR_DOCLING_RS_OCR_LANG"
}
}
}
}Replace each YOUR_ value with your own, and delete the variables you do not use.
Environment variables
DOCLING_RS_CACHE_DIR: not explained in the sources.DOCLING_RS_OCR_LANG: not explained in the sources.
Example prompts
- Convert the PDF at this path to Markdown so I can read it.
- Turn this report into docling JSON.
- Split this document into RAG chunks.
- Read this scanned page and give me its text.
What to watch out for
- PDF, images and audio need the ONNX models, which are under 1 GB.
- Office, HTML, Markdown and e-mail need no models.
- The README lists no other limits, required accounts or costs for the MCP server.
Not tested by tools4agents yet. Read the source repository before you install it.
Similar tools
Time
Gives an agent the current time and timezone conversion. Fixes the common problem of models not knowing today's date.
Notion
Gives an agent read and write access to Notion pages and databases, useful when your specs and notes live there.
kordoc
Parse Korean documents (HWP, HWPX, PDF, XLSX, DOCX, PPTX) to Markdown; fill forms, diff, render.
CROW: LLM Wiki
Long-term memory as a Markdown wiki: recall with cited notes, remember, file your documents.