The Office Worker — office-worker-mcp
The complete document MCP for AI agents. Generate, edit, secure, audit and extract professional PDF, Word, Excel and PowerPoint documents — fully local, zero API keys, deterministic and safe. Built for Hermes, Claude and Cursor via MCP.
Requirements (read this first)
| Platform | Path to all 30 tools |
|---|---|
| Any OS with Docker (incl. Windows, no WSL2) | Official image — recommended: see Full setup below or docs/docker.md |
| Linux / macOS (bare metal) | pip install office-worker-mcp + system binaries for the 3 capabilities pip can't ship (LibreOffice → Office→PDF, Tesseract → OCR, Pango/Cairo → WeasyPrint). Run owi doctor once: it prints the exact one-line install command for your OS. The server also warns you at startup if anything is missing. |
| Windows (bare metal) | Not supported directly (WeasyPrint needs native C libs with no unattended installer). Use the Docker image or WSL2. Details: docs/extras.md |
pip install office-worker-mcp # core: MCP server + CLI 'owi'
Connect it to your agent (stdio):
{ "mcpServers": { "office-worker": { "command": "office-worker-mcp" } } }
Full setup — all 30 tools, zero friction (recommended)
The core pip package covers the full document lifecycle; three capabilities need system binaries that pip cannot ship (LibreOffice for Office→PDF conversion, Tesseract for OCR, Pango/Cairo native libs for WeasyPrint). The official Docker image bundles everything and runs on any OS with Docker — including Windows, no WSL2 needed:
docker pull ghcr.io/cafra-house/office-worker-mcp:latest
{
"mcpServers": {
"office-worker": {
"command": "docker",
"args": ["run", "-i", "--rm", "-v", "${HOME}/office-worker-data:/data", "ghcr.io/cafra-house/office-worker-mcp:latest"]
}
}
}
Prefer bare metal? Run owi doctor after pip install — it reports exactly which capability is inactive and prints the one-line install command for your OS (apt/brew/dnf/winget). Details in docs/docker.md and docs/extras.md.
See it in action
Real documents generated by the MCP itself — no manual editing, no cloud:
| Excel dashboard + native chart | Executive report (Word) | Native-chart deck (PPTX) | Premium PDF (editorial design) |
|---|---|---|---|
- Excel —
create_excelstructured table + autofilter +edit_excel add_chart/add_pivotnative pivot sheet - Word —
create_wordexecutive report with headings, bullets and a data table, corporate theme - PPTX —
create_pptxmulti-slide deck with a native DrawingML bar chart - PDF —
render_document(design_mode="premium")editorial layout with metrics table
What you get
One package covers the entire document lifecycle — create → read → extract → convert → secure → sign → audit — with honest fidelity reporting (rich | clean | lossy) and proactive next_steps guidance on every creation tool.
- Create — Word / Excel / PPTX / PDF from templates or declarative blocks; corporate themes, logos, watermarks, premium editorial design mode
- Read & extract — structured Markdown/JSON for RAG (
read_office,pdf_extract_structured) + embedded images as base64 for multimodal agents - Convert — PDF ↔ Office ↔ CSV bidirectionally with explicit fidelity warnings
- Secure — irreversible redaction (
pdf_redact), metadata scrubbing (scrub_metadata), password encryption (protect_office), form flattening for archival compliance - Sign & audit — real PAdES signatures (
sign_pdf) + cryptographic verification (verify_pdf_signature), honest document diffing (document_diff) - Productivity — mail merge (
mail_merge), native Excel pivots (add_pivot), native PPTX charts, multi-chapter books with auto TOC (create_book) - Onboarding —
owi doctorenvironment diagnostics with per-OS install hints; packaged skills installable viaowi skill install
Efficiency (measured)
~2550 tokens/turn across 30 specialized tools vs ~6400 for a typical 47-tool CRUD suite — less bloat, more stable agents, lower cost. Measured, not claimed.
Documentation
| Topic | Where |
|---|---|
| Full reference of all 30 tools (returns / use when / do-not-use) | docs/tools.md |
| Competitive comparison & why we're the one to install | docs/comparison.md |
| Ten end-to-end conversational workflows (EN) | docs/workflows.md |
| Optional extras ([ocr] [sign] [book] [pptx]) & honest platform limits | docs/extras.md |
Develop & test
pip install -e ".[dev,book]"
pytest -q # full suite verified on disk (46 passed)
python count_tokens.py # live token-budget audit (2550.75 tok v0.9.0, <2600 target)
License
MIT — see LICENSE. Acknowledgements in NOTICE. Maintained by CaFra-House.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file office_worker_mcp-0.9.6.tar.gz.
File metadata
- Download URL: office_worker_mcp-0.9.6.tar.gz
- Upload date:
- Size: 300.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb8dcffbd6a98b52e51b6a3713227b3d2d1a9fe000053be894394f6c1683ae5a
|
|
| MD5 |
f9a84978269fd1539dccfa3edf1a47d4
|
|
| BLAKE2b-256 |
5583071b8aa610b7d480024cb10c37d644e2b988e5e9299b7d716f768642717f
|
File details
Details for the file office_worker_mcp-0.9.6-py3-none-any.whl.
File metadata
- Download URL: office_worker_mcp-0.9.6-py3-none-any.whl
- Upload date:
- Size: 278.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffd2ae3ce7b1f72edf16b1d89bea2647ca686f7c629a96dd0eb5997e8df62085
|
|
| MD5 |
e2cdde587c0dd98b7c2ea88fd672797d
|
|
| BLAKE2b-256 |
a48340bd048373631e505c262ee9c9c9a3fa796048e901c575c320de48199315
|