1. Conduid
  2. Developer Tools
  3. Hm Editor
MCP server · Developer Tools

Hm Editor

一款轻量级、可扩展的、跨平台的、专为医疗信息化设计的电子病历编辑器内核,为EMR(电子病历系统)提供专业的结构化病历编辑与AI接入解决方案。

70Good

Scored 20 hours ago · breakdown

About Hm Editor

Hm Editor is an MCP server published by huimeicloud in the Developer Tools category: 一款轻量级、可扩展的、跨平台的、专为医疗信息化设计的电子病历编辑器内核,为EMR(电子病历系统)提供专业的结构化病历编辑与AI接入解决方案。. Conduid read 11 tools from its source: destroyEditor, getDocContent, getDocData, getDocHtml, getDocText, insertDataAtCursor and 5 more. No package is published for it, so it installs from a source checkout.

The repository has 126 stars and 52 forks, is licensed LGPL-2.1, and its last commit was on 26 Nov 2026. The latest release is v2.2.6 (22 May 2026): V2.2.6 新功能和优化 feat: 获取光标选中内容getSelectedContent、获取光标所在数据元getSelectedElement(AIED-294) feat: 新增设置元素样式接口setElementStyle(AIED-332) feat: 新增 AI 病历生成接口generateDocumentDirect f… It follows v2.2.5 (8 Mar 2026), and the 5 most recent releases go back to v2.0.0 (29 Jul 2025). It passes 3 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include editor, contenteditable, cross-platform, devtools, ckeditor4 and emr.

Install

From source
git clone https://github.com/huimeicloud/hm_editor

Tools (11)

destroyEditor
ParameterTypeDescription
idstring编辑器实例ID
sessionId *string编辑器MCP会话ID
getDocContent
ParameterTypeDescription
codestring文档唯一编号(可选)
idstring编辑器实例ID
sessionId *string编辑器MCP会话ID
getDocData
ParameterTypeDescription
codestring【可选】文档唯一编号,便于多文档场景下区分。
id *string【必填】编辑器实例ID,用于唯一标识目标编辑器。
keyListarray【可选】需要获取的数据元编码列表,仅返回指定数据元。
sessionId *string编辑器MCP会话ID
getDocHtml
ParameterTypeDescription
codestring【可选】文档唯一编号,便于多文档场景下区分。
id *string【必填】编辑器实例ID,用于唯一标识目标编辑器。
sessionId *string编辑器MCP会话ID
getDocText
ParameterTypeDescription
codestring【可选】文档唯一编号,便于多文档场景下区分。
idstring【必填】编辑器实例ID,用于唯一标识目标编辑器。
sessionId *string编辑器MCP会话ID
insertDataAtCursor
ParameterTypeDescription
content *string要插入的内容,支持纯文本和HTML格式。HTML标签会被正确解析和渲染。例如:普通文本、<p>段落</p>、<strong>粗体</strong>等。
sessionId *string编辑器MCP会话ID
insertImageAtCursor
ParameterTypeDescription
heightnumber【可选】图片显示高度,单位像素。如未指定则使用原始高度。
htmlstrstringhtml字符串
imageUrlstring图片地址,支持HTTP/HTTPS URL或base64字符串。
sessionId *string编辑器MCP会话ID
widthnumber【可选】图片显示宽度,单位像素。如未指定则使用原始宽度。
setDocData
ParameterTypeDescription
codestring文档唯一编号
dataarray数据元数组
idstring编辑器实例ID
sessionId *string编辑器MCP会话ID
setDocReadOnly
ParameterTypeDescription
codestring【可选】文档唯一编号,便于多文档场景下区分。
flag *boolean【必填】是否只读,true 表示只读,false 表示可编辑。
id *string【必填】编辑器实例ID,用于唯一标识目标编辑器。
sessionId *string编辑器MCP会话ID
setDocReviseMode
ParameterTypeDescription
codestring【可选】文档唯一编号,便于多文档场景下区分。
flag *boolean【必填】是否启用修订模式,true表示启用修订跟踪,false表示关闭修订跟踪。
idstring【可选】编辑器实例ID,用于唯一标识目标编辑器。
sessionId *string编辑器MCP会话ID
setDocWatermark
ParameterTypeDescription
id *string【必填】编辑器实例ID,用于唯一标识目标编辑器。
sessionId *string编辑器MCP会话ID
watermark *string【必填】水印内容,支持文本。
watermarkAlphanumber【可选】水印透明度,默认0.5。
watermarkAnglenumber【可选】水印倾斜度数,默认15度。
watermarkColumnnumber【可选】水印列数,决定水印横向分布数量。
watermarkFontColorstring【可选】水印字体颜色,默认黑色。
watermarkFontSizenumber【可选】水印字体大小,默认12px。
watermarkHeightnumber【可选】水印高度,默认50px。

Security checks

  • ✓README presentThe repository's README runs to about 206 words.
  • ✓License declaredThe repository declares the LGPL-2.1 license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

1 check has not been run yet.

Releases

v2.2.6v2.2.6 · 22 May 2026V2.2.6 新功能和优化 feat: 获取光标选中内容getSelectedContent、获取光标所在数据元getSelectedElement(AIED-294) feat: 新增设置元素样式接口setElementStyle(AIED-332) feat: 新增 AI 病历生成接口generateDocumentDirect feat: 操作栏排序问题 (AIED-355) Bug 修复 统一优化修复了打印样式异常、AI…
v2.2.5v2.2.5 · 8 Mar 2026新功能和优化 feat: 添加修订悬停提示框,显示修改人及修改内容; feat: 优化定位元素功能,支持通过 trace_id 定位节点,更新相关文档和样式; feat: 为数据元增加备注选项 (AIED-244) feat: 单选多选类输入项支持仅显示名称不显示编码 (AIED-242) feat: 侧边栏数据元超出省略,悬浮显示完整文本 (AIED-239) feat: 支持删除聚合病历 (AIED-231) feat: 增加接口展示AI草稿病历 (AIED-236)…
v2.1.1v2.1.1 · 11 Nov 2025V2.1.1 功能新增 1. feat:​ 实现【插入表格】"打印时每页重复标题行"功能 2. feat:​ 增加表格数据渲染逻辑,支持横向按列渲染模式 3. feat:​ 模板制作自定义数据元时允许输入任意数据元、支持自动生成编码 4. feat:​ 为文档元素增加单击、双击及时间控件的change事件支持 5. feat:​ 模板制作默认打开A4纸,左侧数据元列表不遮挡编辑器工具栏 6. feat:​ 关闭修订时支持传入"是否保留修改"参数 功能优化 7.…
v2.0.1v2.0.1 · 31 Jul 2025
v2.0.0v2.0.0 · 29 Jul 2025AI+编辑器,20250728发布 1. 增加AI认证接口,通过配置AI服务地址和Token连接惠每AI服务。 2. 在编辑器中集成惠每指尖大模型,实现AI辅助生成病历、病历续写、AI智能体等功能。 3. 在编辑器中实现无弹窗的病历质控功能。 4. 将编辑器接口封装为标准streamable_http类型的MCP服务。 5. 在指尖大模型对话中集成编辑器MCP和患者服务MCP等功能。 6. 病历编辑模式下支持插入表格及合并单元格等操作。 7.…

README

The repository's README runs to about 206 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Hm Editor

How do I install Hm Editor?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Hm Editor safe to use with an AI agent?

Its trust score is 70 out of 100 (good). It passes 3 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Hm Editor still maintained?

Yes — the last commit was 6 days ago. The repository has 126 stars and 52 forks.

What tools does Hm Editor provide?

Conduid read 11 tools from the source: destroyEditor, getDocContent, getDocData, getDocHtml, getDocText, insertDataAtCursor, insertImageAtCursor, setDocData and 3 more. 11 of them publish their parameters, listed under Tools above.

What license is Hm Editor released under?

The repository declares the LGPL-2.1 license. That applies to the latest release, v2.2.6, as well.