hwpx-mcp-server
by airmang·★ 57·Score 48
MCP server for AI agents to read, edit, inspect, and validate local HWPX documents without Hangul word processor.
Overview
The hwpx-mcp-server provides comprehensive tools for working with HWPX (Hangul Word Processor XML) documents through the Model Context Protocol. It supports reading document metadata, text extraction, search and replace operations, paragraph and table editing, style management, and document conversion. The server is cross-platform and works with various MCP clients including Claude Desktop, VS Code, and Gemini CLI. It maintains a clear separation between basic editing operations and advanced validation tools, with safety features like automatic backup before edits and document copying for safe workflows.
Try asking AI
After installing, here are 6 things you can ask your AI assistant:
When to choose this
Choose this server when working with Korean HWPX documents and need AI agents to read, edit, or validate them without installing Hangul word processor.
When NOT to choose this
Don't choose if you need to work with binary .hwp files, require collaborative editing features, or need authentication/permission controls for document access.
Tools this server exposes
12 tools extracted from the READMEget_document_info문서 메타데이터, 섹션, 문단, 표 개수 조회
get_document_text문서 전체 텍스트 추출
find_text키워드 검색과 주변 문맥 반환
search_and_replace단일 텍스트 치환
copy_document원본을 건드리기 전에 작업용 사본 생성
add_paragraph문단 추가
set_table_cell_text셀 텍스트 수정
get_table_map표 위치, 크기, 헤더 문맥을 빠르게 탐색
hwpx_to_markdownHWPX 문서를 Markdown으로 변환
get_document_outline제목과 개요 구조 추출
add_table표 생성
format_text텍스트 범위 서식 적용
Comparable tools
Installation
Installation
Using uv:
uvx hwpx-mcp-serverOr with pip:
pip install hwpx-mcp-server
hwpx-mcp-serverClaude Desktop Setup
Add to claude_desktop_config.json:
{
"mcpServers": {
"hwpx": {
"command": "uvx",
"args": ["hwpx-mcp-server"]
}
}
}Environment Variables
HWPX_MCP_MAX_CHARS: Maximum text length (default: 10000)HWPX_MCP_AUTOBACKUP: Create backup before edit (default: 1)HWPX_MCP_ADVANCED: Enable advanced tools (default: 0)
FAQ
- Can this server work with .hwp files?
- No, this server only supports Open XML-based .hwpx format, not the binary .hwp format.
- Is Hangul word processor required?
- No, the server processes documents using pure Python without needing Hangul word processor installed.
- How do I safely edit documents?
- First use copy_document to create a working copy, then make edits on the copy rather than the original.
Compare hwpx-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.