MCP Catalogs
首页

hwp-mcp

by treesoop·26·综合分 44

MCP服务器让AI能够读取、编辑和创建韩文HWP/HWPX文档,提供34种专用工具。

ai-llmproductivityfile-system
5
Forks
1
活跃 Issue
1 个月前
最近提交
2 天前
收录于

概述

hwp-mcp是一个基于rhwp引擎构建的专业MCP服务器,提供处理韩文Hangul文档(.hwp/.hwpx)的全面功能。它包含34种工具用于读写操作,包括文档解析、模板填充、文本替换、表格操作、图像提取和渲染为SVG/HTML。该服务器作为rhwp Rust+WASM引擎与AI之间的适配器,使Claude、Cursor和ChatGPT等MCP兼容客户端能通过自然语言操作文档。虽然两种格式都支持读取,但目前仅支持.hwpx写入,对.hwp的写入功能已在计划中。

试试问 AI

装完之后,这里有 7 个你可以让 AI 做的事:

:处理韩文政府文档并从表格和文本中提取结构化数据
:使用模板占位符自动化韩文商业文档的表单填写
:通过编程或AI助手创建新的韩文文档
:从HWP文档中提取嵌入的图像以在其他格式中重用
:支持哪些文档格式?
:我可以将此用于除Claude之外的AI助手吗?
:它是否支持图表和书签等复杂文档功能?

什么时候选它

当需要处理韩国 Hangul 文档并希望 AI 代理能够读取、分析或修改它们时,特别是当您已经在使用 Claude/Cursor/ChatGPT 时。

什么时候不要选它

如果您主要需要处理 .hwp 文件(而非 .hwpx),因为写功能有限,或者您需要尚未实现的功能如图表处理或高级样式定义,请不要选择此工具。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • read_hwp

    Reads HWP document content including text and tables

  • fill_hwp_template

    Fills placeholders in a HWP template

  • replace_hwp_text

    Replaces text in a HWP document

  • get_hwp_info

    Retrieves metadata and statistics about a HWP document

  • render_hwp_page

    Renders a specific HWP page as SVG

  • list_hwp_images

    Lists all embedded images in a HWP document

  • set_hwp_paragraph_text

    Replaces the entire text of a specific paragraph

  • insert_hwp_image

    Inserts a new image into a HWP document

  • create_hwpx_document

    Creates a new HWPX document with text content

  • read_hwp_tables

    Extracts tables from a HWP document as markdown

  • set_hwp_cell_text

    Sets text in a specific table cell

  • append_hwp_paragraph

    Adds a new paragraph to the end of a HWP document

可对比工具

rhwpoffice-mcpdocument-processor-mcp

安装

安装

Claude Code
claude mcp add hwp-mcp -- npx -y hwp-mcp
Claude Desktop / Cursor / VS Code (设置JSON)
{
  "mcpServers": {
    "hwp-mcp": {
      "command": "npx",
      "args": ["-y", "hwp-mcp"]
    }
  }
}

需要Node.js 20或更高版本。

FAQ

支持哪些文档格式?
读取支持.hwp和.hwpx两种格式。写入目前仅支持.hwpx,对.hwp的写入支持已在v0.3计划中。
我可以将此用于除Claude之外的AI助手吗?
是的,hwp-mcp兼容任何支持MCP服务器的客户端,包括Cursor、ChatGPT等。
它是否支持图表和书签等复杂文档功能?
这些功能尚未实现。当前覆盖率约为85%,主要功能如.hwp写入支持、图表和样式定义已在v0.3计划中。

hwp-mcp 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。