YO

youngminsw/origin-pro-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

46 stars 3 forks 品質 75 トレンド 17MIT

MCP サーバは、COM の自動化による OriginLab Origin Pro の制御を可能にします。AI アシスタントは、ワークシートの作成、グラフの作成、スタイル図の作成、カーブフィッティングの実行を可能にします

概要

ClaudeのようなAIアシスタントがCOM自動化で制御できるようにするMCP(Model Context Protocol)サーバー。 すべての操作は、リアルタイムでOriginのGUIに反映されます。AIがワークシートを作成したり、グラフをプロットしたり、スタイル図を作成したりします。 - — ワークブックの作成、読み取り/書き込みデータ、CSV / Excelのインポート、CSVのエクスポート、列の式、ソート、トランスポーズ - マトリックスの本、XYZのグリッド、3Dサーフェス/スキャッター、輪郭、ヒートマップ、画像のプロット - - 散布、ライン、ライン+symbol、列、バー、エリア、パイ、ヒストグラム、輪郭のプロット - - - ログスケール、デュアルY軸、パネル、参照線、テキスト、画像の描画 - テキストの分割、テキストの変換 - テキストの決定 - テキストの決定 - フローリング - フローリング - テキスト、フローリング - テキストの変換 - テキスト - テキスト - テキスト - テキストの変換 - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - とテキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキスト - テキストの おすすめ.

概要(AI 翻訳)

MCP (Model Context Protocol) サーバで、Claude のような AI アシスタントが、COM の自動化で OriginLab Origin Pro を制御することを可能にします。 すべての操作は、リアルタイムでOriginのGUIに反映されます。AIがワークシートを作成したり、グラフをプロットしたり、スタイル図を作成したりします。

何ができますか?

  • ワークシート管理 — ワークブックの作成、読み取り/書き込みデータの作成、CSV / Excelのインポート、CSVのエクスポート、列の式、ソート、トランスポーズ
  • マトリックス&3D — マトリックスブック、XYZグリッド、3D表面/散布、輪郭、ヒートマップ、画像プロット
  • グラフ作成 — スキャッター、ライン、ライン+シンボル、コラム、バー、エリア、パイ、ヒストグラム、輪郭図
  • グラフレイヤー&Axes — ログスケール、デュアルY軸、パネル、参照線、テキスト注釈 -Plot Styling — 色、記号、線幅、出版物準備書の書式
  • 分析 — 曲線フィッティング、FFT、スムース、統合、差別化、補間、ピーク検索 -Statistics — 記述的な stats, 2-sample t-test, 周波数カウント ([stats] と [transform]]]) で) -プロジェクト管理 — 新規/保存/読み込みプロジェクト、すべてのグラフをエクスポート(ピクセルサイズ制御付き)

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Origin Pro MCP Server

An MCP (Model Context Protocol) server that enables AI assistants like Claude to control OriginLab Origin Pro via COM automation. All operations are reflected in Origin’s GUI in real-time — you watch as the AI creates worksheets, plots graphs, and styles figures.

What Can It Do?

  • Worksheet Management — Create workbooks, read/write data, import CSV/Excel, export CSV, column formulas, sort, transpose
  • Matrices & 3D — Matrix books, XYZ gridding, 3D surface/scatter, contour, heatmap, image plots
  • Graph Creation — Scatter, line, line+symbol, column, bar, area, pie, histogram, contour plots
  • Graph Layers & Axes — Log scales, dual Y axis, panels, reference lines, text annotations
  • Plot Styling — Colors, symbols, line width, publication-ready formatting in one call
  • Analysis — Curve fitting, FFT, smoothing, integration, differentiation, interpolation, peak finding
  • Statistics — Descriptive stats, two-sample t-test, frequency counts (via the stats and transform tools)
  • Project Management — New/save/load projects, export all graphs (with pixel-size control)
  • LabTalk Scripting — Direct LabTalk execution with destructive/file-overwrite commands blocked

This MCP server is intentionally Windows-runtime-only. The AI agent or MCP client can run from Windows or WSL, but the MCP server process that talks to Origin must be launched with Windows Python and pywin32. WSL/Linux can edit the project and run non-COM unit tests, but cannot directly control Origin COM.

Quick Start

Agentic Setup (read this if you are an AI agent configuring this server)

Copy-paste rules to self-configure the origin-pro MCP with zero human steps:

  1. Environment requirement. This server only works on Windows with a licensed Origin/OriginPro install and Windows Python with pywin32. COM automation cannot run from WSL or Linux Python. If the agent runs in WSL, it must launch the Windows executable (uvx.exe / Windows origin-pro-mcp), never WSL Python.
  2. Preferred install path. Use uvx (zero setup) or pip install origin-pro-mcp. Both install to a Windows-local location and “just work”:
    { "mcpServers": { "origin-pro": { "command": "uvx", "args": ["--quiet", "origin-pro-mcp"] } } }
    
    From WSL, call uvx.exe instead of uvx (see Option A below).
  3. Critical UNC rule. If you point at a local checkout from WSL, the repo MUST live under a Windows drive (e.g. C:\Users\YOU\Origin-Pro-MCP). Never reference it through a \\wsl.localhost\... UNC path: the background daemon (python -m origin_pro_mcp.daemon) cannot resolve a -m module or a working directory over UNC, so it fails silently (Origin never opens). uvx/pip install avoid this entirely.
GitHub で README 全文を見る

インストール

uvx --quiet origin-pro-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "origin-pro": { "command": "uvx", "args": ["--quiet", "origin-pro-mcp"] } } }