High-performance Rust MCP server for document CRUD operations — purpose-built for AI agents.
opendoc-mcp is a pure-Rust implementation of the Model Context Protocol (MCP) server that gives AI assistants (Claude, ChatGPT, Cursor, VS Code, etc.) direct, native access to create, read, edit, convert, and manage Office documents and PDFs — .
High-performance Rust MCP server for document CRUD (DOCX, PPTX, PDF) — purpose-built for AI agents
without external dependencies, LibreOffice, cloud APIs, or heavy runtimes
One binary. Zero deps. All formats. Lightning fast.
Features
Supported Formats
Format
Create
Read
Edit
Convert To
DOCX
✅
✅
✅
PDF, Markdown, HTML, JSON
PPTX
✅
✅
✅
Markdown, JSON
PDF
✅
✅
✅
Text extraction, JSON
XLSX
✅
✅
—
CSV, JSON
HTML
✅
✅
—
JSON
Markdown
—
✅
—
JSON
CSV
—
✅
—
JSON
TXT
—
✅
—
JSON
Unified Tools & Capabilities
Document Intelligence
open_document — Open any document and return structured JSON (takes detail_level: full, summary, metadata_only)
read_document_text — Extract plain text from any document
search_document — Find keywords or regex matches
replace_text — Regex-powered text replacement (operates on IR)
ocr_document — Feature-gated OCR for scanned docs (requires --features ocr)
check_ocr_available — Check OCR engine status
Utility
list_capabilities — Category list of all consolidated tools
MCP Resources
opendoc-mcp exposes documents directly as read-only MCP resources:
doc://{absolute_path} — Exposes the plain text content of a document
doc://{absolute_path}/outline — Exposes the JSON outline of a document (sections, heading hierarchy)
These can be read directly by agents without tool calls using standard resource read requests.
Structured Errors ("Errors as Instructions")
All tool errors return structured JSON payloads to help AI agents recover dynamically:
{
"error": "Detailed description of the error...",
"error_code": "FILE_IO_ERROR",
"category": "io",
"suggestion": "Verify the file exists at the specified path..."
}
Quick Start
Installation
cargo install opendoc-mcp
Or build from source:
git clone https://github.com/yourusername/opendoc-mcp.git
cd opendoc-mcp
cargo build --release
./target/release/opendoc-mcp
To compile and install the binary globally in your user space (installs to ~/.local/bin/):
./localinstall.sh
When you make changes to the source code or pull new updates, rebuild and update your global installation:
./localupdate.sh
System Requirements & Performance
opendoc-mcp is designed to be extremely lightweight and highly performant:
RAM: ~3-5 MB (Idle), scaling up to only ~20-30 MB under heavy batch processing or OCR.
ROM (Storage): ~5 MB (single self-contained compiled binary).
Processor: Fully supported on single-core or multi-core x86_64 and ARM processors. Batch conversion and complex parsing scale automatically across multiple cores using rayon.
Speed: Sub-10ms startup time. Operations like text extraction, replacement, template parsing, and conversion typically execute in under 2-15ms.
Comparison with Other MCP Servers
Feature
opendoc-mcp (Our Server)
opendocswork-mcp
spreadsheet-mcp
Language
Pure Rust
TypeScript / Python
Go / Python
Idle Memory
~3-5 MB
~40-70 MB
~30-60 MB
Startup Time
< 10ms
~300-800ms
~200-500ms
External Dependencies
None (Self-contained)
Requires LibreOffice / Node
Requires external libraries
ZIP Archive Extraction & MD Digest
Yes (Recursive)
No
No
Multimodal Visual Reasoning
Yes (Renders to image directories)
No
No
PDF/A Compliance Validation
Yes (Embedded fonts, encryption check)
No
No
Structured Metadata Extraction
Yes (Legal, Financial, Timelines)
No
No
Why Rust for AI Agent Tools?
AI agents need tool servers that are:
Fast — Sub-millisecond startup, no warm-up
Lightweight — Minimal RAM/CPU so many can run in parallel
Reliable — No garbage collection pauses, no runtime crashes
Portable — Single binary for any platform (Linux, macOS, Windows)
Rust delivers all of this. Most document MCP servers today are Node.js or Python — opendoc-mcp is the first pure-Rust alternative.
Noch keine Tool-Liste. Remote-Server erhalten eine nach dem ersten Health-Check.
FAQ
Fragen
Wie installiere ich Opendoc?
Kopieren Sie auf dieser Seite die stdio-Konfiguration für Cursor, Claude Desktop, Claude Code oder VS Code. Sie nutzt die Installation des Herausgebers, keinen PlugMCP-Proxy.
Benötigt Opendoc einen API-Schlüssel?
In diesem Eintrag ist keine erforderliche Umgebungsvariable aufgeführt.
Welchen Transport verwendet Opendoc?
Opendoc läuft lokal über stdio.
Wann wurde Opendoc zuletzt geprüft?
Zuletzt geprüft: 2026-11-05. High-performance Rust MCP server for document CRUD (DOCX, PPTX, PDF) — purpose-built for AI agents