
kordoc
io.github.chrisryugjPublished by GitHub account chrisryugjv4.24.53Updated Nov 7, 2026
Parse Korean documents (HWP, HWPX, PDF, XLSX, DOCX, PPTX) to Markdown; fill forms, diff, render.
Overview
Parses Korean office documents (HWP, HWPX, PDF, XLSX, DOCX, PPTX, images) into Markdown and structured data, and can compare, fill, generate and render them.
- What you can do
- Read documents into Markdown, structured blocks, per-page text or RAG chunks, with local OCR and QR reading from images
- Compare documents at block and cell level, and patch HWPX/HWP content while keeping formatting
- Write new HWPX from Markdown using official-document presets, templates, tables, formulas and charts
- Convert HWP to HWPX and other formats such as PDF or DOCX into HWPX
- Fill form fields and standard draft templates, including stamping
- Lint documents for style, public-language rules, budget arithmetic and block-level review; preview and mask personal information
- When to use it
- Useful when an assistant must work with Korean public-sector or office documents that mainstream tools cannot read, such as HWP/HWPX files, or when you need batch conversion, form filling, document comparison or drafting in Korean official formats.
- Requirements
- Local process run via npx or npm install; Node.js 20 or newer on macOS, Linux or Windows. No accounts, API keys or environment variables are declared; OCR runs locally without a key. Optional offline mode uses KORDOC_OFFLINE and access scope uses KORDOC_ROOT.
Installation
In SourceWeft
- Open kordoc in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
kordoc
모두 파싱해버리겠다.
[npm version] [license] [MCP Registry]
대한민국에서 둘째가라면 서러울 문서지옥. 거기서 7년 버틴 공무원이 만들었습니다.
HWP 3.x·5.x, HWPX, HWPML, PDF, XLS·XLSX, DOCX, PPTX, PNG·JPG·WebP를 Markdown과 구조화 데이터로 변환합니다. 라이브러리·CLI·MCP 서버로 사용할 수 있습니다.
English · 상세 사용법 · 벤치마크 · 변경 이력
[같은 법령 별표를 HWP·HWPX·PDF·스캔 이미지로 넣은 kordoc 실제 출력]
같은 법령 별표 한 건을 HWP·HWPX·PDF·스캔 이미지로 넣은 실제 출력입니다. 네 경우 모두 병합 칸(rowspan·colspan)을 같은 짜임의 표로 읽습니다. 스캔 이미지는 OCR이 자동으로 켜집니다.
- 📊 PDF 공개 벤치 종합 0.965: opendataloader-bench 200문서, 공개 리더보드(2026-09-29 기록) 12개 파서보다 높은 점수(4.24.50 측정). 측정 조건
- 🇰🇷 한국 공문서 표 구조 100%: 원본 HWPX 2,424문서의 보이는 표 10,342개 전부 구조 일치. 검증 결과
쓸모 있었다면 GitHub ⭐ 하나 눌러주세요. 다른 사람이 이 도구를 찾는 데 도움이 됩니다.
영상: 공개 벤치 측정 과정(2026-09-27 판, 1분 31초) · 양식 일괄 채우기 시연
설치
Node.js 20 이상 · macOS / Linux / Windows
CLI는 설치 없이 npx kordoc으로 실행할 수 있습니다. PDF·OCR·그림 형식 변환·QR 읽기 의존성은 기본 설치되며, --omit=optional로 제외하면 해당 기능이 제한됩니다.
AI 에이전트에 연결
Claude Desktop·Claude Code·Cursor·Codex 등 설치된 클라이언트에 MCP를 등록합니다. 공식 MCP 레지스트리에도 io.github.chrisryugj/kordoc으로 등재돼 있습니다. 클라이언트를 재시작하면 파싱·비교·생성·검수·렌더 등 22개 도구를 사용할 수 있습니다.
VS Code·Cursor는 버튼 한 번으로 등록됩니다.
Claude Code 플러그인:
빠른 시작
CLI
--jobs는 파일 단위 병렬 변환이며 메모리 사용도 늘어납니다. 병렬 변환 안내
JavaScript / TypeScript
주요 기능
서식 보존 패치용 Markdown은 --keep-layout-tables로 추출합니다. 적용하지 못한 편집은 건너뛴 사유로 보고합니다. 서식 보존 편집 · CLI 전체
검증 결과
4.22.14 · 2026-10-19 검증(렌더 배치·별표는 4.24.24 · 2026-10-30, PDF 표는 4.24.35 · 2026-11-01, OCR 은 4.24.32 · 2026-11-01, HWP → HWPX 변환은 4.24.29 · 2026-10-31, PDF 글·KoOCR-Bench·opendataloader-bench 기본값과 OCR 켬은 4.24.50 · 2026-11-07). 고정 코퍼스와 참조 기준으로 측정한 결과입니다.
표 구조 점수와 셀 내용·화면 재현은 별도 지표입니다. 중첩표 100%는 위 101표에 한정하며 전체 PDF·조판의 완전 일치를 뜻하지 않습니다. 채점 범위·제외 기준·옵션별 수치·재현 방법은 벤치마크 상세에 있습니다.
최근 업데이트
최신 배포: 4.24.53 · 2026-11-08
이전 버전과 상세 내용은 변경 이력에 있습니다.
자주 묻는 질문
Q. HWP·HWPX 파일을 Markdown으로 바꾸려면?
npx kordoc 문서.hwp -o 문서.md 한 줄입니다. 한컴오피스 없이 파일을 직접 읽으며, 여러 파일은 npx kordoc *.hwpx -d ./output으로 한 번에 바꿉니다.
Q. Claude·Cursor 같은 AI가 한글 문서를 읽게 하려면?
npx -y kordoc setup으로 MCP를 등록하면 AI가 파일 경로만 받아 HWP·PDF·엑셀을 읽고, 비교하고, 양식을 채웁니다.
Q. 인터넷이 막힌 폐쇄망에서도 되나요?
됩니다. KORDOC_OFFLINE=1이 외부 통신을 모두 막고, OCR도 API 키 없이 로컬 CPU에서 돕니다. 폐쇄망 설치
Q. RAG 색인용으로 쓸 수 있나요?
--format chunks가 제목 경로를 붙인 구조 청크와 독립 표 청크를 냅니다. 표를 HTML 없이 받으려면 --table-format gfm(API는 tableFormat: "gfm")을 씁니다. Python·Java에서는 Python SDK·Java SDK로 부릅니다.
Q. OCR 줄 좌표나 다른 모델이 필요하면?
--ocr --ocr-lines --format json이 줄별 상자·신뢰도를 내고, --ocr-det·--ocr-det-long-side로 검출 모델과 해상도를, --ocr-rec handwriting|auto로 손글씨 인식 모델을 고릅니다. OCR 줄·모델 선택
문서·보안
- 상세 사용법: 전체 CLI·MCP 도구·API·지원 포맷
- Java SDK · Python SDK: 상주 엔진 워커로 Java·Python 시스템에서 파싱 (워커 프로토콜)
- 공문서 생성 가이드 · 아키텍처
- 폐쇄망 설치:
KORDOC_OFFLINE=1, MCP 접근 범위KORDOC_ROOT - 보안 정책 · 라이선스 MIT · 오픈소스 고지
만든 사람
대한민국 지방공무원. 광진구청에서 7년간 HWP 파일과 싸우다가 이걸 만들었습니다. 5개 공공 프로젝트에서 수천 건의 실제 관공서 문서를 파싱하며 검증했습니다.
Source: README.md at commit 241f349
Tools
0Version history
43- v4.24.53LatestNov 7, 2026
- v4.24.52Nov 7, 2026
- v4.24.47Nov 6, 2026
- v4.24.46Nov 5, 2026
- v4.24.45Nov 5, 2026
- v4.24.44Nov 4, 2026
- v4.24.43Nov 4, 2026
- v4.24.42Nov 4, 2026
- v4.24.40Nov 3, 2026
- v4.24.36Nov 1, 2026
- v4.24.35Nov 1, 2026
- v4.24.33Nov 1, 2026
- v4.24.31Oct 31, 2026
- v4.24.29Oct 31, 2026
- v4.24.27Oct 31, 2026
- v4.24.26Oct 30, 2026
- v4.24.25Oct 30, 2026
- v4.24.23Oct 30, 2026
- v4.24.21Oct 29, 2026
- v4.24.10Oct 26, 2026
- v4.24.9Oct 26, 2026
- v4.24.7Oct 26, 2026
- v4.24.6Oct 25, 2026
- v4.24.5Oct 25, 2026
- v4.24.4Oct 25, 2026
- v4.24.3Oct 24, 2026
- v4.24.1Oct 21, 2026
- v4.22.18Oct 21, 2026
- v4.22.17Oct 20, 2026
- v4.22.15Oct 19, 2026
- v4.22.14Oct 19, 2026
- v4.22.13Oct 18, 2026
- v4.22.11Oct 18, 2026
- v4.22.10Oct 18, 2026
- v4.22.8Oct 18, 2026
- v4.22.7Oct 17, 2026
- v4.22.5Oct 16, 2026
- v4.22.4Oct 16, 2026
- v4.22.3Oct 16, 2026
- v4.22.0Oct 16, 2026
- v4.21.33Oct 15, 2026
- v4.21.32Oct 14, 2026
- v4.21.31Oct 13, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts