MCPdir β€” MCP Server Directory
πŸ‡¬πŸ‡§ πŸ‡ͺπŸ‡Έ

Office Word MCP Server

by GongRzhe

Create, read, and manipulate Word documents through AI assistants

productivity Python Beginner Self-hostable No API key
⭐ 1.7k stars πŸ“… Updated: 3mo ago

Description

A comprehensive MCP server that enables AI assistants to work with Microsoft Word documents through a standardized interface. It provides 30+ tools covering the full document lifecycle: creation, reading, editing, formatting, table manipulation, image insertion, password protection, digital signatures, comment extraction, and PDF conversion. Built on python-docx, it supports rich text formatting, custom styles, cell merging, bulleted and numbered lists, footnotes, endnotes, and document merging.

βœ… Best for

Teams that need automated Word document generation, editing, or analysis through AI assistants

⏭️ Skip if

You only need simple text export or already use a cloud-based document API

πŸ’‘ Use cases

  • Generating formatted reports and proposals from structured data
  • Automating document templates with dynamic content insertion
  • Extracting and analyzing text and comments from existing Word files
  • Converting Word documents to PDF for distribution
  • Batch formatting and style standardization across documents

πŸ‘ Pros

  • βœ“ Extensive toolset with 30+ operations covering most Word editing needs
  • βœ“ No API key required β€” works entirely locally with python-docx
  • βœ“ Supports advanced features like cell merging, digital signatures, and password protection
  • βœ“ Active community with 1,600+ GitHub stars

πŸ‘Ž Cons

  • βœ— Requires Python runtime and python-docx dependency
  • βœ— No HTTP transport β€” stdio only
  • βœ— Some complex formatting may not match native Word fidelity

πŸ”§ Exposed tools (15 tools)

ToolCategoryDescription
get_all_commentscollaborationExtract all comments from a document
add_headingcontent-creationInsert headings with formatting options
add_paragraphcontent-creationAdd paragraphs with styling
add_tablecontent-creationCreate tables with custom data
add_picturecontent-creationInsert images with scaling options
convert_to_pdfconversionConvert Word documents to PDF format
create_documentdocument-managementCreate new Word documents with metadata
get_document_infodocument-managementExtract document properties and statistics
get_document_textdocument-managementExtract text and analyze document structure
merge_documentsdocument-managementCombine multiple documents into one
search_and_replaceeditingFind and replace text throughout documents
format_textformattingFormat text sections with bold, italic, underline, color, and font options
add_password_protectionsecuritySecure documents with password protection
add_digital_signaturessecuritySign documents with digital signatures
merge_table_cellstable-formattingMerge cells horizontally, vertically, or in rectangular regions

πŸ’‘ Tips & tricks

Use the create_custom_style tool to define reusable styles before generating documents in batch. Combine with merge_documents for assembling reports from multiple sections.

Quick info

Author
GongRzhe
License
MIT
Runtime
Python 3.10+
Transport
stdio
Category
productivity
Difficulty
Beginner
Self-hostable
βœ…
Auth
β€”
Docker
β€”
Version
1.0.0
Updated
Dec 31, 2025

Client compatibility

  • ❓ Claude Code
  • ❓ Cursor
  • ❓ VS Code Copilot
  • ❓ Gemini CLI
  • ❓ Windsurf
  • ❓ Cline
  • ❓ JetBrains AI
  • ❓ Warp

Platforms

🍎 macOS 🐧 Linux πŸͺŸ Windows