origin-mcp
v0.1.4Local MCP server that lets AI assistants automate Origin/OriginPro for data import, worksheet editing, plotting, analysis, and export on Windows.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
origin_run_analysis
Run a supported Origin analysis and return structured metrics or output rows. Use ``include_output=True`` with ``output_sheet`` for analyses that create a worksheet. The ``analysis`` schema lists canonical names; aliases remain accepted for backward compatibility.
| Parameter | Type | Description |
|---|---|---|
analysis * | string | Canonical analysis name. Supported values are listed in the schema; common choices include linear_fit, polynomial_fit, smooth, peak_find, fft, and correlation. |
include_output | boolean | Read output worksheet rows back into the response when possible. |
options | Analysis-specific options. Examples: polynomial_fit uses order; smooth uses method and points; peak_find uses direction, threshold, and smooth_points; t-tests use tail and alpha; fft/ifft use window a… | |
output_max_rows | integer | Maximum rows to read from an output worksheet. |
output_sheet | Optional output sheet/name hint. | |
worksheet | Worksheet range or book/sheet reference. | |
x_col | Optional X column. | |
y_col | Optional Y column. |
origin_ping
Connect to Origin/OriginPro and report basic status.
| Parameter | Type | Description |
|---|---|---|
show | boolean | Whether Origin should be visible after connecting or querying capabilities. |
origin_capabilities
Report runtime capabilities; set ``show`` only to change Origin visibility.
| Parameter | Type | Description |
|---|---|---|
refresh | boolean | Whether to bypass cached capability data and query Origin again. |
show | Whether Origin should be visible after connecting or querying capabilities. |
origin_bridge_shutdown
Ask the Origin GUI bridge to stop serving requests. By default this releases the Origin automation connection without closing Origin itself. Set ``close_origin=True`` to force-close Origin as part of shutdown.
| Parameter | Type | Description |
|---|---|---|
close_origin | boolean | Whether bridge shutdown should also force-close the Origin application. |
host | Optional Origin bridge host override. Normally omit to use configured localhost. | |
port | Optional Origin bridge TCP port override. Normally omit to use the handshake value. | |
release_origin | boolean | Whether bridge shutdown should release its Origin automation connection. |
timeout | Bridge request timeout in seconds; null uses the configured default. | |
token | Optional bridge authentication token override. Normally omit to use the handshake. |
origin_doctor
Diagnose Origin bridge configuration, status file, and connectivity.
| Parameter | Type | Description |
|---|---|---|
host | Optional Origin bridge host override. Normally omit to use configured localhost. | |
ping_origin | boolean | Whether diagnostics should also make a live request to Origin. |
port | Optional Origin bridge TCP port override. Normally omit to use the handshake value. | |
status_path | Optional bridge status-file path override used by diagnostics. | |
timeout | Bridge request timeout in seconds; null uses the configured default. | |
token | Optional bridge authentication token override. Normally omit to use the handshake. |
origin_bridge_submit_task
Submit a supported Origin bridge method as a queued background task.
| Parameter | Type | Description |
|---|---|---|
method * | string | Allowlisted Origin bridge method to run as a background task. |
host | Optional Origin bridge host override. Normally omit to use configured localhost. | |
params | Keyword arguments passed to the selected allowlisted bridge method. | |
port | Optional Origin bridge TCP port override. Normally omit to use the handshake value. | |
timeout | Bridge request timeout in seconds; null uses the configured default. | |
token | Optional bridge authentication token override. Normally omit to use the handshake. |
origin_bridge_task_status
Read status, result, or optional recent logs for an Origin bridge background task.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Background task identifier returned by origin_bridge_submit_task. |
host | Optional Origin bridge host override. Normally omit to use configured localhost. | |
include_logs | boolean | Whether to include recent background-task log records in the response. |
include_result | boolean | Whether to include a completed background task's result payload. |
log_limit | integer | Maximum number of recent background-task log records to return. |
port | Optional Origin bridge TCP port override. Normally omit to use the handshake value. | |
timeout | Bridge request timeout in seconds; null uses the configured default. | |
token | Optional bridge authentication token override. Normally omit to use the handshake. |
origin_bridge_cancel_task
Cancel a queued Origin bridge task or mark a running task for cancellation.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Background task identifier returned by origin_bridge_submit_task. |
host | Optional Origin bridge host override. Normally omit to use configured localhost. | |
port | Optional Origin bridge TCP port override. Normally omit to use the handshake value. | |
timeout | Bridge request timeout in seconds; null uses the configured default. | |
token | Optional bridge authentication token override. Normally omit to use the handshake. |
origin_bridge_list_tasks
List recent Origin bridge background tasks.
| Parameter | Type | Description |
|---|---|---|
host | Optional Origin bridge host override. Normally omit to use configured localhost. | |
limit | integer | Maximum number of matching or recent records to return. |
port | Optional Origin bridge TCP port override. Normally omit to use the handshake value. | |
timeout | Bridge request timeout in seconds; null uses the configured default. | |
token | Optional bridge authentication token override. Normally omit to use the handshake. |
origin_plan_figure_spec
Validate a declarative FigureSpec and return the planned Origin operations.
origin_execute_figure_spec
Execute a declarative FigureSpec. The current executor supports worksheet-backed single-panel and grid multi-panel figures with common plot types. Unsupported features are reported in the plan instead of being guessed.
origin_get_graph_info
Inspect a graph page, its layers, axes, and plots.
| Parameter | Type | Description |
|---|---|---|
graph_name | Origin graph page name. Omit to use the active graph or create a new page. |
origin_export_graph
Export the active or named Origin graph to an image/PDF file.
| Parameter | Type | Description |
|---|---|---|
path * | string | Filesystem path consumed or produced by this tool; see the tool description. |
graph_name | Origin graph page name. Omit to use the active graph or create a new page. | |
overwrite | boolean | Whether an existing output file may be replaced. |
width | integer | Export width in pixels; zero preserves Origin's default export width. |
origin_view_graph
Render an Origin graph and return it as an image the model can see. Unlike ``origin_export_graph`` this leaves no file behind: the graph is rendered to a temporary PNG, returned as an image content block alongside a small text summary, and the temp file is deleted. Use it to visually verify a plot and iterate on it. ``max_width`` bounds the rendered pixel width to keep the returned image (and its token cost) small. Requires a vision-capable client to be useful.
| Parameter | Type | Description |
|---|---|---|
graph_name | Origin graph page name. Omit to use the active graph or create a new page. | |
max_width | integer | Maximum rendered image width in pixels. |
origin_format_graph
Set graph long name, axis labels, legend visibility, and optional rescale.
| Parameter | Type | Description |
|---|---|---|
graph_name | Optional graph page name. | |
rescale | boolean | Whether to rescale graph axes after formatting. |
show_legend | Set legend visibility when provided. | |
title | Optional graph page long name. | |
x_label | Optional X axis title. | |
y_label | Optional Y axis title. |
origin_browse_knowledge
List knowledge collections or browse one collection by slash-delimited path.
| Parameter | Type | Description |
|---|---|---|
collection | Knowledge collection. Omit to list collections; allowed names are in the schema. | |
topic | Slash-delimited entry path within the collection, for example analysis/workflow. Omit to list the collection's immediate children. | |
version | Optional Origin documentation version filter, such as 2026b. |
origin_query_knowledge
Search the local Origin knowledge base by keyword.
| Parameter | Type | Description |
|---|---|---|
query * | string | Keyword query matched against local knowledge titles, summaries, and bodies. |
collection | Optional knowledge collection filter; allowed names are in the schema. | |
limit | integer | Maximum number of matching or recent records to return. |
version | Optional Origin documentation version filter, such as 2026b. |
origin_run_labtalk
Execute LabTalk script text inside Origin and optionally return captured output.
| Parameter | Type | Description |
|---|---|---|
script * | string | LabTalk script text to execute inside the connected Origin application. |
capture_log | boolean | Whether to capture and return LabTalk output produced by the script. |
origin_plot
Create a table-based plot selected by ``kind``. A single parameterized entry point for common table plots and the Plot Type ID routes that each also have a dedicated ``origin_plot_*`` tool. For the common line/scatter/line_symbol/column routes, ``selected_cols`` uses the first column as X and the remaining columns as Y. A one-column selection is treated as Y-only. Matrix-range plots still use ``origin_plot_matrix_id``.
| Parameter | Type | Description |
|---|---|---|
kind * | string | Table plot kind. The schema lists every compact-route kind supported by this tool. |
path * | string | Filesystem path consumed or produced by this tool; see the tool description. |
export_path | Optional output path for exporting the created graph. | |
graph_name | Origin graph page name. Omit to use the active graph or create a new page. | |
palette_name | Optional registered color palette name used by the selected style mode. | |
selected_cols | Column names or zero-based indexes to include in the plot. | |
show_legend | Legend visibility override; null uses cross-chart rules based on series count and chart type. | |
style_mode | string | Graph styling policy: origin_default preserves the Origin template; nature applies the origin-mcp scientific preset. |
title | Optional Origin page long name or graph title. |
origin_recommend_chart
Recommend chart types from table shape, column semantics, and optional intent.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a CSV, TSV, TXT, DAT, XLS, or XLSX file. |
delimiter | Delimiter for text files. If omitted, CSV/TSV defaults or auto-detection are used. | |
encoding | Optional text file encoding. | |
excel_sheet | Excel sheet name or zero-based index. Ignored for text files. | |
header | Zero-based row number to use as column names. | |
intent | Optional natural-language chart intent used to guide automatic routing. | |
max_recommendations | integer | Maximum number of ranked chart recommendations to return. |
na_values | Additional missing value markers. | |
nrows | Maximum number of data rows to read. | |
skiprows | Rows to skip while reading. | |
x_col | Column name or zero-based index to use as X. Defaults to the first column. | |
x_error_col | Optional X error column. | |
y_cols | Column names or zero-based indexes to plot as Y. Defaults to all non-X columns. | |
y_error_col | Optional Y error column. | |
z_col | Optional Z column for contour/XYZ plots. |
origin_plot_auto
Inspect table columns, select a suitable chart route, and create the plot. Provide ``intent`` when the desired comparison or relationship is known. Otherwise the router uses column types, cardinality, and selected X/Y/Z or error columns. Use ``origin_recommend_chart`` first when no graph should be created yet.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a CSV, TSV, TXT, DAT, XLS, or XLSX file. |
book_name | Optional Origin workbook name. | |
delimiter | Delimiter for text files. If omitted, CSV/TSV defaults or auto-detection are used. | |
encoding | Optional text file encoding. | |
excel_sheet | Excel sheet name or zero-based index. Ignored for text files. | |
export_path | Optional graph export path. | |
graph_name | Optional Origin graph page name. | |
header | Zero-based row number to use as column names. | |
intent | Optional natural-language chart intent used to guide automatic routing. | |
na_values | Additional missing value markers. | |
nrows | Maximum number of data rows to read. | |
palette_name | Optional registered built-in palette name; nature mode selects one automatically. | |
sheet_name | Optional Origin worksheet name. | |
skiprows | Rows to skip while reading. | |
style_mode | string | Graph styling policy. origin_default/template/theme/none preserve Origin template defaults; nature applies origin-mcp styling after plotting. |
title | Optional graph page long name. | |
x_col | Column name or zero-based index to use as X. Defaults to the first column. | |
x_error_col | Optional X error column. | |
x_label | Optional X axis title. | |
y_cols | Column names or zero-based indexes to plot as Y. Defaults to all non-X columns. | |
y_error_col | Optional Y error column. | |
y_label | Optional Y axis title. | |
z_col | Optional Z column for contour/XYZ plots. |
origin_import_table
Import a CSV, TSV, TXT, DAT, XLS, or XLSX file into a new Origin worksheet.
| Parameter | Type | Description |
|---|---|---|
path * | string | Absolute path to a CSV, TSV, TXT, DAT, XLS, or XLSX file. |
book_name | Optional Origin workbook name. | |
delimiter | Delimiter for text files. If omitted, CSV/TSV defaults or auto-detection are used. | |
encoding | Optional text file encoding. | |
excel_sheet | Excel sheet name or zero-based index. Ignored for text files. | |
header | Zero-based row number to use as column names. | |
na_values | Additional missing value markers. | |
nrows | Maximum number of data rows to read. | |
sheet_name | Optional Origin worksheet name. | |
skiprows | Rows to skip while reading. |
origin_read_worksheet
Read a window of Origin worksheet data as structured rows.
| Parameter | Type | Description |
|---|---|---|
book_name | Origin workbook name. Omit to use the active workbook or the tool default. | |
columns | Column names or zero-based column indexes selected for this operation. | |
max_rows | integer | Maximum number of worksheet rows to return. |
sheet_name | Origin worksheet name. Omit to use the active sheet or the tool default. | |
start_row | integer | Zero-based worksheet row at which reading begins. |
origin_write_worksheet
Write structured rows into a new or existing Origin worksheet.
| Parameter | Type | Description |
|---|---|---|
rows * | Rows to write, as objects keyed by column name or arrays matching columns. | |
book_name | Origin workbook name. Omit to use the active workbook or the tool default. | |
columns | Column names for object rows. For array rows, these names define the array order. | |
create | boolean | Whether to create the target Origin object when it does not already exist. |
sheet_name | Origin worksheet name. Omit to use the active sheet or the tool default. | |
start_col | Column name or zero-based column index at which writing begins. |
origin_diagnose_worksheet
Check worksheet data quality before plotting or analysis. Reports per-column dtype, missing count/fraction, and unique count, plus structured issues: empty_worksheet and all_null_column (error), high_missing and duplicate_columns (warning), non_numeric_column and constant_column (info). high_missing_threshold is the missing fraction (0-1) that triggers a high_missing warning. "passed" is false when any error-severity issue is found.
| Parameter | Type | Description |
|---|---|---|
book_name | Origin workbook name. Omit to use the active workbook or the tool default. | |
columns | Column names or zero-based column indexes selected for this operation. | |
high_missing_threshold | number | Missing-value fraction from 0 through 1 that triggers a high_missing warning. |
sheet_name | Origin worksheet name. Omit to use the active sheet or the tool default. |