Drive OriginLab Origin scientific plotting from AI chat via MCP: 62 tools. Modal-dialog watchdog, LabTalk safety gate, release/reconnect, fit with initial/fixed/weighted params, fine-grained plot and sheet edits, matrix tools, FigureSpec declarative YAML (diff-able and replayable), MCP Resources read-only snapshot, matplotlib-figure bridge, PowerPoint assembly with panel labels, Graph Gallery template search, EPS export, file-access whitelist, visual regression baseline, and editable OPJU delivery with deterministic readback verification.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-origin-plugin
# from a prebuilt release tarball
dsh plugin --profile web add "https://github.com/Fantasality/dsh-origin-plugin/releases/download/v2.6.1/dsh-origin-plugin-2.6.1.tar.gz"
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Fantasality/dsh-origin-plugin
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
New here? Start with the Beginner's Quickstart — four ways to run it (Origin button / copy-paste scripts / MCP client / inside DSH), pick yours, done in 1–3 minutes. This page is the capability reference; the Chinese README.md is authoritative.
Drive OriginLab Origin from AI chat over MCP — on your own machine, over COM, with no network round-trip to anyone else's server.
Why this instead of a text-to-figure tool
The deliverable is an editable Origin project file (OPJU) plus a reproducible FigureSpec YAML — every line, marker and axis property stays hand-tunable in Origin and reproducible months later. Text-to-figure / text-to-SVG routes (AutoFigure-like) emit one-off vector objects aimed at method diagrams, not experimental data plots; editability granularity and scientific reproducibility are on different levels.
Install
| Route | Command | Best for |
|---|---|---|
| A. Origin button | python scripts/build_origin_app.py, then install the generated .opx |
People who never touch a terminal |
| B. Copy-paste scripts | Send skills/origin-scripting/SKILL.md to any AI |
Zero install, works with any AI |
| C. MCP client | python install.py (auto-detects Cursor / Claude Desktop / Kimi / Cline / Continue / VS Code) |
AI client users |
| D. HTTP (shared Origin) | python origin_mcp_http.py --port 8731 |
Several AIs, one Origin |
| E. Inside DSH | Install dsh-origin from the plugin market |
DSH users |
| F. npx | npx dsh-origin-plugin |
Quick try |
Requirements: Windows, Origin 2021+ (2026 tested), Python 3.10+.
Fast path: one call, one figure
{"columns": {"x":[1,2,3,4,5], "y":[1,4,9,16,25]}, "intent": "journal", "fmt": "png"}
origin_figure does import → plot → verify → export → (optional) delivery in a single call
(~1 s). The old route took 6–10 tool round-trips; because ~80% of perceived latency is model
decision turns, collapsing the turns is what actually makes it feel fast.
What's in the box (70 tools / 34 error codes)
- Plotting — 2D (line/scatter/line-symbol/column/histogram/box/bar/error bars), 3D, contour, domain templates (stacked spectra, XRD triple, dual-Y, forest, multi-panel)
- Fine-grained editing — per-curve color/width/symbol/visibility, axis, legend anchors, page geometry, window management, remove/swap curves, sort/transpose
- Analysis — fitting with initial/fixed/weighted params, peak analysis, statistics batch (t-test / ANOVA / PCA / Kaplan-Meier), FFT, integration, correlation
- Matrix tools — write / read / plot matrices (surface, contour, wireframe)
- Bridges — matplotlib figure → Origin, PowerPoint assembly with panel letters, OriginLab Graph Gallery template search, EPS/SVG/PDF/TIF/EMF export
- Reusable style templates — save a finished graph as a template and apply it to others (lab-wide consistent styling)
- Trust layer — readback graded
verified/readback_only/unverified, modal-dialog watchdog, LabTalk destructive-command gate, export file-magic validation, 12-image dHash visual regression baseline, stable error codes with a recovery map - Declarative — FigureSpec YAML (diff-able, replayable), MCP Resources read-only snapshots
Science boundaries
No fabricated data · uncertain columns raise a confirmation question · derived columns are labelled · statistics carry a confidence note · unsupported operations are refused explicitly rather than silently ignored. 15 measured failure modes are documented in COMPATIBILITY.md.
Test
python -m pytest tests/ -q # offline tests always; live tests skip without Origin
python origin_mcp_server.py --offline-test
python origin_mcp_server.py --selftest # full chain, needs Origin
MIT License. Not affiliated with OriginLab.
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 31680
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
superdesigndev/treg★ 3995
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
TencentCloudBase/CloudBase-AI-Toolkit#dsh-plugin★ 1130
Tencent CloudBase backend for DeepSeek Harness — scaffold and deploy full-stack apps from chat, render query results as table cards with paging, sorting and CSV export, preview a deployment on its domain, and call the CloudBase MCP toolset (`mcp__cloudbase__*`) with device-code login.
gitroomhq/postiz-agent#dsh-postiz★ 499
Connects DeepSeek Harness to Postiz over MCP: list connected social media channels, fetch per-platform posting rules, and schedule, draft, or publish posts to X, LinkedIn, Instagram, Facebook, Threads, TikTok, YouTube, Reddit, Bluesky, Mastodon, Discord, Slack, Telegram and more; adds a postiz workflow skill.
EthanYoQ/Invoice-Downloader#dsh-invoice-downloader★ 477
Local IMAP invoice download, OCR, archive, and Excel reimbursement summaries for DeepSeek Harness.
anysearch-team/anysearch-dsh★ 443
AnySearch-powered real-time web and vertical search provider for DeepSeek Harness.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.