Skip to main content
Glama

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bibash44/word-documet-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server