Hwp MCP logo

Hwp MCP

Read, transform, render, and edit Korean HWP/HWPX documents through MCP tools backed by the rhwp WebAssembly engine.

Install Hwp MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "hwp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "hwp-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 35 tools correctly (5d ago).

Overview

hwp-mcp MCP server lets MCP-compatible AI clients read, render, create, and modify Korean Hangul documents in HWP and HWPX formats. It uses the rhwp Rust/WebAssembly engine for document parsing and adds agent-oriented tools for text replacement, template filling, table operations, image handling, metadata inspection, and SVG rendering. HWP and HWPX support reading and rendering, while editing and document creation target HWPX. Reach for it when an agent needs to process Hangul files on macOS, Windows, or Linux without installing Hancom Office.

Use cases

  • Read government HWP/HWPX documents into agent-accessible text and tables
  • Fill HWPX templates with names, dates, and other placeholders
  • Render selected document pages as SVG for visual inspection
  • Extract embedded images and convert documents to Markdown
  • Create and revise text-based HWPX files

Key features

  • HWP and HWPX content extraction
  • HWPX text and structure editing
  • Markdown conversion with tables and images
  • SVG and HTML page rendering
  • Template and field value replacement
  • Cross-platform WebAssembly runtime

Tools35

What Hwp MCP lets your agent do. Expand a tool for its parameters.

Verified live~3.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

4/4 checks healthy over the last 6d

What it can do

From the 35 tools this server returned when we ran it.

Can delete or modify data · 4Read-only tools · 31
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age186 days
Maintainers1

Observed 2026-11-01 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · hwp-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars104Stargazers on the source repository.
npm downloads1.3kPackage downloads in the last 30 days.
Last commit6d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed35Callable tools this server registers over MCP.

How Hwp MCP works

What hwp-mcp does

hwp-mcp exposes Korean Hangul document operations through the Model Context Protocol. It can inspect .hwp and .hwpx files, extract structured content, render pages, and convert documents to Markdown. Reading covers body text, tables, embedded images, headers, footers, footnotes, and equations. Image extraction includes common embedded formats such as PNG, JPG, and BMP.

The server also supports HWPX editing and creation. Agents can replace text, populate {{placeholder}} fields, change paragraph or table-cell text, append or remove paragraphs and table rows or columns, merge cells, update images, apply text and paragraph styling, add images, and create a new text-based HWPX document.

How it works

The package places an MCP adapter over @rhwp/core. rhwp handles HWP 5.0 binary and HWPX/OWPML parsing, while hwp-mcp provides workflows and tool signatures intended for natural-language agent use. Its traversal logic combines content from document sections into practical outputs, including Markdown tables and consolidated text for headers, footers, footnotes, and equations.

HWPX writes use ZIP-level document mutation in addition to the underlying engine. This allows changes to the XML and package entries needed for text, tables, images, and related document structures. Rendering tools can return a selected page or all pages as SVG, and an HTML rendering option is also available.

Setup and configuration

Node.js 20 or newer is required. The server runs through npx and does not require Hancom Office, Python COM automation, or a Windows-only runtime. macOS, Windows, and Linux are supported, including Apple Silicon Macs.

For Claude Code, add it with:

Terminal
claude mcp add hwp-mcp -- npx -y hwp-mcp@latest

For clients using an MCP settings file, configure the server with the npx command and -y, hwp-mcp@latest arguments:

config.json
{
  "mcpServers": {
    "hwp-mcp": {
      "command": "npx",
      "args": ["-y", "hwp-mcp@latest"]
    }
  }
}

Restart the client after changing its MCP configuration so the tools are loaded in a new session. The server communicates over standard input/output and requires no environment variables.

Tools and capabilities

The tool set includes:

  • Reading full documents, unified text, tables, metadata, page definitions, fields, and HWPX package entries.
  • Converting documents to Markdown while preserving document order and representing tables as GitHub-Flavored Markdown.
  • Listing or extracting embedded images and rendering pages as SVG or HTML.
  • Replacing text, filling multiple placeholders, changing paragraph or cell content, and setting field values in HWPX files.
  • Adding and removing paragraphs, table rows, and table columns; merging cells horizontally or vertically.
  • Replacing, inserting, or deleting images and applying character or paragraph formatting.
  • Creating a new HWPX document from text.

Limitations and notes

Write operations are for HWPX; binary HWP files can be read and rendered but not edited by these tools. New HWPX table insertion is experimental, and its recognition by rhwp is incomplete. Text-box content, endnotes, charts, bookmarks, style definitions, and new headers or footers are outside the supported feature set described here. Equation SVG rendering is listed as a tool but is not associated with either HWP or HWPX in the support matrix.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Hwp MCP

hwp-mcp is an MCP server that connects AI clients to Korean HWP and HWPX documents through the rhwp WebAssembly engine. Its main tools read text and tables, render pages, extract images, fill templates, replace content, edit HWPX structure, and create new HWPX files without requiring Hancom Office.

Install it with `npx` through your MCP client and Node.js 20 or newer. In Claude Code, run `claude mcp add hwp-mcp -- npx -y hwp-mcp@latest`; settings-file clients use `command: "npx"` with `args: ["-y", "hwp-mcp@latest"]`. Restart the client after saving configuration.

No. HWP files can be read and rendered, but the editing tools target HWPX. To edit an HWP document, save it as HWPX in Hancom Office first, then use the HWPX writing tools.

Yes. hwp-mcp supports macOS, Windows, and Linux, including Apple Silicon Macs. Its Rust/WebAssembly engine avoids a Hancom Office installation and Windows-only COM automation.

Yes. Add hwp-mcp to Cursor's MCP settings with `npx` and `hwp-mcp@latest`, then fully restart Cursor so the tools load. Cursor is listed among the supported MCP-compatible clients.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHwp MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hwp-mcp?style=directory)](https://allmcps.com/mcp/hwp-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/hwp-mcp"><img src="https://allmcps.com/api/badge/hwp-mcp?style=directory" alt="Hwp MCP on AllMCPs" /></a>