Skip to content
MCP server

kordoc

Parse Korean HWP, HWPX, PDF and Office files to Markdown, then fill, diff and render

Runs locally

kordoc is an MCP server for files and documents. It runs locally on your machine and is started by your AI client.

Platforms
CLI, macOS, Windows
Runs
Locally
Version
4.25.33
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add kordoc -- npx -y kordoc

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "kordoc": {
      "command": "npx",
      "args": [
        "-y",
        "kordoc"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "kordoc": {
      "command": "npx",
      "args": [
        "-y",
        "kordoc"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "kordoc": {
      "command": "npx",
      "args": [
        "-y",
        "kordoc"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "kordoc": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "kordoc"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add kordoc -- npx -y kordoc

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.kordoc]
command = "npx"
args = ["-y", "kordoc"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "kordoc": {
      "command": "npx",
      "args": [
        "-y",
        "kordoc"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "kordoc": {
          "command": "npx",
          "args": [
            "-y",
            "kordoc"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user kordoc npx -- -y kordoc

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "kordoc": {
          "command": "npx",
          "args": [
            "-y",
            "kordoc"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "kordoc": {
          "command": "npx",
          "args": [
            "-y",
            "kordoc"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "kordoc": {
          "command": "npx",
          "args": [
            "-y",
            "kordoc"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "kordoc": {
          "command": "npx",
          "args": [
            "-y",
            "kordoc"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "kordoc": {
          "command": "npx",
          "args": [
            "-y",
            "kordoc"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "kordoc": {
          "command": "npx",
          "args": [
            "-y",
            "kordoc"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "kordoc": {
          "command": "npx",
          "args": [
            "-y",
            "kordoc"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About kordoc

kordoc was written, per its README, by a civil servant tired of Korea's document hell. It reads HWP 3.x and 5.x, HWPX, HWPML, PDF, XLS/XLSX, DOCX, PPTX and images, and returns Markdown or structured data. It works as a library, CLI and MCP server with 22 tools covering parsing, comparison, generation, review and rendering.

Beyond reading, it can convert HWP to HWPX, write Markdown back to HWPX or HWP with official-document presets, fill form fields and apply stamps, mask personal data, and run lint gates on notation. OCR runs locally on CPU and KORDOC_OFFLINE=1 blocks all external traffic, which suits closed networks. The README publishes benchmark tables, for example 10,342 of 10,342 HWPX tables matching structure and a 0.965 overall score on the opendataloader-bench PDF set, measured by the project itself.

npx -y kordoc setup registers it in Claude Desktop, Claude Code, Cursor and Codex; it needs Node.js 20 or newer.

What it does

Korean format support
HWP, HWPX, HWPML plus PDF, Office files and images.
Local OCR
Scanned pages are read without an API key.
Form filling
Fills fields and applies stamps in HWPX documents.
Compare and lint
Block- and cell-level diffs and public-language checks.
Offline mode
`KORDOC_OFFLINE=1` stops all outside communication.
RAG chunking
Outputs structured chunks with heading paths.

Good for

  • Convert HWP files to Markdown without Hanword installed
  • Fill government forms from JSON values
  • Diff two versions of an official report
  • Prepare Korean documents for a RAG index
  • Mask personal data in documents

Pricing

Pricing unknown

Free to install from npm

kordoc FAQ

Do I need Hancom Office?

No; files are read directly.

Does kordoc work offline?

Yes, with `KORDOC_OFFLINE=1`; OCR runs on the local CPU.

How do I register kordoc?

Run `npx -y kordoc setup`.

What Node version?

Node.js 20 or newer on macOS, Linux or Windows.

How do I add kordoc to Claude Code?

Run this command in your terminal: claude mcp add kordoc -- npx -y kordoc

What are the best alternatives to kordoc?

The closest alternatives to kordoc are Scholar Sidekick, UltraTransfer, Stashpad, loremfile and Hilvana.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers