hwpx-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hwpx-mcp 바탕화면에 보고서.hwpx를 만들고 제목과 표 하나를 넣어 줘"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
hwpx-mcp
한글 문서(.hwpx)를 만들고 고치고, .hwp를 읽는 MCP 서버입니다. Claude 데스크톱이나 VS Code(Claude Code)에 명령 하나를 등록하면 그 PC에서 바로 씁니다. 네트워크나 다른 컴퓨터는 필요 없습니다.
문서 읽기·쓰기: 한글 프로그램 없이 됩니다(Windows·macOS·Linux).
PDF 변환·쪽 그림·.hwp → .hwpx 변환·실시간 보기 창: 그 PC에 깔린 한글을 씁니다(Windows).
할 수 있는 일
분야 | 도구 |
문서 |
|
글과 서식 |
|
쪽 |
|
개체 |
|
참조·양식 |
|
한글 엔진 |
|
도구 22개의 인자와 동작은 docs/api-spec.md에 있습니다. 파일 경로 인자는 절대 경로로 씁니다.
Related MCP server: HWPX MCP Server
설치
uv를 한 번 깝니다. Python은 uv가 알아서 받습니다.
winget install astral-sh.uvmacOS·Linux는
curl -LsSf https://astral.sh/uv/install.sh | sh.쓰는 클라이언트에 등록합니다. 처음 실행할 때 서버가 자동으로 받아 깔립니다(Windows에서는 pywin32 포함).
Claude 데스크톱: 설정 → 개발자 → 설정 편집으로
claude_desktop_config.json을 열어 아래를 넣고 앱을 다시 켭니다.{ "mcpServers": { "hwpx": { "command": "uvx", "args": ["--from", "git+https://github.com/jun-Bridge/hwpx-mcp", "hwpx-mcp"] } } }Claude Code(VS Code 확장·터미널):
claude mcp add hwpx -- uvx --from git+https://github.com/jun-Bridge/hwpx-mcp hwpx-mcpClaude에게 "바탕화면에 보고서.hwpx를 만들고 제목과 표 하나를 넣어 줘"처럼 말하면 됩니다.
한글 엔진
서버는 시작할 때 엔진을 고릅니다.
서버가 도는 PC | 엔진 |
한글이 깔린 Windows | 로컬: 그 PC의 한글을 씁니다 |
그 밖(macOS·Linux·한글 없는 Windows) | 없음: |
한글이 깔려 있는데 엔진이 없다고 나오면 한글 COM 등록이 안 된 것입니다. 관리자 명령 프롬프트에서 Hwp.exe /regserver를 한 번 실행합니다.
한글이 파일을 열 때마다 접근 허용 창을 띄우면 windows/README.md의 보안 모듈 등록을 따릅니다.
설정(선택)
전부 비워 둬도 됩니다. 쓰려면 클라이언트 설정의 env에 넣습니다.
이름 | 뜻 | 기본값 |
| 변경 추적 작성자 |
|
| 새 문서의 한글 버전 프로필 | 들어 있는 기본 프로필 |
| 표 마당(.tbl) 폴더 | 설치된 한글의 폴더 |
"hwpx": {"command": "uvx", "args": ["--from", "git+https://github.com/jun-Bridge/hwpx-mcp", "hwpx-mcp"],
"env": {"HWPX_TRACK_AUTHOR": "홍길동"}}.hwp 읽기
.hwp(HWP 5.0)는 열어 읽기만 합니다. 글·문단·표·글자와 문단 모양·그림·도형·수식·각주·머리말·필드·메모·변경 추적을 읽습니다.
.hwp 안의 OLE 차트는 아직 옮기지 않아 경고로 알립니다. 암호·배포용·DRM 문서는 열지 않습니다(E_UNSUPPORTED).
고쳐서 저장하려면 convert로 .hwpx를 만들어 엽니다(한글 필요).
본 제품은 한글과컴퓨터의 한/글 문서 파일(.hwp) 공개 문서를 참고하여 개발하였습니다.
개발
uv run --extra dev pytest -q설계는 docs/architecture.md, 요구사항은 docs/requirements.md, 서식 매핑 근거는 docs/mapping-sources.md. 정답 파일 생성·게이트 검수 스크립트(한글이 깔린 Windows에서)는 windows/.
라이선스
MIT. LICENSE
Available Tools
22 toolschar_formatB
글자 모양(글꼴·크기·색·진하게·밑줄 …). action: set(range, props); highlight(range, color?); reset(range); copy(from, to)
Inputs: action (required), to, from, color, +3 more.
chartC
차트. action: insert(at, type, data, style?, stacked?, percent?, three_d?, frame?, margin?, caption?); update(target, type?, data?, style?, stacked?, percent?, three_d?, frame?, margin?, caption?); delete(target)
Inputs: action (required), at, data, type, +9 more.
convertC
.hwp → .hwpx 변환(한글 엔진). action: hwp_to_hwpx(path, out_path?, overwrite?)
Inputs: action (required), path, out_path, overwrite.
documentA
문서 열기·새로 만들기·저장·닫기·정보, 여러 편집을 한 트랜잭션으로 묶기(batch). action: new(target_version?); open(path); save(force?); save_as(path, overwrite?); close(discard?); revert(); list(); batch(calls); info(); meta(set?)
Inputs: action (required), set, path, calls, +5 more.
equationB
수식(한글 수식 스크립트 또는 LaTeX). action: insert(at, script?, latex?, display?, number?, size?, color?, font?, baseline?, frame?, margin?, caption?); update(target, script?, latex?, size?, color?, font?, baseline?, frame?, margin?, caption?); delete(target); convert_latex(latex)
Inputs: action (required), at, font, size, +11 more.
fieldC
누름틀·셀 필드(양식 채우기). action: list(); get(name); set(value, name?, target?); set_many(values); insert(at, name, guide?, memo?, editable_in_form?); remove(name, keep_text?)
Inputs: action (required), at, memo, name, +7 more.
imageC
그림. action: insert(at, path?, data?, frame?, margin?, inner_margin?, caption?, crop?, effect?, brightness?, contrast?, alpha?, flip?, rotation?, line?, effects?); update(target, reset_size?, frame?, margin?, inner_margin?, caption?, crop?, effect?, brightness?, contrast?, alpha?, flip?, rotation?, line?, effects?); replace(target, path?, data?); delete(target); extract(target, out_path)
Inputs: action (required), at, crop, data, +17 more.
linkC
하이퍼링크·책갈피·상호 참조. action: hyperlink(range, url?, bookmark?, op?); bookmark(name, at?, range?, op?); list(); cross_ref(at, show, target?, bookmark?, hyperlink?)
Inputs: action (required), at, op, url, +7 more.
memoC
메모. action: add(range, text, author?); update(target, text); delete(target); list()
Inputs: action (required), text, range, author, +2 more.
noteB
각주·미주. action: insert(at, kind, text); update(target, text); delete(target); settings(section, kind, format?, start?, restart?, placement?, beneath_text?, separator?, separator_length?, spacing?, prefix?, suffix?, superscript?)
Inputs: action (required), at, kind, text, +14 more.
numberingC
문단 번호·글머리표·개요 번호. action: define(kind, levels?, bullet?); apply(range, kind, def?, level?); level(range, set?, delta?); restart(at, start); remove(range); update(def, levels?, bullet?)
Inputs: action (required), at, def, set, +8 more.
pageC
쪽: 용지·여백·다단·쪽 번호·머리말/꼬리말·나누기·테두리·바탕쪽. action: setup(section, paper?, orientation?, margin?, gutter_type?); columns(at, count, type?, direction?, gap?, widths?, separator?); page_number(section, position, format?, side_char?, start?); header(section, pages?, op?); footer(section, pages?, op?); break(at, kind); border(section, pages?, border?, offset?, fill?, base?, include_header?, include_footer?); hide(at, items); section(section, start_page?, start_figure?, start_table?, start_equation?, hide_first?, text_direction?, line_grid?, char_grid?, line_numbers?, starts_on?, space_columns?, tab_stop?); master(section, pages?, op?)
Inputs: action (required), at, op, gap, +36 more.
para_formatA
문단 모양(정렬·여백·줄 간격·탭·테두리 …). action: set(range, props); reset(range); copy(from, to)
Inputs: action (required), to, from, props, +2 more.
readB
문서 읽기: 개요·본문·노드 속성·서식·찾기. action: outline(range?, depth?, offset?, limit?); text(range?, offset?, limit?); node(target); format(range); find(query, regex?, case?, whole_word?, range?, include_deleted?, limit?)
Inputs: action (required), case, depth, limit, +8 more.
renderC
한글 엔진: PDF·쪽 그림·검수·배치 질의·보기 창. action: pdf(out_path, pages?); page_image(page, dpi?); check(timeout?); layout(targets?); update_fields(); view(on); normalize(out_path)
Inputs: action (required), on, dpi, page, +5 more.
shapeB
도형·글상자·묶기. action: insert(at, kind, points?, text?, frame?, margin?, caption?, line?, fill?, shadow?, flip?, rotation?, round?, arc_type?, text_box?, fill_image?, fill_image_mode?); update(target, points?, frame?, margin?, caption?, line?, fill?, shadow?, flip?, rotation?, round?, arc_type?, text_box?, fill_image?, fill_image_mode?); delete(target); group(targets); ungroup(target)
Inputs: action (required), at, fill, flip, +17 more.
styleB
스타일 정의·적용. action: list(); define(name, kind, eng_name?, base?, next?, char?, para?, numbering?); update(name, eng_name?, kind?, next?, char?, para?); apply(range, name); delete(name, replace_with?)
Inputs: action (required), base, char, kind, +8 more.
tableC
표: 만들기·셀·병합/나누기·행/열·서식·계산식·정렬. action: create(at, rows, cols, data?, col_widths?, row_heights?, own_paragraph?, frame?, margin?, caption?, header_rows?, style?); cell(cells, text?, data?); insert_rows(target, at_row, count?, where?); insert_cols(target, at_col, count?, where?); delete_rows(target, indices); delete_cols(target, indices); delete(target); merge(cells?, target?); split(target, rows?, cols?, at_row?); size(target?, cells?, col_widths?, row_heights?, width?, equalize?); cell_format(cells, border?, fill?, valign?, padding?, text_direction?, single_line?, protect?, editable_in_form?, name?, header?, fill_image?, fill_image_mode?); update(target, frame?, margin?, caption?, page_break?, repeat_header?, default_padding?, lock_size?); formula(target, expr, format?); recalc(target?); sort(target, keys, rows?, header_rows?); to_text(target, separator?); from_text(range, separator?, header_rows?); preset(target, name, apply_to?)
Inputs: action (required), at, cols, data, +42 more.
textB
글 넣기·지우기·바꾸기·모두 바꾸기·복사·이동·자동 입력 코드. action: insert(at, text, style?, char?); delete(range); replace(range, text); replace_all(find, replace, regex?, case?, range?); copy(range, at, src?); move(range, at); insert_code(at, kind, format?, side_char?)
Inputs: action (required), at, src, case, +11 more.
tocC
차례. action: insert(at, source?, styles?, levels?, include?, page_numbers?, leader?, hyperlink?); rebuild(target); delete(target)
Inputs: action (required), at, handle, leader, +7 more.
trackB
변경 추적. action: enable(on, author?); list(range?); accept(ids?, all?); reject(ids?, all?)
Inputs: action (required), on, all, ids, +3 more.
xmlB
범용 XML 통로(의미 도구가 없는 속성). action: parts(); get(part, xpath, limit?); patch(part, xpath, op, xml?, name?, value?)
Inputs: action (required), op, xml, name, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Each tool maps to a distinct resource or subsystem (table, image, shape, style, field, memo, etc.), and read vs text split extraction from mutation clearly. The catch-all xml tool overlaps conceptually with every semantic tool, creating some boundary ambiguity, but overall the roles are distinguishable.
Every tool name is a consistent single-word lowercase noun (page, text, table, image, style, field, memo), with actions expressed uniformly as parameters. The pattern is entirely predictable throughout.
22 tools is on the heavier side, but the domain (a full word-processor document model) genuinely spans text, formatting, tables, embedded objects, fields, and rendering. Each tool earns its place as a subsystem, though a few could conceivably be consolidated.
Coverage is comprehensive: document lifecycle, text editing, char/para/style formatting, tables, equations, images, shapes, charts, notes, links, TOC, fields, memos, page setup, track changes, render/convert. No obvious lifecycle gaps (create/read/update/delete exist across resources).
Related MCP Connectors
Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
Turn Markdown and AI answers into Word (.docx) with native equations, or into PDF.
Run saved PDF/office file flows, convert HWP/HWPX to Markdown or DOCX, and call data/text APIs.
Convert PDF pages into editable Word-ready text from your AI chat, all offline.
Related MCP Servers
- AlicenseAqualityNot gradedmaintenanceEnables reading, editing, and creating Korean HWPX documents through python-hwpx library. Supports document creation, paragraph/table/image insertion, metadata management, and workspace-restricted file operations with automatic backup functionality.8MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI models to read, create, and edit Korean HWPX documents with advanced support for tables, paragraphs, styles, and images. It features enhanced stability through atomic file writing and smart layout recalculation to prevent document corruption.36MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control Hancom's HWP/HWPX documents (Korean word processor) via COM interface on Windows, supporting creation, editing, formatting, and export.MIT
- AlicenseCqualityDmaintenanceEnables LLMs to read and modify HWP (한글) documents via the HWP COM API, with tools for text, tables, formatting, and file conversion.1404MIT