Skip to main content

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 — merged cells and all — 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sokgi_mcp-0.2.2-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file sokgi_mcp-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: sokgi_mcp-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.9

File hashes

Hashes for sokgi_mcp-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5c431d41f0a47a9dd200f6658dfb572f00031c52ca3d4ca191b6b47ae1f81c94
MD5 ba211bef10c0ad5962afe4082bf9ee40
BLAKE2b-256 e4d9c5995603a1bef9355137555074e703640c503da05e66ae47d2075dc1f0a1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page