PlugWiki
kordoc logo

kordoc MCP Server: Setup for Claude Code, Cursor and Other Apps

CommunityLocal

Lets Claude or Cursor read Korean HWP, HWPX, PDF and Office files as Markdown, fill forms, compare versions and mask personal data.

kordoc is a library and command line tool for Korean documents, and it also runs as an MCP server on your computer. It reads files you point it at and writes new files for forms, edits and masked copies. No account or API key is needed. Paths must be absolute, and an environment variable can limit it to one folder.

Good for

  • Korean public-sector staff who work with HWP and HWPX documents
  • Developers who feed Korean documents into search or RAG
  • Anyone who needs HWP files turned into Markdown, PDF or images
  • Reviewers who compare old and new versions of a regulation

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install kordoc MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the kordoc MCP server to Claude Code. Run this command:
    
    claude mcp add kordoc -- npx -y kordoc mcp
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js, Node.js 20 or newer.

The server starts with the mcp subcommand. The README also has a setup command that registers it in the apps it finds. On Windows, Claude Desktop may need cmd with /c as the command. Set KORDOC_ROOT to a folder to limit file access.

Built from the package data we hold. Not yet tested by us.

Tools

  • Reads a document and returns it as Markdown

    Converts HWP, HWPX, PDF, XLSX, DOCX, PPTX and PNG, JPG or WebP images to Markdown. Images are read with built-in OCR.

    Try: “Read ~/Documents/공문.hwpx and summarise it.”

    Files · parse_document

  • Reads only some pages

    Parses a page range of a document.

    Try: “Read pages 3 to 5 of report.pdf.”

    Files · parse_pages

  • Pulls out one table

    Extracts the Nth table from a document.

    Try: “Get the second table from budget.hwpx.”

    Files · parse_table

  • Reads title, author and dates

    Reads document properties without parsing the whole file.

    Try: “Who wrote this document and when?”

    Files · parse_metadata

  • Identifies the file type

    Detects the format from the file contents, such as hwpx, hwp, pdf or docx.

    Try: “What type of file is this?”

    Files · detect_format

  • Splits a document into search chunks

    Parses a document into structured chunks for RAG, keeping headings as a path and putting tables in their own chunks.

    Try: “Split guide.pdf into chunks for indexing.”

    Files · parse_chunks

  • Shows what changed between two documents

    Compares two documents block by block and lists added, removed and changed parts. HWP and HWPX can be compared with each other.

    Try: “Compare the old and new regulation files.”

    Files · compare_documents

  • Reads the fields of a form

    Extracts label and value pairs from a Korean form document as JSON.

    Try: “List the fields in application.hwpx.”

    Files · parse_form

  • Fills in a form

    Fills blank fields in a form and writes a new document. Built-in standard government templates are available. HWPX output keeps the original formatting.

    Try: “Fill in this application with the values from values.json.”

    Write · fill_form

  • Edits text and keeps the formatting

    Writes your edited Markdown back into an HWPX or HWP file, keeping fonts, tables, seals and logos. It can also copy a sample file's format for new content.

    Try: “Update the dates in notice.hwpx and save a new file.”

    Write · patch_document

  • Adds a seal or signature image

    Places a seal or signature image next to an anchor phrase and saves a new HWPX.

    Try: “Stamp the seal next to "담당자".”

    Write · place_seal

  • Adds a comment to a document

    Adds a memo to the text at an anchor phrase and saves a new HWPX.

    Try: “Add a memo on the budget line.”

    Write · add_memo

From the official docs

Permissions

medium risk · 3 things to watch

Medium risk

The assistant can read any Korean document you point it at and save new files, such as filled forms and masked copies. Set KORDOC_ROOT to one folder so it cannot reach the rest of your computer.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It writes new document files

    Fill, patch, convert, mask and render tools save files. Each needs an output path, and the path is checked for allowed file types, symbolic links and the allowed folder. github.com

  • Documents can hold personal data

    Files you open are read into the chat. Use the masking tool first, or set KORDOC_ROOT so it only reaches one folder. github.com

  • Offline mode is available

    Setting KORDOC_OFFLINE=1 blocks all outside communication, and KORDOC_ROOT limits file access to a folder. github.com

Security advisories

No published security advisories as of Nov 1, 2026.

Technical details
Turning on read-onlyNo read-only switch is documented. KORDOC_ROOT limits file access to one folder, and KORDOC_OFFLINE=1 blocks all outside communication.
Sign-in and keysNo account or key.

Questions

Is kordoc an MCP server or a library?

Both, plus a command line tool. The MCP server is started with the mcp subcommand, which the install box above includes.

Which file types does it read?

HWP 3.x and 5.x, HWPX, HWPML, PDF, XLS, XLSX, DOCX, PPTX and PNG, JPG or WebP images. Images use built-in OCR.

Does it need an API key or internet?

No key. The README describes a closed-network mode: KORDOC_OFFLINE=1 blocks all outside communication.

Can I limit which folders it can reach?

Yes. Set KORDOC_ROOT to a folder and MCP file access stays inside it. Output files also cannot overwrite agent config files or follow symbolic links.

Can it overwrite my original file?

The tools write to a new output path, and the masking tool refuses an output path that equals the input. HWP to HWPX conversion refuses to overwrite an existing file unless you give a path.

What is the fastest way to set it up?

Run the setup command from the README. It finds installed apps such as Claude Desktop, Claude Code, Cursor and Codex and registers the server for you.

Information

updated Nov 2, 2026

Publisher
Community
Package
kordoc
Registry
npm
Transport
stdio
Auth
None
Version
4.24.30
License
MIT
Last commit
Oct 31, 2026
Open issues
0
Listed in
Official MCP registry

WebsiteGitHubnpmOfficial MCP RegistryChangelogIssues

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 4
  1. github.com · github.com
  2. github.com · github.com
  3. github.com · github.com
  4. github.com · github.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.