hwp-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
hwp-mcp
MCP server for reading and writing HWP/HWPX (Korean Hangul word processor) files.
Works with Claude Code, Claude Desktop, VS Code Copilot, Cursor, ChatGPT, and any MCP-compatible client.
Install
# Claude Code
claude mcp add hwp-mcp -- uvx --from hwp-mcp hwp-mcp
# Claude Desktop / Other clients (settings JSON)
{
"mcpServers": {
"hwp-mcp": {
"command": "uvx",
"args": ["--from", "hwp-mcp", "hwp-mcp"]
}
}
}Related MCP server: HWP-MCP
Tools
Read
Tool | Description |
| Read full document (text + tables + images) |
| Extract text only |
| Extract tables as markdown |
| List embedded images |
| Save images to disk |
Write
Tool | Description |
| Fill template placeholders (e.g. |
| Find and replace text |
| Create new HWPX document with text and tables |
Usage Examples
Read an HWP file
You: Read /path/to/document.hwp
AI: # document.hwp
Format: .HWP | Paragraphs: 23 | Tables: 2 | Images: 1
| Name | Position | Company |
| --- | --- | --- |
| Kim | CTO | Acme |
...Fill a template
You: Fill template /path/to/form.hwp with name=Kim, company=Acme
AI: Saved: form_filled.hwp
Total 2 replacements
'{{name}}' -> 1
'{{company}}' -> 1Replace text in HWP
You: Replace "홍길동" with "남대현" in /path/to/document.hwp
AI: '홍길동' -> '남대현': 3 replacements
Saved: document_modified.hwpCreate a new HWPX document
You: Create a document with title "Employee Info" and a table with columns Name, Role
AI: HWPX document created: employee.hwpxExtract images
You: Extract images from /path/to/document.hwp
AI: Extracted 3 images to /path/to/document_images/
- BIN0001.png
- BIN0002.jpg
- BIN0003.emfSupported Formats
Format | Read | Write |
HWP (v5.0) | Text, tables, images | Text replacement |
HWPX (OWPML) | Text, tables, images | Text replacement, create new |
How It Works
HWP: Parses OLE/CFB binary format, decompresses zlib streams, decodes HWPTAG records (text, tables, images)
HWPX: Extracts ZIP archive, parses OWPML XML (section*.xml) for text/tables, reads BinData/ for images
Write: Rebuilds OLE container with modified stream data (custom CFB writer for size-changed streams)
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Document conversion MCP server: PDF to Markdown, image OCR, spreadsheet parsing.
Document-to-Markdown MCP server — convert PDF, Office and HTML into LLM-ready Markdown.
MCP server for detecting and redacting PII (Personally Identifiable Information) in PDF documents.
Hosted MCP server: convert PDFs to clean, LLM-ready Markdown with tables, formulas and OCR.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables comprehensive control of Hangul (HWP) documents through an MCP server, supporting operations from basic document management to advanced formatting, tables, images, and document structure manipulation.6-
- FlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that enables AI models to control Hancom Office Hanword (HWP) documents on Windows. It allows for the automated creation, editing, and management of Korean word processor files, including text formatting and table manipulation.-
- FlicenseNot gradedqualityDmaintenanceAn MCP server for reading, editing, and creating Hangul Word Processor (.hwpx) files. It enables users to extract text, perform find-and-replace operations, and modify font styles through automated XML patching.-
- AlicenseAqualityCmaintenanceAn MCP server for reading, writing, and managing Korean Hangul Word Processor (HWP/HWPX) files. It allows users to extract content, fill templates, and create new documents directly through AI assistants.34465 npm110MIT