MathCAD MCP Server

MCP server for PTC MathCAD Prime control: AI agents manage worksheet operations (open/close/save), set/retrieve values with unit support (scalars

Local serverstdioPython

What is the MathCAD MCP Server?

MCP server for PTC MathCAD Prime control: AI agents manage worksheet operations (open/close/save), set/retrieve values with unit support (scalars, strings

The short version

A Model Context Protocol (MCP) server that provides integration with PTC MathCAD Prime, allowing AI assistants like Claude to interact with MathCAD worksheets through a standardized interface.

  • Worksheet Management — Open, close, and save MathCAD worksheets
  • Input Control — Set numerical values, strings, and matrices with units
  • Output Access — Retrieve calculation results with proper units
  • Calculation Management — Pause, resume, and recalculate worksheets
  • Export Options — Save worksheets as PDF, RTF, and XPS files

What it needs from you

  • Windows operating system (required for MathCAD COM automation) - Python 3.10 or higher - PTC MathCAD Prime 3.0 or higher installed - Dependencies: MathcadPy, pywin32, and MCP Python SDK (see requirements.txt)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_mathcad_versionGet the running MathCAD version
open_worksheetOpen a MathCAD worksheet from a file path
close_worksheetClose a specific worksheet
close_all_worksheetsClose all open worksheets
quit_mathcadQuit the MathCAD application entirely
save_worksheetSave a worksheet to a specified path and format
save_worksheet_inplaceSave the worksheet in place
activate_worksheetBring a worksheet to the front
set_real_inputSet a numerical input with optional units
set_string_inputSet a string input
set_matrix_inputSet a matrix input with optional units
get_inputRetrieve the current value of a designated input (real/string/matrix)
get_matrix_inputRetrieve the current value of a designated matrix input
calculate_worksheetRecalculate a worksheet

Configuration

  • Windows operating system (required for MathCAD COM automation) - Python 3.10 or higher - PTC MathCAD Prime 3.0 or higher installed - Dependencies: MathcadPy, pywin32, and MCP Python SDK (see requirements.txt)
VariableDescriptionRequired
MATHCAD_VISIBLEConfiguration value read at startup.Optional

Example prompts to try

  • “Use MathCAD to list mathcad version.”
  • “Use MathCAD to open worksheet.”
  • “Use MathCAD to close worksheet.”

Frequently asked questions

Windows operating system, Python 3.10 or higher, and PTC MathCAD Prime 3.0 or higher installed. COM automation requires Windows.