office-mcp by claude-office-skills/skills
npx skills add https://github.com/claude-office-skills/skills --skill office-mcp一个完整的 MCP(模型上下文协议)服务器,提供 39 种工具 用于 Office 文档操作。使用 TypeScript/Node.js 实现,具备真实功能(非占位符)。
| 工具 | 描述 |
|---|---|
extract_text_from_pdf | 提取文本内容,支持页面选择 |
extract_tables_from_pdf | 从 PDF 中提取表格数据 |
merge_pdfs | 将多个 PDF 合并为一个 |
split_pdf | 按页面范围拆分 PDF |
compress_pdf |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 减小 PDF 文件大小 |
add_watermark_to_pdf | 添加文本/图片水印 |
fill_pdf_form | 填写 PDF 表单字段 |
get_pdf_metadata | 获取 PDF 属性和元数据 |
ocr_pdf | 对扫描的 PDF 进行 OCR(多语言) |
ocr_image | 对图像文件进行 OCR(PNG、JPG、TIFF 等) |
| 工具 | 描述 |
|---|---|
read_xlsx | 读取 Excel 文件,支持工作表/范围选择 |
create_xlsx | 创建多工作表 Excel 文件 |
analyze_spreadsheet | 统计分析(最小值/最大值/平均值/中位数) |
apply_formula | 对单元格应用 Excel 公式 |
create_chart | 生成图表配置 |
pivot_table | 创建带聚合的数据透视表 |
xlsx_to_json | 将 Excel 转换为 JSON |
| 工具 | 描述 |
|---|---|
extract_text_from_docx | 从 Word 文档中提取文本 |
create_docx | 创建包含标题、列表、表格的 DOCX 文档 |
fill_docx_template | 使用 {{占位符}} 填充模板 |
analyze_document_structure | 分析标题、表格、字数 |
insert_table_to_docx | 在文档中插入表格 |
merge_docx_files | 合并多个 Word 文档 |
| 工具 | 描述 |
|---|---|
xlsx_to_csv | 将 Excel 转换为 CSV |
csv_to_xlsx | 将 CSV 转换为 Excel |
json_to_xlsx | 将 JSON 数组转换为 Excel |
docx_to_md | 将 Word 转换为 Markdown |
md_to_docx | 将 Markdown 转换为 Word |
pdf_to_docx | 将 PDF 转换为 Word(文本提取) |
docx_to_pdf | 将 Word 转换为 PDF(需要外部工具) |
html_to_pdf | 将 HTML 转换为 PDF(需要外部工具) |
batch_convert | 批量转换多个文件 |
| 工具 | 描述 |
|---|---|
create_pptx | 创建带主题的 PowerPoint |
extract_from_pptx | 从 PPTX 中提取文本和图像 |
md_to_pptx | 将 Markdown 转换为幻灯片 |
add_slide | 向现有演示文稿添加幻灯片 |
update_slide | 更新幻灯片内容 |
pptx_to_html | 转换为 reveal.js HTML |
get_pptx_outline | 获取演示文稿结构 |
cd mcp-servers/office-mcp
npm install
npm run build
添加到 ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"office-mcp": {
"command": "/usr/local/bin/node",
"args": ["/path/to/claude-office-skills/mcp-servers/office-mcp/dist/index.js"]
}
}
}
pdf-parse, pdf-lib - PDF 操作
tesseract.js - OCR(纯 JavaScript,无需原生二进制文件)
xlsx - Excel 操作
mammoth, docx - Word 操作
docxtemplater, pizzip - 模板填充
pptxgenjs, jszip - PowerPoint 操作
turndown, marked - Markdown 转换
eng - 英语chi_sim - 简体中文chi_tra - 繁体中文jpn - 日语kor - 韩语fra - 法语deu - 德语spa - 西班牙语每周安装数
630
代码仓库
GitHub 星标数
25
首次出现
2026年3月9日
安全审计
安装于
opencode481
codex480
github-copilot480
gemini-cli478
kimi-cli478
cursor478
A complete MCP (Model Context Protocol) server providing 39 tools for Office document operations. Implemented in TypeScript/Node.js with real functionality (not placeholders).
| Tool | Description |
|---|---|
extract_text_from_pdf | Extract text content, supports page selection |
extract_tables_from_pdf | Extract table data from PDFs |
merge_pdfs | Merge multiple PDFs into one |
split_pdf | Split PDF by page ranges |
compress_pdf | Reduce PDF file size |
add_watermark_to_pdf | Add text/image watermarks |
fill_pdf_form | Fill PDF form fields |
get_pdf_metadata | Get PDF properties and metadata |
ocr_pdf | OCR on scanned PDFs (multi-language) |
ocr_image | OCR on image files (PNG, JPG, TIFF, etc.) |
| Tool | Description |
|---|---|
read_xlsx | Read Excel files with sheet/range selection |
create_xlsx | Create multi-sheet Excel files |
analyze_spreadsheet | Statistical analysis (min/max/mean/median) |
apply_formula | Apply Excel formulas to cells |
create_chart | Generate chart configurations |
pivot_table | Create pivot tables with aggregation |
| Tool | Description |
|---|---|
extract_text_from_docx | Extract text from Word documents |
create_docx | Create DOCX with headings, lists, tables |
fill_docx_template | Fill templates with {{placeholders}} |
analyze_document_structure | Analyze headings, tables, word count |
insert_table_to_docx | Insert tables into documents |
merge_docx_files |
| Tool | Description |
|---|---|
xlsx_to_csv | Convert Excel to CSV |
csv_to_xlsx | Convert CSV to Excel |
json_to_xlsx | Convert JSON arrays to Excel |
docx_to_md | Convert Word to Markdown |
md_to_docx | Convert Markdown to Word |
pdf_to_docx | Convert PDF to Word (text extraction) |
| Tool | Description |
|---|---|
create_pptx | Create PowerPoint with themes |
extract_from_pptx | Extract text and images from PPTX |
md_to_pptx | Convert Markdown to slides |
add_slide | Add slides to existing presentations |
update_slide | Update slide content |
pptx_to_html | Convert to reveal.js HTML |
cd mcp-servers/office-mcp
npm install
npm run build
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"office-mcp": {
"command": "/usr/local/bin/node",
"args": ["/path/to/claude-office-skills/mcp-servers/office-mcp/dist/index.js"]
}
}
}
pdf-parse, pdf-lib - PDF operations
tesseract.js - OCR (pure JavaScript, no native binary needed)
xlsx - Excel operations
mammoth, docx - Word operations
docxtemplater, pizzip - Template filling
pptxgenjs, jszip - PowerPoint operations
turndown, marked - Markdown conversion
eng - Englishchi_sim - Simplified Chinesechi_tra - Traditional Chinesejpn - Japanesekor - Koreanfra - Frenchdeu - Germanspa - SpanishWeekly Installs
630
Repository
GitHub Stars
25
First Seen
Mar 9, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode481
codex480
github-copilot480
gemini-cli478
kimi-cli478
cursor478
头脑风暴技能:AI协作设计流程,将创意转化为完整规范与实施计划
77,000 周安装
Google Drive 文件所有权转移方案 - Google Workspace CLI 自动化操作指南
582 周安装
Entity Framework Core 模式指南:性能优化、迁移管理与最佳实践
583 周安装
Google Workspace 安全警报处理教程 - 使用 gws CLI 列出、查看和确认警报
583 周安装
交互式仪表板构建指南:使用Chart.js创建HTML/JS数据可视化面板
584 周安装
VectorBT 回测脚本生成器 - 自动化量化交易策略回测工具
584 周安装
主动研究工具:使用Actionbook Browser智能分析主题、论文并生成HTML报告
585 周安装
xlsx_to_json | Convert Excel to JSON |
| Merge multiple Word documents |
docx_to_pdf | Convert Word to PDF (external tool required) |
html_to_pdf | Convert HTML to PDF (external tool required) |
batch_convert | Batch convert multiple files |
get_pptx_outline | Get presentation structure |