kordoc — Claude Code MCP server: what it does, how to install
Parses HWP, HWPX, PDF, spreadsheet files, and scans into Markdown locally. Gives coding assistants tools to inspect tables, diff revisions, and fill forms.
claude mcp add kordoc -- npx -y kordocWhat kordoc does
kordoc connects 18 tools to the coding agent for handling Korean documents. It reads HWP 3.x, HWP 5.x, HWPX, HWPML, alongside PDF, DOCX, and XLSX files. The server parses merged table cells and extracts text from image scans using local OCR. Markdown notes can also be rendered back into HWPX files using preset templates.
Running this server requires Node.js 20 or newer. It works in isolated networks without remote servers. Setting KORDOC_OFFLINE=1 cuts all external traffic, running text recognition directly on the CPU without API keys. Installing dependencies with --omit=optional strips PDF and OCR features.
What it helps with
- convert HWP and HWPX files into Markdown while preserving table structures
- extract text from scans and PDF pages without third-party API keys
- diff document revisions across structured blocks and table cells
- build styled HWPX files from Markdown notes using template presets
- audit arithmetic totals in budget tables
Example prompts for the agent
- Read
report.hwpxand format the second table as Markdown. - Compare
draft_v1.hwpagainstdraft_v2.hwpxto highlight cell edits. - Generate
output.hwpxfromnotes.mdusing the standard report template.
How to install kordoc
Platform CLI
claude mcp add kordoc -- npx -y kordocPlatform CLI
codex mcp add kordoc -- npx -y kordocConfig file
{
"mcpServers": {
"kordoc": {
"command": "npx",
"args": [
"-y",
"kordoc"
]
}
}
}Config file
{
"servers": {
"kordoc": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"kordoc"
]
}
}
}Platform CLI
gemini mcp add kordoc npx -y kordocStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about kordoc
How do I install kordoc in Claude Code?
Run claude mcp add kordoc -- npx -y kordoc in your terminal and restart the agent.
What does kordoc do?
It converts HWP, HWPX, PDF, office documents, and images into Markdown or JSON blocks, while also rendering and validating HWPX forms.
Does kordoc work without an internet connection?
Yes, kordoc supports offline environments. Set KORDOC_OFFLINE=1 to disable outside network traffic; OCR tasks execute on the local CPU without API keys.