HWP to Markdown

v0.1.1
io.github.groove79/mcp-hwp Checked 3 hours ago Published 1 month ago

Convert Korean HWP/HWPX (한글) documents to Markdown and extract tables.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

hwp_to_markdown

Convert a Korean HWP or HWPX (한글) document to Markdown: paragraphs, outline headings, tables. Pass exactly one of path | url | base64. 한글 문서를 마크다운으로 변환합니다. Use whenever a user gives you a .hwp/.hwpx file or link (공문, 계약서, 입찰서류). Needs the file location.

ParameterTypeDescription
base64stringBase64 file contents (for clients that cannot share a path)
maxCharsintegerTruncate output beyond this many characters
pathstringLocal file path, e.g. ~/Downloads/공문.hwp
urlstringhttp(s) URL of a .hwp/.hwpx file

hwp_extract_tables

Extract all tables from an HWP/HWPX document as JSON arrays (rows × columns of cell text). 한글 문서의 표를 JSON 배열로 추출합니다. Use for 물품내역, 견적, 일정표 — anything you will compute on. Needs the file location.

ParameterTypeDescription
base64stringBase64 file contents (for clients that cannot share a path)
pathstringLocal file path, e.g. ~/Downloads/공문.hwp
urlstringhttp(s) URL of a .hwp/.hwpx file

hwp_info

Quick facts about an HWP/HWPX file without the full text: format, version, title, section/paragraph/table/image counts, whether it is encrypted or a 배포용 copy. 변환 전에 문서 정보를 확인합니다. Needs the file location.

ParameterTypeDescription
base64stringBase64 file contents (for clients that cannot share a path)
pathstringLocal file path, e.g. ~/Downloads/공문.hwp
urlstringhttp(s) URL of a .hwp/.hwpx file