About HWP to Markdown
HWP to Markdown is an MCP server for converting Korean HWP and HWPX documents into Markdown and extracting table data. It is intended for agents and workflows that need to read Korean office documents without installing 한글 or sending files to an external service.
Key features
- 01Convert paragraphs, headings, and tables to Markdown
- 02Extract tables as JSON arrays
- 03Inspect document format and metadata
- 04Read local files, URLs, or base64 input
- 05Read-only processing; no external service
Use cases
- 01Make Korean government notices readable to an AI agent
- 02Extract bid or estimate tables for reuse
- 03Check document title, version, or encryption flags
MCP support
Exposes read-only document conversion, table extraction, and metadata tools to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
3Saved tool list · updated 6d ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | No | http(s) URL of a .hwp/.hwpx file |
| path | string | No | Local file path, e.g. ~/Downloads/공문.hwp |
| base64 | string | No | Base64 file contents (for clients that cannot share a path) |
| maxChars | integer | No | Truncate output beyond this many characters |
Details
From the project README@appmonster/mcp-hwp
MCP server that turns HWP / HWPX (한글) documents into Markdown so AI agents can finally read Korean government notices, contracts, bid documents and office memos. Pure TypeScript, no 한글 installation, no external service — the file never leaves your machine.
한글 문서를 마크다운으로. 공문·계약서·입찰서류를 에이전트가 읽게 합니다.
Install
{
"mcpServers": {
"hwp": { "command": "npx", "args": ["-y", "@appmonster/mcp-hwp"] }
}
}
No keys, no setup. Also works as a CLI: npx @appmonster/mcp-hwp 공문.hwp > 공문.md.
Tools (all read-only)
| Tool | What it does |
|---|---|
hwp_to_markdown | Paragraphs, outline headings (개요 1~7 → #…), tables → Markdown. Input: path | url | base64 |
hwp_extract_tables | Every table as JSON string[][] — for 물품내역, 견적, 일정표 |
hwp_info | Format, version, title, counts, encryption / 배포용 flags — without the full text |
What is supported
| HWP 5.x (binary) | HWPX (OWPML) | |
|---|---|---|
| Body text, line breaks, tabs | ✓ | ✓ |
| Headings from 개요/제목 styles | ✓ | ✓ |
| Tables incl. row/col spans | ✓ | ✓ |
| Title / author metadata | best effort | ✓ |
| Images | counted, not extracted | counted, not extracted |
| Password-protected | clear error | — |
| 배포용 (distribution) copies | clear error | — |
| HWP 3.x (1990s format) | not supported — re-save as HWP 5/HWPX |
Example prompts
- "이 공문 요약해줘" (파일 첨부 또는 경로)
- "입찰 서류의 물품 내역 표를 엑셀로 옮길 수 있게 JSON으로 뽑아줘"
- "https://…/안내문.hwpx 읽고 마감일이 언제인지 알려줘"
MIT © Appmonster
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.