Skip to main content
MCP server CX Codex

docling.rs — Claude Code MCP server: what it does, how to install

docling.rs MCP server converts PDF, Office, HTML and scans to Markdown with structure intact — headings, tables and OCR for agents.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env DOCLING_RS_CACHE_DIR=<DOCLING_RS_CACHE_DIR> --env DOCLING_RS_OCR_LANG=<DOCLING_RS_OCR_LANG> --transport stdio doclingrs -- uvx docling-rs-mcp
Open on GitHub

What docling.rs does

docling.rs parses documents and returns content agents can read: Markdown with headings in order, tables cell by cell, scanned pages through OCR. It runs layout analysis models, TableFormer for table recognition and Whisper for audio, all from a single Rust binary without Python or PyTorch.

Handles PDF, Office (Word, Excel, PowerPoint), HTML, email, images and audio. PDF converts 4.3× faster than Python docling, Office and HTML 20–60× faster. Table cell recall 0.94, MarkItDown gets 0.31. Office, HTML and Markdown need no models; for PDF and images the server downloads ONNX models on first run (under 1 GB).

Outputs Markdown, JSON, HTML, LaTeX. Reads URLs, data: URIs and YouTube (captions). Works over stdio, connects to any MCP-capable platform.

What it helps with

  • Extract text from PDF preserving heading structure and tables
  • Run OCR on scans and images to pull out text
  • Convert Office documents to Markdown for agent processing
  • Transcribe audio and video to text with Whisper
  • Parse HTML and email into structured format

Example prompts for the agent

  • Convert report.pdf to Markdown and show tables
  • Extract text from scan scan.png and save to output.md
  • Parse all PDFs in ./docs folder and output heading structure

How to install docling.rs

Platform CLI

claude mcp add --env DOCLING_RS_CACHE_DIR=<DOCLING_RS_CACHE_DIR> --env DOCLING_RS_OCR_LANG=<DOCLING_RS_OCR_LANG> --transport stdio doclingrs -- uvx docling-rs-mcp

Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from docling-rs-mcp <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about docling.rs

How to install docling.rs in Claude Code?

Run `claude mcp add --env DOCLING_RS_CACHE_DIR=<DOCLING_RS_CACHE_DIR> --env DOCLING_RS_OCR_LANG=<DOCLING_RS_OCR_LANG> --transport stdio doclingrs -- uvx docling-rs-mcp`. The server downloads models for PDF and OCR on first use.

What does docling.rs do?

Converts documents — PDF, Office, HTML, scans, audio — to Markdown and JSON with structure preserved: headings, tables, OCR. Works as an MCP server, uses layout analysis models and TableFormer.

Which formats does docling.rs support?

PDF, Word, Excel, PowerPoint, HTML, Markdown, email, images (PNG, JPEG) and audio. Office and HTML need no models; for PDF and images the server downloads ONNX models on first use.

Similar MCP servers

Everything for Writing and docs →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor