Skip to main content

MCP server for reading and writing HWP/HWPX Korean word processor files. Extracts text, tables, and images from Hangul documents.

Project description

hangul-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 hangul -- uvx hangul-mcp

# Claude Desktop / Other clients (settings JSON)
{
  "mcpServers": {
    "hangul": {
      "command": "uvx",
      "args": ["hangul-mcp"]
    }
  }
}

Tools

Read

Tool Description
read_hwp Read full document (text + tables + images)
read_hwp_text Extract text only
read_hwp_tables Extract tables as markdown
list_hwp_images List embedded images
extract_hwp_images Save images to disk

Write

Tool Description
fill_hwp_template Fill template placeholders (e.g. {{name}} -> John)
replace_hwp_text Find and replace text
create_hwpx_document Create new HWPX document with text and tables

Examples

Read an HWP file

> Read /path/to/document.hwp

# document.hwp
Format: .HWP | Paragraphs: 23 | Tables: 2 | Images: 1

| Name | Position | Company |
| --- | --- | --- |
| Kim | CTO | Acme |
...

Fill a template

> Fill template /path/to/form.hwp with {"{{name}}": "Kim", "{{company}}": "Acme"}

Saved: form_filled.hwp
Total 2 replacements
  '{{name}}' -> 1
  '{{company}}' -> 1

Create a new document

> Create HWPX with text "Employee Info" and a table [["Name", "Role"], ["Kim", "CTO"]]

HWPX document created: employee.hwpx

Supported Formats

Format Read Write
HWP (v5.0) Text, tables, images Text replacement
HWPX (OWPML) Text, tables, images Text replacement, create new

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hangul_mcp-0.1.0.tar.gz (29.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hangul_mcp-0.1.0-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file hangul_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: hangul_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 29.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for hangul_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4422c8a36a7d97f7349f140bdcbd21c265f6737a0d8c134929032707e3ff29d2
MD5 16fb98a17daf87f86544f385d4eb286f
BLAKE2b-256 6cb4af0e684cebd3c9613930695790b07a21caad8f41143d9150c8781be56fae

See more details on using hashes here.

File details

Details for the file hangul_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hangul_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for hangul_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fdc604f8c2a87c4b5aee356c37b54a7e6cc9cae4e6ea071b9649a9601e330375
MD5 6c149b86df406a5d115fe307fdfe7af4
BLAKE2b-256 a09b1aaa423645e798c403676122691eae5b2ec990ec6402113f0ba9058d52d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page