Word Document MCP Server
A Model Context Protocol (MCP) server that enables AI assistants like Claude to create and manipulate Microsoft Word documents (.docx files) programmatically.
Features
🎨 Rich Text Formatting - Bold, italic, underline, colors, fonts, and sizes
📑 Document Structure - Headings (5 levels), paragraphs, lists, and tables
🔍 Find & Replace - Text search and replacement with regex support
📊 Tables - Create formatted tables with headers and data rows
💾 Document Management - In-memory tracking with persistent file saving
Usage with Claude Desktop
Add this to your Claude Desktop configuration:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
Available Tools
Document Creation
create_document- Create a new Word documentsave_document- Save document to disk
Content Addition
add_heading- Add headings (levels 1-5)add_paragraph- Add formatted paragraphsadd_bullet_list- Create bulleted listsadd_numbered_list- Create numbered listsadd_table- Insert tables with headers
Text Operations
find_and_replace- Search and replace textapply_text_formatting- Format specific textget_document_structure- View document outline
License
MIT
Author
Bibash Kattel