kordoc
Lets your AI agent read, compare, write and convert Korean documents such as HWP, HWPX, PDF and Office files.
2.9k stars on GitHubby chrisryugjLicense MITUpdated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add kordoc -- npx -y kordoc mcp
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Convert this HWPX file to Markdown.
Compare these two versions of the report and list what changed.
What it is
kordoc turns Korean documents (HWP, HWPX, PDF, Excel, Word, PowerPoint and scanned images) into Markdown and structured data. Your agent can also compare versions, fill forms, write new HWPX files and check public documents for style problems. It is a library, a command-line tool and an MCP server with 22 tools.
What it can do
- Read documents as Markdown, with local OCR for scans
- Compare documents block by block and cell by cell
- Edit HWPX and HWP while keeping the layout
- Write Markdown to HWPX using official document presets
- Convert HWP to HWPX
- Fill forms and standard document templates
- Check documents for style, wording and budget math (lint)
- Preview, extract regions and mask personal information
When to use
- βΊWhen you receive an HWP file and need its text without Hancom Office.
- βΊWhen you need to compare an old and a new version of a document.
- βΊWhen you want to turn a Markdown report into a HWPX document.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
hwpHelps your agent read Korean HWP and HWPX documents, pull out their text and form fields, compare versions, and convert Markdown into HWPX.pdf-officialHelps your agent read, create, split, merge, fill, and protect PDF files, including text extraction, form filling, and OCR for scanned pages.rhwp-advancedHelps your agent debug and inspect HWP documents, compare versions, pull thumbnails and convert files using the rhwp command-line tool.Frequently asked questions
Is it free and open source?
Yes. It is under the MIT license.
Do I need Hancom Office?
No. It reads HWP and HWPX files directly.
Does it work offline?
Yes. KORDOC_OFFLINE=1 blocks all outside connections and OCR runs on your CPU without an API key.
Which formats does it read?
HWP 3.x and 5.x, HWPX, HWPML, PDF, XLS and XLSX, DOCX, PPTX, and PNG, JPG and WebP images.
Which clients can use it?
Claude Desktop, Claude Code, Cursor and Codex, plus one-click installs for VS Code and Cursor.
Can I limit which folders it reads?
Yes. KORDOC_ROOT sets the folder scope for the MCP server.
If it does not work
- βΊUse Node.js 20 or newer.
- βΊDo not install with --omit=optional unless you accept limited PDF and OCR features.
- βΊRestart your AI client after running npx -y kordoc setup.
5 new skills a week. 1 minute to read.