MCP.so
Sign In
Servers

MathCAD MCP Server

@hvkshetry

MCP server for PTC MathCAD Prime control: AI agents manage worksheet operations (open/close/save), set/retrieve values with unit support (scalars, strings, matrices), control calculation states (pause/resume/recalculate), and export to PDF/RTF/XPS formats via Windows COM automati

Overview

What is MathCAD MCP Server?

MathCAD MCP Server is a Model Context Protocol (MCP) server that integrates with PTC MathCAD Prime, enabling AI assistants like Claude to open, edit, calculate, and export MathCAD worksheets. It is built for engineers and users who want to automate MathCAD workflows through a standardized interface.

How to use MathCAD MCP Server?

Install Python dependencies with pip install -r requirements.txt, then run python install_standalone.py (optionally with --hide to hide the MathCAD window). This configures Claude Desktop automatically. Alternatively, manually edit Claude Desktop’s configuration file to point to standalone.py with the MATHCAD_VISIBLE environment variable. Once running, the server exposes tools, resources, and prompt templates for worksheet management and calculation tasks.

Key features of MathCAD MCP Server

  • Open, close, and save MathCAD worksheets
  • Set numerical, string, and matrix inputs with units
  • Retrieve calculation results with proper units
  • Pause, resume, and recalculate worksheets
  • Export worksheets as PDF, RTF, and XPS files
  • Query worksheet status, inputs, and outputs via MCP resources

Use cases of MathCAD MCP Server

  • Solve physics problems by setting parameters and extracting outputs
  • Perform engineering analysis (e.g., beam deflection) with automated recalculation
  • Generate reports by exporting worksheets to PDF after calculations
  • Create and manage worksheet templates for standardized workflows
  • Integrate MathCAD with AI assistants for natural language control of calculations

FAQ from MathCAD MCP Server

What are the system requirements for MathCAD MCP Server?

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

How do I show or hide the MathCAD application window?

Set the MATHCAD_VISIBLE environment variable to "true" (default) to show the window, or "false" to hide it when starting the server.

What file formats can MathCAD MCP Server export?

PDF (Mathcad Prime 5+ only), RTF, and XPS. Worksheets can also be saved in-place or to a specified path.

How do I resolve unit conversion errors?

Ensure units are compatible (e.g., length cannot convert to mass) and use standard unit symbols like 'm' for meters or 'm/s' for velocity.

Can MathCAD MCP Server run on macOS or Linux?

No. Windows is required because the server uses COM automation to control the MathCAD application.

Tags

More from Other