# Hangul Document MCP Server

> Read, convert, and edit Korean Hangul HWP/HWPX documents with AI.

- **URL**: https://followmcp.com/en/servers/hwp-mcp
- **Category**: Filesystem
- **Origin**: Community
- **Stars**: 114
- **FMRS Score**: 54/100 (Grade D)
- **Source**: https://github.com/treesoop/hwp-mcp
- **Transports**: stdio (local process)
- **Runtimes**: Node.js 20+
- **Auth**: No credential needed

## Overview
Hangul Document MCP Server is an MCP server built on rhwp for compatible AI clients to read, render, convert, and work with Korean Hangul documents. The README lists 36 local tools for reading, inspecting, and rendering both HWP and HWPX; local write tools support HWPX only. It also describes optional rhwp tools for direct HWP editing, whose availability and count depend on the runtime engine.

## Best for
- People and teams who need to handle Korean Hangul documents through an MCP-compatible AI client.
- Users who want a WASM-based document engine on macOS, Windows, or Linux without installing Hancom Office.

## Not for
- Users who need the local tools to write HWP binary files; the README says local write tools support HWPX only.
- Workflows that require full text-box body extraction or guaranteed compatibility from the experimental table insertion tool.
- Users who need reliable access to all rhwp tools without preparing or configuring the rhwp engine.

## Required permissions
- Needs access to user-selected documents and output locations; image extraction and file-writing tools create or modify files on disk.
- At first startup, if no usable rhwp engine is available locally, the server may need network access to download an engine binary from an upstream release.

## Risks
- Document edits and image extraction write to disk; check the target file and output path to avoid overwriting or saving to the wrong location.
- The README says local search cannot match a term that spans two text nodes.
- Text-box body content has no dedicated extraction tool in the local set; experimental table insertion has incomplete rhwp recognition.
- The rhwp binary version or source can affect the available tool count; the README notes that an older binary found on PATH can expose fewer tools than expected.

## Client config (JSON)
```json
{"mcpServers":{"hwp-mcp":{"command":"npx","args":["-y","hwp-mcp"]}}}
```

## Tools (36)
- `read_hwp`: Read document body text, tables, and an image list.
- `read_hwp_text`: Read body text along with headers, footers, footnotes, and equation text.
- `read_hwp_tables`: Read tables as Markdown.
- `convert_hwp_markdown`: Convert a document to Markdown while preserving document order.
- `list_hwp_images`: List embedded images with MIME type and byte information.
- `extract_hwp_images`: Extract embedded images to disk.
- `get_hwp_info`: Read version, page, font, table, image, footnote, and equation statistics.
- `get_hwp_page_def`: Read section paper sizes, margins, columns, and header/footer margins.
- `list_hwp_fields`: List Hancom document fields.
- `get_hwp_field_value`: Read a field value.
- `list_hwp_bindata`: List HWPX BinData entries.
- `hwp_engine_status`: Check rhwp engine state, version, source, and exposed tool count.
- `render_hwp_page`: Render a selected page as SVG.
- `render_hwp_all_pages`: Render all pages to SVG in a batch.
- `render_hwp_html`: Render a page to HTML.
- `render_hwp_equation_svg`: Render an OWPML equation script as SVG.
- `replace_hwp_text`: Find and replace text; the local write tool supports HWPX.
- `fill_hwp_template`: Fill multiple template placeholders; the local write tool supports HWPX.
- `set_hwp_paragraph_text`: Replace the full text of a numbered paragraph; the local write tool supports HWPX.
- `set_hwp_cell_text`: Set text in a table cell by row and column; the local write tool supports HWPX.
- `set_hwp_field_value`: Set a field value; the local write tool supports HWPX.
- `append_hwp_paragraph`: Append a paragraph to the document; the local write tool supports HWPX.
- `delete_hwp_paragraph`: Delete a numbered paragraph; the local write tool supports HWPX.
- `append_hwp_table_row`: Append a row to a table; the local write tool supports HWPX.
- `delete_hwp_table_row`: Delete a table row.
- `append_hwp_table_column`: Append a column to a table; the local write tool supports HWPX.
- `delete_hwp_table_column`: Delete a table column.
- `merge_hwp_cells_horizontal`: Merge table cells horizontally; the local write tool supports HWPX.
- `merge_hwp_cells_vertical`: Merge table cells vertically; the local write tool supports HWPX.
- `replace_hwp_image`: Replace an embedded image; the local write tool supports HWPX.
- `apply_hwp_text_style`: Set text color, bold, italic, underline, or size; the local write tool supports HWPX.
- `apply_hwp_paragraph_style`: Set paragraph alignment, indentation, or line spacing; the local write tool supports HWPX.
- `insert_hwp_image`: Add a new image; the local write tool supports HWPX.
- `delete_hwp_image`: Delete an embedded image; the local write tool supports HWPX.
- `insert_hwp_table`: Insert an OWPML table; this is experimental and the README reports incomplete compatibility.
- `create_hwpx_document`: Create a new HWPX document from text.
