MCP Hub
Back to servers

Word Document MCP Server

A robust MCP server for programmatically generating and editing Microsoft Word documents, featuring support for rich text, tables, structured headings, and regex-based find-and-replace.

Tools
10
Updated
Oct 9, 2025

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

{
  "mcpServers": {
    "word-document": {
      "command": "npx",
      "args": ["-y", "word-document-mcp-server"]
    }
  }
}

Available Tools

Document Creation

  • create_document - Create a new Word document
  • save_document - Save document to disk

Content Addition

  • add_heading - Add headings (levels 1-5)
  • add_paragraph - Add formatted paragraphs
  • add_bullet_list - Create bulleted lists
  • add_numbered_list - Create numbered lists
  • add_table - Insert tables with headers

Text Operations

  • find_and_replace - Search and replace text
  • apply_text_formatting - Format specific text
  • get_document_structure - View document outline

License

MIT

Author

Bibash Kattel

Reviews

No reviews yet

Sign in to write a review