Sokgi — read and write Korean business documents (HWP/HWPX/DOCX/XLSX/PPTX) from your AI agent
Project description
속기 (Sokgi) — MCP server
Korean business documents your AI agent can actually read.
An LLM will happily write a parser for .hwpx — and on real Korean government documents it
gets 27.9% of tables wrong, silently. One unhandled merged cell shifts a whole row, so
"담당 부서" comes back as "담당자". Nothing errors.
Sokgi restores tables properly — on your machine — and hands your agent the fields it asked for.
Tools
| Tool | What it does |
|---|---|
read_document(paths) |
Parse locally → text + tables as 0-based grids, merged cells expanded |
extract_documents(paths, fields) |
Pull named fields out of a batch of documents |
fill_document(template, values, out_path) |
Fill a HWPX template, save a new file |
Formats: HWPX / DOCX / XLSX / PPTX (text + tables) and HWP 5.0 (text). No Hancom Office required — reading uses a pure-Python OLE parser, writing produces HWPX (ZIP + XML). PDF is not supported; asking for one returns an explicit error, not an empty document.
Install
claude mcp add sokgi --env SOKGI_API_KEY=<key> -- uvx sokgi-mcp
Get a free key at https://sokgi.14dimension.com/console.
Why it abstains
A field that is not in the document comes back null and listed in missing — never invented.
You delegate precisely because you cannot re-check every file, so a confident guess is worse
than useless. Likewise fill_document refuses to save a document with unreplaced placeholders
or a table too narrow for its text.
Where your documents go. Documents are uploaded to the Sokgi API, processed there, and
deleted right after — they are not stored. Results come back to this machine, and
fill_document writes the finished file here.
If your documents may not leave your network at all, that is what the on-premise install is
for: it runs the whole pipeline inside your own network (SOKGI_LOCAL_PARSE=1). Ask us.
Part of the 명철 (MyungChul) series · https://ai.14dimension.com · admin@14dimension.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sokgi_mcp-0.2.1-py3-none-any.whl.
File metadata
- Download URL: sokgi_mcp-0.2.1-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff40d75c8dcfe7bef4e1fa56d851bfe1db9940c78375c8f0d1f044216d06b6f3
|
|
| MD5 |
43b0040d31c3c185062a0ce69465a62f
|
|
| BLAKE2b-256 |
16e0431a0a61110b9a529df9a2031e97f52e41a951cd88f8da07837c606bb640
|