Skip to content

Summary

Read and write Korean documents from AI: HWP, HWPX, PDF, Office files and scans to Markdown, plus HWPX generation, form filling, comparison, review and redaction — 22 MCP tools.

Features

  • Parse HWP, HWPX, PDF, XLSX, DOCX, PPTX and scanned images to Markdown
  • Generate HWPX official documents from Markdown with presets and agency templates
  • Fill forms and patch documents with original formatting preserved
  • Cross-format document comparison and table extraction
  • Official-document linting, rendering for visual checks, and PII redaction
  • Local OCR, an offline mode and a KORDOC_ROOT file-access boundary
  • One-command setup for Claude, Cursor, VS Code, Codex and more

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "kordoc" tools will be available.
{
  "mcpServers": {
    "kordoc": {
      "command": "npx",
      "args": [
        "-y",
        "kordoc",
        "mcp"
      ]
    }
  }
}

Description

kordoc lets AI assistants work with the documents Korean public offices actually use. It parses HWP 3.x and 5.x, HWPX, HWPML, PDF, XLS/XLSX, DOCX, PPTX and scanned images into Markdown and structured data, and goes the other way too, writing HWPX (or HWP) official documents from Markdown. It was built by a Korean local-government official and is available as a TypeScript library, a CLI, an HTTP API and an MCP server; the MCP server is listed in the official MCP Registry and Claude's plugin directory.

The MCP server has 22 tools. On the reading side: parse_document, page and table-level parsing, metadata, format detection, RAG chunks with heading breadcrumbs, and extract_tables, which separates data tables from org-chart-like ones. For editing: compare_documents across formats, parse_form and fill_form for form fields (values can come from a JSON file so they stay out of the conversation), patch_document to write edited Markdown back into the original HWPX/HWP with formatting kept, add_memo and place_seal for comments and stamps. For writing: generate_document with official-document presets, department templates and "agency packs" built from a few existing documents, plus convert_to_hwpx for legacy HWP files. lint_document reviews notation, style and budget arithmetic, render_document renders pages so the AI can check its own output, and redact_document masks personal information while preserving layout.

Local OCR (handwriting included) turns on automatically for scans, and an offline mode (KORDOC_OFFLINE=1) blocks all external traffic for closed networks; KORDOC_ROOT limits which files the MCP server can reach. The README publishes its own benchmark results, including full table-structure agreement on 10,344 tables from 2,424 HWPX documents.

Run npx -y kordoc setup to register the server with Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, Gemini CLI, Zed, Antigravity or Codex, or configure npx -y kordoc mcp by hand. Node.js 20+, MIT-licensed. The main README is in Korean, with an English version alongside.

Related MCP Servers

See all kordoc alternatives

MCP: Markdownify

by zcaceres

New

Open-source MCP server that converts PDFs, Office files, images, audio, YouTube videos and web pages into Markdown, using Microsoft's markitdown under the hood.

MCP: mcp-brasil

by MCP Brasil

New

One MCP server for 70 Brazilian public data sources: central bank series, Congress, transparency portals, courts, elections, health, education, procurement and more — 533 tools.

MCP: nuphus-mcp

by Nuphus Team

Computer use for any MCP client: 36 tools covering screenshots, window control, mouse and keyboard, and Chrome over CDP, with local OCR built in and vision on your own key.

New

A Zotero 7 plugin with a built-in MCP server: 32 tools to search your library, read PDFs and annotations, run semantic search and write notes, tags and items, all locally.

Browse all MCP servers →