Kordoc logo

Kordoc

Parse Korean and office documents into Markdown or structured data, then compare, fill, generate, inspect, and render files through MCP.

Install Kordoc

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

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for kordoc, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

kordoc MCP server gives AI clients local tools for parsing HWP, HWPX, HWPML, PDF, XLS/XLSX, DOCX, PPTX, and common image files. It exposes 22 MCP tools for document conversion, comparison, generation, form filling, validation, previewing, rendering, and privacy masking. Install it with Node.js 20 or later and register it with `npx -y kordoc setup`; reach for it when an agent needs to read or modify Korean government documents without relying on Hancom Office. Local OCR supports scanned files, including offline operation with `KORDOC_OFFLINE=1`.

Use cases

  • Convert HWP and scanned PDFs into Markdown for search or RAG indexing
  • Fill Korean government forms from structured values
  • Compare document blocks and table cells across revisions
  • Generate HWPX reports from Markdown and organization templates
  • Run document linting and render previews before delivery

Key features

  • Parses HWP, HWPX, HWPML, PDF, XLS/XLSX, DOCX, PPTX, and images
  • Converts documents to Markdown, JSON, structured blocks, and RAG chunks
  • Generates and edits HWPX while retaining supported layout information
  • Performs local OCR with optional line boxes and confidence data
  • Fills forms, compares files, validates content, and renders previews
  • Supports offline operation and filesystem scoping for MCP access

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.

34/34 checks healthy over the last 24d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev

Adoption & maintenance

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

GitHub stars2.9kStargazers on the source repository.
Last commitTodayMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Kordoc works

What kordoc does

kordoc handles document workflows centered on Korean files and government-style paperwork. It reads HWP 3.x and 5.x, HWPX, HWPML, PDF, XLS/XLSX, DOCX, PPTX, PNG, JPG, and WebP files, producing Markdown, intermediate structured data, page-oriented text, or RAG-ready chunks. Tables are represented as structured content, with options such as GitHub-Flavored Markdown for table output.

The project can also create and modify documents. Markdown can be converted to HWPX using government-document presets, sample templates, tables, formulas, and charts. Existing HWP and HWPX files can be compared or patched at block and cell level, while layout-preserving extraction supports edits that retain source formatting. Form workflows include field and placeholder filling, standard draft-document formats, and seal placement.

How it works

The package is available as a Node.js library, command-line program, and MCP server. The CLI can process one file, a group of files, or a directory tree. Batch conversion supports file-level parallelism through --jobs, although additional workers increase memory use. A typical conversion writes Markdown from an input path, while JSON output exposes document metadata and structured blocks.

OCR runs locally for scans and image-based documents. OCR options can return line boxes and confidence values, select detection models, and choose recognition behavior. The same processing engine supports document linting, page and region extraction, previews, rendering, and masking of personal information. HWP files can also be converted to HWPX while preserving many source elements, including text styling, tables, images, shapes, formulas, headers, footnotes, and charts.

Setup and configuration

Node.js 20 or newer is required, with support for macOS, Linux, and Windows. Install the package with npm install kordoc, or invoke the CLI without a local installation through npx kordoc. PDF and OCR dependencies are included by default; using --omit=optional limits those capabilities.

Run npx -y kordoc setup to register the MCP server with supported clients, then restart the client. VS Code and Cursor provide one-click installation links, and Claude Code can install the project plugin through its marketplace commands. The package is listed in the official MCP Registry.

For disconnected environments, set KORDOC_OFFLINE=1 to block external communication. KORDOC_ROOT can restrict the filesystem area available to MCP operations. Local CPU OCR works without an API key, which suits offline or closed-network deployments.

Tools and capabilities

The MCP interface covers 22 tools spanning:

  • Parsing documents into Markdown, structured blocks, page text, and retrieval chunks.
  • Comparing documents and applying block-, cell-, or layout-aware edits.
  • Generating HWPX files from Markdown, presets, templates, or institution packs.
  • Filling fields and placeholders, producing standard government drafts, and adding seals.
  • Converting HWP to HWPX and preserving source formatting where supported.
  • Running language, public-sector style, structural, budget-calculation, and AI-writing checks.
  • Rendering, previewing, extracting regions, and masking personal information.

Institution packs collect formatting patterns from example documents and apply them to newly generated files. Validation reports skipped edits with their reasons, helping callers review changes that could not be applied.

Limitations and notes

Formatting preservation depends on the source document and operation. The tool reports edits it cannot apply rather than silently presenting them as complete. OCR quality varies with scans, handwriting, layout, and tables, so extracted text and structure should be checked for high-stakes use. Parallel processing consumes more memory, and removing optional dependencies reduces PDF and OCR support. The package is released under the MIT license.

Reviews

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

Frequently Asked Questions about Kordoc

kordoc is an MCP server that connects AI clients to local Korean and office documents, including HWP, HWPX, PDF, spreadsheets, and images. Its main tools parse files, compare revisions, generate HWPX documents, fill forms, run validation checks, extract content, and render or preview document output.

Run `npx -y kordoc setup` to register kordoc with supported MCP clients. Node.js 20 or newer is required. You can also install the package with `npm install kordoc`, or use the VS Code and Cursor installation links.

Yes, kordoc works with Cursor. The setup command can register it automatically, and Cursor has a one-click MCP installation link. Restart the client after registration so the parsing, comparison, generation, validation, and rendering tools become available.

Yes, kordoc can process scanned PDFs with local OCR in offline environments. Set `KORDOC_OFFLINE=1` to block external communication; OCR runs on the local CPU without an API key. OCR options can also return line coordinates and confidence values.

Run `npx kordoc document.hwp -o document.md` to convert an HWP file to Markdown. The command reads the file directly without Hancom Office, and the same CLI supports HWPX, PDF, spreadsheets, DOCX, PPTX, and image inputs.

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 PreviewKordoc AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/kordoc?style=directory)](https://allmcps.com/mcp/kordoc)
HTML Embed
<a href="https://allmcps.com/mcp/kordoc"><img src="https://allmcps.com/api/badge/kordoc?style=directory" alt="Kordoc on AllMCPs" /></a>