1. Conduid
  2. Files
  3. Dsh Origin Plugin
MCP server · Files

Dsh Origin Plugin

Drive OriginLab Origin scientific plotting from AI chat via MCP. 74 tools: modal-dialog watchdog, LabTalk safety gate, FigureSpec declarative YAML, fit params, matrix tools, matplotlib bridge, PPT assembly, editable OPJU delivery. Windows + Origin 2021+.

65Good

Scored 5 hours ago · breakdown

About Dsh Origin Plugin

Dsh Origin Plugin is an MCP server published by Fantasality in the Files category: drive OriginLab Origin scientific plotting from AI chat via MCP. 74 tools: modal-dialog watchdog, LabTalk safety gate, FigureSpec declarative YAML, fit params, matrix tools, matplotlib bridge, PPT assembly, editable OPJU delivery. Windows + Origin 2021+. Conduid read 74 tools from its source: origin_add_line, origin_add_text, origin_annotate, origin_anova, origin_apply_style, origin_capabilities and 68 more. It is published to npm as dsh-origin-plugin and starts with npx.

The repository has 52 stars and 3 forks, is licensed MIT, and its last commit was on 17 Oct 2026. The latest release is v2.7.3 (18 Sep 2026): P0 热修:装了插件后 DSH ≥ 0.1.5 完全无法启动(TypeError: Invalid effect),用户只能删插件才能重启。 根因:index.js 的 apply() 返回普通对象 { ...plugin },cordis 把它当 effect 处理而普通对象不合法。 修复:apply() 不再返回值(return v… It follows v2.7.2 (18 Sep 2026), and the 5 most recent releases go back to v2.6.2 (16 Sep 2026). It passes 3 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned and No dynamic code execution. Its topics include agent-tools, com-automation, data-visualization, deepseek-harness, dsh and dsh-plugin.

Install

Claude Code
claude mcp add dsh-origin-plugin -- npx -y dsh-origin-plugin
npx
npx -y dsh-origin-plugin
From source
git clone https://github.com/Fantasality/dsh-origin-plugin

Tools (74)

origin_add_line画辅助线:vertical/horizontal(给 at)或 slope(给 slope+intercept)。
origin_add_text在图上添加文本标注(注释峰位、条件说明等)。
origin_annotate批量文本标注:一次调用加 N 个文本,统一样式,返回逐项落位与对象名。
origin_anova单因素方差分析(ANOVA):每组一列,返回 F 与 p 值。
origin_apply_style对已有图应用排版/调色板/多序列区分。
origin_capabilities从本机 Origin 安装的 oPlotIDs.h 提取真实图型能力表(非文档抄录)。
origin_capability_diff能力表 vs 引擎硬编码图型表的差异(暴露文档/实现脱节)。
origin_catalog动态工具目录:按分类列出全部工具(文档即实现,永不与代码脱节)。
origin_column_formulaOrigin 原生列公式(数据准确化:ln 等计算走 Origin 表格引擎而非 numpy)。
origin_cookbook场景→工具组合速查(离线秒回,不连 Origin)。
origin_correlate列间 Pearson 相关矩阵。
origin_diagnose系统级自检:Origin 安装路径/COM 注册/残留进程/导出目录权限/环境策略。
origin_edit_axis微调某条轴:标题 / 起止范围 / 刻度类型 / 网格 / 刻度长度 / 标签字体字号加粗。
origin_edit_legend微调图例:显示/隐藏、字号、边框、位置(四角锚点或显式坐标)、自定义文本。
origin_edit_page微调页面与图层几何:纸张尺寸(cm)、页面背景、图层位置与大小(%页)。
origin_edit_plot逐条微调曲线(新手最常用:换颜色 / 加粗 / 改线型 / 换符号 / 半透明 / 隐藏)。
origin_error_codes列出全部稳定错误码与恢复建议(供模型安全分支/重试)。
origin_execute_plan按 plan_id 执行绘图计划:写数 -> 画图 -> 导出。
origin_export把图导出为 PNG/SVG/PDF/TIF/EMF 文件。
origin_export_delivery一键交付:建规整目录收纳图片 + 可编辑 OPJU 并逐文件核验。
origin_export_pptx图导出高分辨率 PNG 并组装 PowerPoint 页(论文组图交付)。
origin_fftFFT 频谱分析:返回主频列表,可选画频谱图并导出。
origin_figure端到端一张图:一次调用完成 导入/写数 → 画图 →(可选)验证 → 导出 →(可选)交付。
origin_filter_data删除/裁剪数据点(写回原工作表)。
origin_find_peaks找局部极大峰(numpy)。返回 peaks=[{x,y,label}],可直接转 origin_annotate
origin_fit对工作表数据做曲线拟合,可选把拟合曲线加到图上。
origin_help【优先调用】快速使用速查:工具清单、数据格式、典型调用模板。
origin_histogram直方图统计;plot=True 时画柱状图并导出。color 可选 "#RRGGBB"(默认调色板首色)。
origin_import_matplotlib导入 matplotlib Figure pickle 为 Origin 图(提取每条 Line2D 的数据、
origin_inspect_graph巡检图页现状(只读):图层几何/每条曲线颜色与符号/轴范围与字号/图例/页面尺寸。
origin_integrate数值积分(梯形法),计算曲线下面积 AUC。
origin_labtalk执行任意 LabTalk 并可选读回(逃生舱:SKILL 未覆盖的功能由此直达)。
origin_layout_info布局几何一次返回:数据↔像素映射(反向轴自动翻转)、轴范围、页尺寸(cm)、
origin_list_graphs列出当前 Origin 项目里的图页短名(供 export/view/apply_style 引用)。
origin_list_pages列出项目内全部页面(图页/工作簿/矩阵),含短名、长名与当前活动窗口。
origin_list_sheets列出当前 Origin 项目的工作簿/工作表页短名。
origin_load_file导入本地表格文件到 Origin 工作表(CSV/TXT/TSV/DAT/XLSX/XLSM/XLS)。
origin_manage_data工作表数据管理:sort 按某列排序整表 / transpose 行列转置(写新表,原表不动)。
origin_manage_pages窗口管理:关闭 / 激活 / 重命名 / 隐藏 / 显示 / 复制页面(含工作簿与图页)。
origin_manage_plots数据图管理:remove 删除指定曲线 / change_data 更换数据源。
origin_mask_points屏蔽指定数据点(置 NaN,图上自动隐藏;backup=True 先备份原列,可逆)。
origin_matrix_plot用已有矩阵绘图:surface/scatter/contour/contour_fill/3d_wire。
origin_matrix_read读取矩阵页数据(返回 2D 列表 + shape;矩阵引用如 [M001]M001)。
origin_matrix_write把二维数值网格写入矩阵页(surface/contour 等大数据可持久化复用)。
origin_pages_gc页堆积治理:项目页超阈值时报告(dry_run=true)或清理(false)。
origin_pca主成分分析(把每列当作变量、每行为样本)。
origin_peak_find峰值检测:局部极大值 + 最小峰高 + 最小间距去重。
origin_peak_fit多峰拟合(核磁/XPS/拉曼/红外分峰解析,numpy LM 自包含实现)。
origin_plot基于工作表数据画图。
origin_plot3d画 3D 图并导出文件。
origin_plot_contour等高线/3D 线框图并导出。
origin_plot_file一键完成:写数据 -> 画图 -> 导出文件(最常用)。
origin_plot_plan生成绘图计划(不连 Origin,离线秒回)。数据含义不确定时先走这一步。
origin_plot_template领域模板绘图(科研高频图型,全部由真机验证过的原语组合)。
origin_read_worksheet读取工作表列数据。
origin_reconnect显式重连 Origin COM 自动化服务器(release 后恢复;已连接时幂等)。
origin_release释放自动化连接但保持 Origin 打开(把 Origin 交给用户手动操作)。
origin_save_project保存当前 Origin 项目为可编辑 OPJU(正式交付物,可在 Origin 中继续编辑)。
origin_simulate物理模型谱图模拟(多峰+噪声,纯计算)。返回 columns 可直接喂 origin_figure。
origin_spec_export把已有绘图计划导出为 FigureSpec YAML 文件(可 diff/可重放/可版本化)。
origin_spec_import读取 FigureSpec YAML 重建绘图计划(离线秒回)。
origin_stats描述性统计:count/mean/std/min/p25/median/p75/max/skew。
origin_status检查 Origin 连接状态 + 版本能力握手(先调用它可确认 Origin 是否可用)。
origin_survivalKaplan-Meier 生存分析。
origin_template_apply把模板样式套到指定图(逐项返回 applied/readback_only/unverified)。
origin_template_list列出可用模板/样式快照(离线秒回,不连 Origin)。
origin_template_save把成品图存为可复用模板,供课题组统一风格后套用。
origin_template_search搜索 OriginLab Graph Gallery 官方模板(可选下载 .zip;离线可调)。
origin_transform数据变换(结果写入新列或返回)。
origin_ttestt 检验:单样本 / 双样本(Welch) / 配对。
origin_verify_graph确定性反读核验(程序把图页对象属性读回来逐项比对)。
origin_view_graph把图渲染为内联图片(模型可直接看),不落盘。
origin_warmup预热 Origin 连接(把冷启动成本挪到用户不感知的时刻)。
origin_write_data把多列数据写入 Origin 工作表。

Security checks

  • ✓README presentThe repository's README runs to about 2.9K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • !No dynamic code executionScanned 55 source files and found 4 calls to eval or shell execution, in origin_engine.py among others. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

Releases

v2.7.3v2.7.3 热修 — 修 issue #1:apply() 返回普通对象导致 DSH 启动崩溃 · 18 Sep 2026P0 热修:装了插件后 DSH ≥ 0.1.5 完全无法启动(`TypeError: Invalid effect`),用户只能删插件才能重启。 根因:index.js 的 apply() 返回普通对象 `{ ...plugin }`,cordis 把它当 effect 处理而普通对象不合法。 修复:apply() 不再返回值(return void 0)——describe() 已单独导出描述,ctx.effect() 清理钩子不受影响。 验证:新增…
v2.7.2v2.7.2 — find_graph 缺陷修复 + Origin 自动化静默失败诊断 · 18 Sep 2026依两份真实使用过程(Codex 按手册安装会话 + Origin 2024 SR1 导出故障复盘)修的三个 bug: 1. find_graph TypeError(originpro 1.1.15 库缺陷):_safe_find_graph() 替换 8 处裸 op.find_graph(),异常不再冒泡 2. Origin 自动化能力不再静默失败:origin_diagnose(connect_probe=true) 新增 automation_capability…
v2.7.1v2.7.1 — 标注盲试治理 + Nature 预设 + 静默陷阱门禁(74 工具/35 错误码) · 17 Sep 2026甲烷 NMR 案例复盘(150+ 轮/30 分钟)对症实施:origin_annotate 批量标注 / origin_layout_info 布局映射 / origin_simulate 谱模拟 / origin_find_peaks 找峰 / origin_figure intent=nature + label_peaks / LabTalk 静默陷阱门禁(新错误码 labtalk_silent_trap)/ docs/FIGURE-STYLE-GUIDE.md…
v2.7.0v2.7.0 — 端到端提速 + 四种入口形态 + 深度可信(70 工具/34 错误码) · 17 Sep 2026战略评估后的阶段 A/B/C 全量实施。 阶段 A:提速(80% 感知耗时在模型决策轮次) `origin_figure` 端到端:一次调用完成 导入/写数→画图→验证→导出→交付(~1.2s) `origin_warmup` 预热 · `origin_pages_gc` 页堆积治理(793 页实测慢 30 倍) SKILL 主循环加 [0] 提速判断,默认快路径 阶段 B:入口形态(解决进不了用户的手) Origin App(.opx):Apps Gallery…
v2.6.2v2.6.2 — npm 安装契约修复(桌面市场可安装) · 16 Sep 2026修复 `@deepseek-ai/dsh-mcp-client` 精确 pin 不覆盖桌面运行时(0.1.1-rc.2)导致 dshfind 七项复核 runtime-range 不通过、桌面市场只展示不进"可安装"的问题。range 放宽为 >=0.1.0-rc.1;其余六项复核逐条核对通过。

README

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

Read full README
Questions

About Dsh Origin Plugin

How do I install Dsh Origin Plugin?

In Claude Code, run claude mcp add dsh-origin-plugin -- npx -y dsh-origin-plugin. Other MCP clients take the command after "--" in their server configuration.

Is Dsh Origin Plugin safe to use with an AI agent?

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

Is Dsh Origin Plugin still maintained?

Yes — the latest release is v2.7.3 (18 Sep 2026), and the last commit was a month ago. The repository has 52 stars.

What tools does Dsh Origin Plugin provide?

Conduid read 74 tools from the source: origin_add_line, origin_add_text, origin_annotate, origin_anova, origin_apply_style, origin_capabilities, origin_capability_diff, origin_catalog and 66 more.

What license is Dsh Origin Plugin released under?

The repository declares the MIT license. That applies to the latest release, v2.7.3, as well.