Most engineering firms are sitting on years of Mathcad worksheets: beam checks, footing designs, connection calcs, each one written, checked and used on real projects. That's your firm's method, in a form someone has already verified.
Now everyone has an AI assistant open in the next tab. It's good at reading a brief, pulling numbers out of a report and reasoning about what to check next. It's much less reliable at arithmetic, units and following your firm's way of doing a calc. So the obvious question: can the AI use the worksheets you already trust, instead of making up its own maths?
Not while they're Mathcad files. But you can get there in an afternoon.
Can you use AI with Mathcad?
Partly. You can use an AI assistant around Mathcad, and with some scripting you can have one drive Mathcad on your own PC. What you can't do yet is hand an assistant your worksheet and have it read, run and change the maths somewhere your team can check it.
Does Mathcad Prime have AI built in?
Not that PTC documents. The release notes for Mathcad Prime 12 and 12.0.1 list plotting, solver, symbolics and usability changes, and no AI assistant (checked November 2026). PTC's own Mathcad blog is blunt about why: it says off-the-shelf generative AI "cannot be trusted with performing even the most basic of engineering calculations", and points AI at writing scripts for Mathcad's advanced controls instead (checked November 2026).
Pasting into ChatGPT, Claude or Copilot
This is what most engineers do, and it's fine for explaining a method, drafting an equation or spotting an obvious slip. It breaks down in two places. The answer is a fresh derivation every time, with no fixed version of the method behind it: PTC's own ChatGPT unit conversion test got four different wrong answers to one feet-and-inches conversion (checked November 2026). And the output doesn't go back into Mathcad as live maths. On PTC's community forum, an engineer asking how to paste ChatGPT's Mathcad code was told there is no way to do it, so it gets retyped by hand (checked November 2026).
The Mathcad Prime API and Python
Mathcad Prime has an automation API for "communicating with PTC Mathcad Prime from another Windows application", available from Prime 3.1 (checked November 2026). It's a COM interface: a script opens a worksheet, sets values, recalculates and reads results back. Only variables you've designated in the worksheet as an Input or an Output can be set or read.
From Python, the usual route is MathcadPy, a community wrapper around that COM API. Separately, Prime 11 added Python as a scripting language for advanced controls inside a worksheet, though PTC notes that both the worksheet's creator and its recipient need Python installed (checked November 2026). Either way, the maths still runs in a licensed copy of Mathcad on a Windows PC.
Is there a Mathcad MCP server?
Not from PTC that we could find (checked November 2026). There is a community one: mathcad-mcp on GitHub, an MIT-licensed MCP server built on MathcadPy. It lets an assistant such as Claude Desktop open, save and close worksheets, set inputs, read outputs, recalculate and export to PDF, through Mathcad's COM automation. It needs Windows, Python 3.10 or later and an installed, licensed copy of Mathcad Prime 3.0 or later (checked November 2026). It isn't presented as a PTC product.
That's a real step: the AI calls Mathcad for the numbers instead of guessing them. But it inherits the API's limits. The assistant works through the inputs and outputs you've exposed, on one machine with one licence, and nothing records which version of the worksheet it ran or whether anyone checked it.
Why AI on calcs needs a checked base
AI is fast, and it's good at reading a brief and deciding what to check next. It isn't yet something you'd trust with the fundamentals. So the useful question isn't whether the AI can do the maths. It's whether the maths it uses is something your team has already checked.
That means a base of calcs a person has reviewed and signed off, pinned to a version, that the AI builds from rather than re-derives. In CalcTree that's your template library: a calc is reviewed in the workspace, saved as a template, and pulled into any page as a live template reference that runs a specific published version. CalcTree AI can search that library, drop checked templates into a page and write the rest of the calc around them, so the parts that matter most are ones your team already stands behind.
Your Mathcad worksheets are the obvious place to start that library.
The answer: turn each worksheet into a CalcTree page
A CalcTree page is a live calculation: inputs, equations with real units, outputs and checks, evaluated by CalcTree's engine on a server. Because it runs on a server with an API, any software can call it, including an AI assistant.
With the CalcTree LLM Skill installed, your AI can find the pages in your workspace, run them with its own inputs, and read back the results. The numbers come from your verified calc, not the model. As we put it in the skill: it does the reasoning, CalcTree does the maths.
So the route from Mathcad worksheet to AI skill is four steps.
1. Convert the worksheet
Create a new CalcTree page and choose Import from Mathcad, then select your Mathcad Prime .mcdx file. Variables, equations, units and results come across as a live, editable page. Mathcad 15 .xmcd files need re-saving as .mcdx in Prime first. The details are in how to convert Mathcad files to CalcTree.
Got a library of worksheets, or one that won't come across cleanly? Send us your Mathcad files and we'll convert them for you.
2. Check it and sign it off
This is the step that makes the AI trustworthy, so don't skip it. Run the converted page with the same inputs you used in Mathcad and confirm the outputs match. Then have it checked the way you'd check any calc: reviews happen in the workspace, with version history and a record of who checked what. Lock the page so the logic can't drift.
Now you have one verified version of the method, and that's the version every person and every AI will use.
3. Connect your AI
You need an API key from your workspace settings and the skill file:
- Claude (claude.ai and desktop): upload the skill zip under Settings > Features, and turn on network access.
- Claude Code: install the CalcTree plugin from the calctree-skills marketplace.
- ChatGPT and Gemini: attach the skill document to your conversation.
- Cursor, Codex and other coding agents: point them at the AGENTS.md file in the calctree-skills repo.
The setup docs walk through each one. The API is on the free plan.
4. Ask it to use your calc
Now you just ask. For example:
Size the steel beam for the plant room in the attached brief. Use our simply supported beam check, and tell me whether the 310UB40 works.
The AI reads the brief, works out the loads, finds your beam page, runs it with those inputs and reads back the bending moment, deflection and pass or fail. If the inputs need changing, it runs the page again. You can open the page and see exactly what it ran.
What else this opens up
Once your worksheets are CalcTree pages, the AI can do more than call them:
- Build new calcs from a prompt. Describe a check in plain English and the AI builds a live page with inputs, formulas, units and pass or fail checks, ready for an engineer to review.
- Export a report. Ask for a PDF and get a formatted report with a title page, contents and maths notation, without leaving the conversation.
- Review against documents. CalcTree AI checks a calc against the design basis, site report or standard uploaded to the page.
- Python on the same page. Inline Python cells sit next to the maths, read page variables by name (units included) and recompute when an input changes, so you don't have to choose between readable maths and code.
And the same verified page isn't only for AI. Engineers use it in the browser, the Excel add-in runs it across a spreadsheet of cases, and the API runs hundreds of cases in one request. One checked method, used everywhere.
A few things to know
- Want a hand setting it up? The CalcTree LLM Skill page covers each AI tool, or talk to our team and we'll get it running with you.
- Check what the AI sends. The maths is deterministic, but the inputs come from the AI's reading of your brief. Treat its inputs the way you'd treat a graduate's: check them before you rely on the result.
- Start with the calcs you use most. Convert and verify five or ten, connect your AI, and add more as people ask for them.
Frequently asked questions
Can ChatGPT or Claude run my Mathcad worksheets?
Not on their own. A community MCP server can let Claude drive a licensed copy of Mathcad Prime on your Windows PC through PTC's automation API, setting inputs and reading outputs. To let any assistant run a checked version of the calc without that setup, convert the worksheet to a CalcTree page and connect the AI with the CalcTree LLM Skill.
Do I have to rebuild my worksheets?
No. The converter imports Mathcad Prime .mcdx files as live pages. You check the result against the original, but you don't retype the calc.
Does the AI do the maths?
No. The AI chooses the inputs and reads the results; CalcTree's engine does the calculation with real units. That's the point: the numbers come from a calc your team has checked.
Which AI tools work with it?
Claude, ChatGPT, Gemini, Cursor and any assistant or agent that supports skills or tool use.
Does Mathcad Prime have an AI assistant?
We couldn't find one documented. The Mathcad Prime 12 release notes list no AI features (checked November 2026). PTC suggests using generative AI to write scripts for advanced controls.
Is there a Mathcad MCP server?
Not an official one that we could find. The community mathcad-mcp project on GitHub wraps the Mathcad Prime automation API for MCP clients such as Claude Desktop. It needs Windows and a licensed copy of Mathcad Prime.
Does Mathcad Prime have an API?
Yes. It has a COM automation API for Windows, from Prime 3.1, that opens worksheets, sets inputs and reads outputs. Python users usually reach it through the community MathcadPy wrapper.
Should I move from Mathcad to Python or Jupyter instead?
Python is easy for AI to write and easy to automate, but a notebook loses the readable maths notation and built-in units that make a calc checkable by someone else. CalcTree keeps both: maths with real units, and inline Python cells on the same page that share its variables.
Is it free?
The Mathcad converter, the API, the Excel add-in, Python and an AI allowance are all on CalcTree's free plan. Paid plans are US$14 to US$34 per user per month, and give you more pages than the free allowance plus more in-app AI tokens.
Want to try it on your own work? Send us a Mathcad worksheet and we'll convert it and set it up as a tool your AI can call, or try CalcTree free.



.png)