選項
首頁首頁 Skill MCP 工具 office-mcp

配備39種工具的MCP伺服器,可支援Word、Excel、PowerPoint、PDF處理及OCR操作

...展開全部
117
更新時間 2026-07-13

關於 office-mcp

office-mcp 是一種專為特定工作流程設計的可複用 AI 技能。描述:“擁有 39 種工具的 MCP 伺服器,可用於 Word、Excel、PowerPoint、PDF 及 OCR 操作。”

該技能會提供操作說明、規範以及針對具體任務的指導,幫助智慧體更一致地完成工作。建立者:claude-office-skills - spreadsheet_analysis - document_generation

在實際應用中,這類技能最適合那些需要可重複執行、且希望減少設定步驟與歧義的使用者——即 presentation_creation 場景。它是一個完整的 MCP(模型上下文協議)伺服器,為 Office 文件操作提供了 **39 種工具**。該伺服器採用 TypeScript/Node.js 編寫,具備實際功能(而非佔位符)。| 工具 | 描述 | |------|-------------|

常見問題

office-mcp 能解決什麼問題?

office-mcp 能幫助智慧體遵循源文件中規定的特定工作流程,從而減少歧義,確保執行結果與預期任務保持一致。

何時應使用此技能?

當任務符合該技能文件中描述的工作流程、領域或操作規則時,尤其是需要保證執行一致性時,就應當使用它。

主要限制是什麼?

該技能的效能受其原始碼指令的質量和覆蓋範圍限制。如果底層文件不完整,智慧體可能仍需額外的上下文資訊或人工驗證。

在 GitHub 上查看

Office MCP Server

Overview

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 Categories

PDF Tools (10)

ToolDescription
extract_text_from_pdfExtract text content, supports page selection
extract_tables_from_pdfExtract table data from PDFs
merge_pdfsMerge multiple PDFs into one
split_pdfSplit PDF by page ranges
compress_pdfReduce PDF file size
add_watermark_to_pdfAdd text/image watermarks
fill_pdf_formFill PDF form fields
get_pdf_metadataGet PDF properties and metadata
ocr_pdfOCR on scanned PDFs (multi-language)
ocr_imageOCR on image files (PNG, JPG, TIFF, etc.)

Spreadsheet Tools (7)

ToolDescription
read_xlsxRead Excel files with sheet/range selection
create_xlsxCreate multi-sheet Excel files
analyze_spreadsheetStatistical analysis (min/max/mean/median)
apply_formulaApply Excel formulas to cells
create_chartGenerate chart configurations
pivot_tableCreate pivot tables with aggregation
xlsx_to_jsonConvert Excel to JSON

Document Tools (6)

ToolDescription
extract_text_from_docxExtract text from Word documents
create_docxCreate DOCX with headings, lists, tables
fill_docx_templateFill templates with {{placeholders}}
analyze_document_structureAnalyze headings, tables, word count
insert_table_to_docxInsert tables into documents
merge_docx_filesMerge multiple Word documents

Conversion Tools (9)

ToolDescription
xlsx_to_csvConvert Excel to CSV
csv_to_xlsxConvert CSV to Excel
json_to_xlsxConvert JSON arrays to Excel
docx_to_mdConvert Word to Markdown
md_to_docxConvert Markdown to Word
pdf_to_docxConvert PDF to Word (text extraction)
docx_to_pdfConvert Word to PDF (external tool required)
html_to_pdfConvert HTML to PDF (external tool required)
batch_convertBatch convert multiple files

Presentation Tools (7)

ToolDescription
create_pptxCreate PowerPoint with themes
extract_from_pptxExtract text and images from PPTX
md_to_pptxConvert Markdown to slides
add_slideAdd slides to existing presentations
update_slideUpdate slide content
pptx_to_htmlConvert to reveal.js HTML
get_pptx_outlineGet presentation structure

Installation

1. Clone and Build

cd mcp-servers/office-mcpnpm installnpm run build

2. Configure Claude Desktop

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"]    }  }}

3. Restart Claude Desktop

Example Prompts

  • "Read the Excel file at ~/Documents/sales.xlsx"
  • "Create a PowerPoint with 5 slides about AI trends"
  • "Extract text from this PDF and convert to Markdown"
  • "Merge these 3 Word documents into one"
  • "Analyze the data in this spreadsheet"

Dependencies

pdf-parse, pdf-lib       - PDF operationstesseract.js             - OCR (pure JavaScript, no native binary needed)xlsx                     - Excel operationsmammoth, docx            - Word operationsdocxtemplater, pizzip    - Template fillingpptxgenjs, jszip         - PowerPoint operationsturndown, marked         - Markdown conversion

Supported OCR Languages

  • eng - English
  • chi_sim - Simplified Chinese
  • chi_tra - Traditional Chinese
  • jpn - Japanese
  • kor - Korean
  • fra - French
  • deu - German
  • spa - Spanish

Resources

  • MCP Server Code
  • Implementation Plan
  • Claude Office Skills Hub

所有檔案

1 個檔案

安裝 office-mcp

將技能檔案下載並解壓到您的 .claude/skills/ 目錄中。

下載 ZIP

複製儲存庫並將技能檔案複製到您的專案中。

git clone https://github.com/claude-office-skills/skills/blob/main/office-mcp/SKILL.md # Copy SKILL.md to your .claude/skills/ directory

複製 複製
快速設定: 將該技能資料夾複製到 .claude/skills/ 目錄中,Claude 會自動檢測並使用該技能。

相關技能

mcpgraph
更新時間 2026-06-29
composio
更新時間 2026-06-29
connect-mcp-server
更新時間 2026-06-29
browser-devtools-mcp
更新時間 2026-06-29
OR