MCP Catalogs
Home

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.

file-systemproductivityai-llm
17
Forks
3
Open issues
this month
Last commit
2d ago
Indexed

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:

you:Processing Korean government or school documents in automated workflows
you:Converting HWPX documents to markdown or HTML for web publishing
you:Batch text replacement across multiple HWPX files
you:Can this server work with .hwp files?
you:Is Hangul word processor required?
you:How do I safely edit documents?

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 README
  • get_document_info

    문서 메타데이터, 섹션, 문단, 표 개수 조회

  • get_document_text

    문서 전체 텍스트 추출

  • find_text

    키워드 검색과 주변 문맥 반환

  • search_and_replace

    단일 텍스트 치환

  • copy_document

    원본을 건드리기 전에 작업용 사본 생성

  • add_paragraph

    문단 추가

  • set_table_cell_text

    셀 텍스트 수정

  • get_table_map

    표 위치, 크기, 헤더 문맥을 빠르게 탐색

  • hwpx_to_markdown

    HWPX 문서를 Markdown으로 변환

  • get_document_outline

    제목과 개요 구조 추출

  • add_table

    표 생성

  • format_text

    텍스트 범위 서식 적용

Comparable tools

file-systemdocument-conversion-mcppython-hwpx

Installation

Installation

Using uv:

uvx hwpx-mcp-server

Or with pip:

pip install hwpx-mcp-server
hwpx-mcp-server

Claude 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.