Introduction¶
The core philosophy of DeepSeek Harness (DSH) is plugin-based architecture. In the field of scientific plotting, using local Origin / OriginPro for data processing and graphing is a common requirement. Existing integration solutions either require uploading data to the cloud or offer limited functionality. dsh-origin-bridge drives the local Origin or OriginPro as a proxy through 27 MCP tools, allowing users to complete the entire workflow from data import to image export using natural language instructions.
Plugin Overview¶
Maintained by caob23, this is a third-party tool and is not affiliated with OriginLab. It is a DSH plugin designed to solve the problem of “how to drive local Origin / OriginPro using natural language.”
Main capabilities include:
* Importing file formats such as .dat, .csv, .txt, .tsv, .xls, .xlsx.
* Supporting .bin files exported by electrochemical workstations.
* Performing operations such as plotting, data fitting, and style modification.
* Exporting images and saving as .opju projects that can be continuously edited in Origin.
* Data processing is performed entirely locally, ensuring data does not leave the machine.
Installation and Prerequisites¶
The plugin relies on the local environment. Please ensure the following conditions are met before installation:
- Operating System: Windows.
- Origin Software: OriginLab Origin or OriginPro, version 2021 or higher.
- Python Environment: Python 3.10 or higher.
- Python Dependencies: The
originprolibrary must be installed.
To install the plugin:
dsh plugin --profile desktop add dsh-origin-bridge
After installation, the originpro library must be installed in the Python environment:
pip install originpro
Important Notes:
* Origin Status: The Origin software not being open does not affect tool registration; the tool will establish a COM connection upon the first invocation.
* Missing Dependencies: If the originpro module is not installed, the tool will register normally but will return an error indicating the missing module when called.
* Python Path: If the python command is not available in the PATH, the plugin startup will fail.
Core Features¶
The plugin provides a series of tools to handle common operations in Origin:
- File Import: Supports
.dat,.csv,.txt,.tsv,.xls,.xlsx, and.binfiles from electrochemical workstations. - Plotting and Fitting: Supports scatter plots, line plots, heatmaps, etc., and provides data fitting functions.
- Style and Export: Supports modifying chart styles, adding legends, and exporting as images, while saving as editable
.opjuproject files. - Special Format Support: Supports special data formats such as multi-line headers and Fortran exponents.
- Data Security: All data processing is completed locally, and data does not leave the machine.
Typical Usage¶
Origin can be controlled via natural language instructions. Below are specific reproduction examples:
- Basic Plotting: Plot
D:\data\spectrum.datas a scatter-line graph, set the X-axis to Time (s), and export toD:\out. - Multi-curve Merging: Plot data from two files on the same graph using a dual Y-axis.
- Legend Adjustment: Add a legend to the spectrum and place it in the upper right corner.
- Data Fitting: Fit this set of EIS data.
- Electrochemical Data: Process the
cv.binfile exported by the CHI workstation.
Notes¶
- Encoding Support: Supports common encodings such as UTF-8, GBK, and UTF-16.
- Special Formats: Supports special data formats such as multi-line headers and Fortran exponents.
Summary¶
Through 27 MCP tools, dsh-origin-bridge seamlessly integrates the operational capabilities of local Origin into the DSH conversation flow, realizing a plotting workflow where data remains local and results are reproducible.
- Plugin Address: caob23/dsh-origin-bridge
- Directory Page: SkillHub Plugin Page