opendocswork-mcp

opendocswork-mcp

Rust-native MCP server for Office document processing (Excel, Word, PowerPoint) enabling sub-millisecond, local-first document manipulation and export to PDF.

Category
访问服务器

README

opendocswork-mcp

Rust-native MCP server for Office document processing (Excel, Word, PowerPoint).
Sub-millisecond, local-first, open source — the "open source Aspose."

<p align="center"> <a href="https://github.com/Aimino-Tech/opendocswork-mcp/discussions"><img src="https://img.shields.io/badge/GitHub-Discussions-%23181717?logo=github" alt="GitHub Discussions"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-GPL%203.0-blue" alt="License"></a> </p>


Quick Start

cargo install opendocswork-mcp

Or download from GitHub Releases.

Claude Desktop

{
  "mcpServers": {
    "office": { "command": "opendocswork-mcp", "args": ["--transport", "stdio"] }
  }
}

Cursor

{
  "mcpServers": {
    "opendocswork-mcp": { "command": "opendocswork-mcp", "args": ["--transport", "stdio"] }
  }
}

VS Code (Copilot)

{
  "servers": {
    "opendocswork-mcp": { "command": "opendocswork-mcp", "args": ["--transport", "stdio"] }
  }
}

Use Cases

Every document below was generated by opendocswork-mcp — click to download.

# Format Use Case Skill Preview
1 XLSX Profit & Loss Statement excel.basic <img src="showcase/previews/01-pnl.png" width="180" alt="P&L">
2 XLSX Executive KPI Dashboard excel.basic <img src="showcase/previews/02-kpi.png" width="180" alt="KPI">
3 XLSX Budget vs Actual Variance excel.basic <img src="showcase/previews/03-budget.png" width="180" alt="Budget">
4 XLSX Balance Sheet with Ratios excel.basic <img src="showcase/previews/04-balance.png" width="180" alt="Balance">
5 XLSX Revenue Forecast excel.basic <img src="showcase/previews/10-forecast.png" width="180" alt="Forecast">
6 XLSX Cost Analysis excel.basic <img src="showcase/previews/11-cost.png" width="180" alt="Cost">
7 DOCX Invoice word.invoice <img src="showcase/previews/05-invoice.png" width="180" alt="Invoice">
8 DOCX Annual Business Report word.report <img src="showcase/previews/15-report.png" width="180" alt="Report">
9 DOCX IT Service Agreement word.report <img src="showcase/previews/17-contract.png" width="180" alt="Contract">
10 DOCX Digital Strategy Report word.report <img src="showcase/previews/16-strategy.png" width="180" alt="Strategy">
11 PDF Financial Report Export office_export_pdf <img src="showcase/previews/06-pdfexport.png" width="180" alt="PDF">
12 PPTX Strategy Consulting Pitch Deck ppt.deck <img src="showcase/previews/01-strategy-consulting-pitch.png" width="180" alt="Strategy">
13 PPTX CFO Quarterly Business Review ppt.deck <img src="showcase/previews/02-cfo-qbr-review.png" width="180" alt="CFO QBR">
14 PPTX Product Launch Strategy Deck ppt.deck <img src="showcase/previews/03-product-launch-strategy.png" width="180" alt="Product">
15 PPTX M&A Target Analysis Deck ppt.deck <img src="showcase/previews/04-ma-target-analysis.png" width="180" alt="M&A">
16 PPTX Digital Transformation Roadmap ppt.deck <img src="showcase/previews/05-digital-transformation.png" width="180" alt="DX">

Interactive showcase → showcase/use-cases.html with full prompts, JSON-RPC calls, and details.


Tool Overview

Tool Description Inputs
list_formats All supported Office formats + capabilities
get_document_info File metadata (format, size, readability) file_path
office_read Read content → JSON / Markdown / Chunks file_path, output_format
increment Increment counter (demo)
get_value Get current counter value (demo)

Full Suite

AI Reading: to_md, to_json, to_chunks, excel_schema, coherence_check

Excel Write: office_create_xlsx, office_write_cell, office_write_range, office_format_range, office_create_chart, office_create_pivot, office_add_sheet, office_rename_sheet, office_delete_sheet, office_merge_cells, office_set_column_width, office_apply_conditional_format

Word Write: office_create_docx, office_write_docx_from_md, office_replace_text, office_set_style, office_add_table, office_add_image, office_add_header_footer, office_add_toc, office_add_comment, office_accept_changes

PPT Write: office_create_pptx, office_add_slide, office_set_slide_layout, office_add_text_box, office_add_chart, office_add_image

Skills System: skill_run, skill_list, skill_validate, skill_register

Coherence Engine: office_propagate_edit, office_check_consistency

Batch & PDF: office_batch_read, office_batch_convert, office_export_pdf, office_fill_pdf_form, office_list_pdf_fields


Architecture

┌────────────────────────────────────────────────────────┐
│                    MCP Transport                        │
│           rmcp 1.7+ — stdio + Streamable HTTP          │
│              0.38ms per call · 4,845 RPS               │
├────────────────────────────────────────────────────────┤
│                     Tool Layer                          │
│  AI Reading · Excel/Word/PPT · Skills · Coherence      │
├────────────────────────────────────────────────────────┤
│                   OOXML Engine                          │
│  calamine · rust_xlsxwriter · rdocx · office_oxide     │
│          6 formats: DOCX/XLSX/PPTX/DOC/XLS/PPT         │
├────────────────────────────────────────────────────────┤
│                  ZIP + XML Layer                        │
│    quick-xml (zero-copy) · zip · zlib-ng (SIMD)        │
├────────────────────────────────────────────────────────┤
│                 Semantic Layer                          │
│    Entity DAG · BFS propagation · Stale detection      │
└────────────────────────────────────────────────────────┘

Performance Benchmarks

Operation Python opendocswork-mcp Speedup
10M cell XLSX read (openpyxl) 239s ~25s ~10×
100K cell XLSX write (openpyxl) 1.8s 152ms ~12×
DOCX read mean (6K docs) 11.8ms 0.8ms ~14×
PPTX read mean (323 slides) 32.5ms 0.7ms ~46×
MCP tool call (FastMCP) 3ms 0.38ms ~6×
Cold start 1-5s <50ms ~100×
Memory (idle) 42.7MB <2MB ~20×

Build

cargo build                           # Debug
cargo build --release                 # Release
cargo clippy                          # Lint
cargo doc --open                      # Docs

Contributing

See CONTRIBUTING.md. All contributions welcome.

License

GNU General Public License v3.0 — see LICENSE.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选