OriginPro MCP Server
Provides tools for plotting XY data, performing linear fits with R2, and exporting PNG images through OriginPro.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OriginPro MCP ServerPlot x=[1,2,3], y=[3,5,7] with linear fit and save as PNG."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OriginPro MCP Server (DSH plugin)
Drive OriginPro via COM from any agent session: plot XY data, linear fit with R2, export PNG. Ships as a DeepSeek Harness (DSH) plugin exposing an stdio MCP server.
Windows only. These servers drive the real commercial applications through COM automation — the target software must be installed and licensed on the machine.
Verified on
OriginPro 2024 (originpro 1.1.15). Older/newer originpro versions may differ in API shape; see lib/origin_helper.py notes.
Related MCP server: OriginLab MCP Server
Tools
origin_plot— x[], y[], axis names, optionalfit:true→ returns slope/intercept/R2 + PNG path
Outputs are written to {cwd}/lab-out/ (override with env LAB_OUT_DIR).
First call cold-starts the application and can take 30–120 s.
Requirements
Windows + Python 3.10+ with
pywin32, originpro(pip install pywin32,, originpro)The target application installed and COM-registered
Install as a DSH plugin
dsh plugin --profile web add <path-or-git-url>The bundled cordis.patch.yml registers the server through
@deepseek-ai/dsh-mcp-client; tools appear as mcp__origin__*.
Manual MCP client config (Claude Desktop etc.)
{
"mcpServers": {
"origin": {
"command": "python",
"args": ["<abs-path>/server/server.py"]
}
}
}Point command at your real interpreter (on Windows avoid the Microsoft Store
python.exe stub).
Layout
server/server.py stdio MCP server (JSON-RPC 2.0)
lib/*.py helper module + makepy typelib wrappers (self-contained)
cordis.patch.yml DSH bundle patchRegenerating makepy wrappers
If your app version differs, rebuild the typed wrapper and drop it into lib/:
python -m win32com.client.makepy -o lib/<wrapper>.py "<path-to-tlb-or-dll>"(See each repo's README notes for the exact typelib location.)
Caveats learned the hard way (already handled in code)
COM points must be
VT_ARRAY|VT_R8VARIANTs; some methods need the typed wrapper.ChemDraw
Positionreturns a copy — writeback required (handled in cd_helper).AutoCAD modal dialogs freeze the COM pump; cad_helper ships
close_modal_dialogs().stdout is forced UTF-8 (GBK consoles corrupt JSON-RPC frames otherwise).
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Provide real-time data querying and visualization by integrating Tako with your agents. Generate o…
OCR, transcription, file extraction, and image generation for AI agents via MCP.
LLM Orchestration Agent (Openai)
Create AgentUI data apps: define tables, read and write records, and run programs on your data.
1
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables AI assistants to control Origin/OriginPro on Windows, including data import, worksheet editing, graphing, analysis, and figure export.2582 PyPI117MIT
- AlicenseNot gradedqualityCmaintenanceBridge between AI assistants and OriginLab, enabling data import, plotting, analysis, and export through natural language commands.82MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to control Origin 2025b for scientific plotting via natural language, with support for data import, 52+ chart types, curve fitting, statistics, and export.8MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to control OriginLab Origin Pro via COM automation for data analysis, graphing, and styling, with real-time GUI updates.5668 PyPI41MIT