MCPVault

export_worksheet

MCP tool from Origin Pro MCP by youngminsw

Export a worksheet to CSV/text

How to use it

export_worksheet is exposed by the Origin Pro MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the export_worksheet tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Origin Pro MCP

$pip install origin-pro-mcp
FULL ORIGIN PRO MCP LISTING

Other tools in Origin Pro MCP (39)

add_layer

Add a panel/axis layer (right-y, top-x, inset, independent)

add_plot_to_graph

Add another dataset to an existing graph

add_second_y_axis

Add a right-Y layer and plot on it

annotate

Add an annotation — kind="referenceline"/"text"/"line"/"arrow"

apply_publication_style

One-call publication formatting (recommended)

axis

Configure axes — op="labels"/"range"/"scale"/"tick"/"frame"; op="labels" also sets the right/top-axis title on axis="right"/"top"

colormap

Apply a palette and/or set the Z color-scale range on a colormapped graph

create_graph

Create graph (scatter, line, line+symbol, column, bar, area, pie, histogram, box, contour, 3dscatter); optional template= builds it from a saved .otpu/.otp (2D XY types only)

create_matrix

Create a matrix book

create_matrix_plot

Surface (3D), contour, heatmap, or image from a matrix (with a data-linked color scale)

create_worksheet

Create new workbook

curve_fit

Curve fitting: parameters ± std errors, R², SSR, reduced χ²; optional plotongraph, xmin/xmax to restrict the fit range, and peaks=N (gauss/lorentz/voigt) for multi-peak deconvolution

delete_graph

Delete a graph window

export_all_graphs

Export every graph in the project to image files

export_graph

Export to an image file — raster (png/jpg/tif/bmp) or vector (pdf/eps/emf, resolution-independent); width= sets an exact pixel width for raster (default ~1200px wide, height follows the graph's aspect ratio)

get_worksheet_data

Read worksheet data as JSON (empty cells → null)

import_data

Import a CSV/text or Excel file (format="auto"/"csv"/"excel"); CSV/text import suppresses Origin's auto-generated sparkline mini-graph windows by default (sparklines=False). filepath may also be a directory or glob to batch-import every matching file, each into its own book

list_fitting_functions

Show available fit functions

list_worksheets

List open workbooks, graphs, and matrices

load_project

Open existing .opj/.opju file

manage_columns

Add, delete, or edit columns — op="add"/"delete"/"properties"/"formula"

new_project

Create new empty Origin project

remove_plot

Remove one data plot from a graph, addressed by index (COM DataPlot.Destroy()) — removes only that plot even if the same dataset is plotted more than once

run_labtalk

Execute LabTalk with destructive/file-writing commands blocked; optional capture reads variables back. If a 2+ statement script fails as a whole, it is automatically retried statement-by-statement and each statement's OK/FAILED status is reported (partial application is possible — this is intentiona

save_graph_template

Save a graph as a reusable .otpu/.otp template

save_project

Save project to .opju file

set_error_bars

Attach Y/X error bars to an existing plot from an error column (no duplicate)

set_graph_font

Set font family, size, and optional bold

set_layer_geometry

Set a layer's panel position/size (left/top/width/height)

set_legend

Configure legend text and position

set_plot_style

Set color, line width, symbol shape/size, and open/solid marker

set_tick_labels

Tick-label numeric format (decimal/scientific/engineering), bold, decimal places, axis→label offset (offsetpct, % of font; +toward axis)

set_worksheet_data

Write column data (JSON arrays)

sort_worksheet

Sort rows by a column (asc/desc)

stats

Statistics on worksheet columns — op="column"/"comparemeans"/"frequency"

transform

Numerical transform on an XY curve — method="integrate"/"differentiate"/"smooth"/"interpolate"/"fft"/"findpeaks"; smooth takes smoothmethod="savitzkygolay"/"adjacent"/"binomial"

transpose_worksheet

Transpose rows and columns

ungroup_plots

Break a plot group so each curve can be colored independently

worksheet_to_matrix

Grid scattered XYZ into a matrix (xyz2mat)