Claude Code CAD: The Short Version
Claude Code CAD work means letting Anthropic’s agentic coding tool write, run and review CAD automation code, from NXOpen journals to CadQuery models, and drive CAD applications through public MCP servers. inteliScience, a Siemens NX and NXOpen specialist delivering from Romania, connects Claude Code to live NX sessions with preview, confirmation and one undo step per change.
| CAD task | Claude Code on its own | With a public MCP server | With an in-NX integration |
|---|---|---|---|
| Write, explain or refactor an NXOpen journal | yes, an engineer runs and reviews it | not needed | not needed |
| Parametric part family in CadQuery | yes, the code is the model | optional | not applicable |
| Edit a FreeCAD model or an AutoCAD LT drawing | through macros and scripts | yes, community servers exist | not applicable |
| Read the part that is open in Siemens NX | no, it cannot see the session | early community servers | yes, through read tools |
| Change a part under Teamcenter control | no | not advisable | yes, with preview, confirmation, undo and log |
The Problem: Claude Code Is a Coding Agent, Not a CAD System
Claude Code has no geometry kernel, no viewport and no feature tree. Anthropic describes it as an agentic coding tool that reads your codebase, edits files, runs commands and integrates with your development tools, in the terminal, an IDE, a desktop app or the browser (Claude Code overview). Everything it does to a CAD model therefore goes through one of two doors: code that a CAD system executes, or a tool that a CAD system exposes.
For interactive design that is a real limitation. For CAD automation it is the right shape, because most repetitive work in a mechanical engineering department already runs through code somewhere: NXOpen journals, FreeCAD macros, AutoLISP routines, a CadQuery script that generates a family of brackets.
The other half of the problem is pace. Claude Code shipped version 2.1.289 on 3 October 2026 (release notes), Claude Opus 5.5 (claude-opus-5-5) arrived on 22 September 2026 (Opus 5.5 announcement) and Claude Sonnet 5.5 (claude-sonnet-5-5) on 28 September 2026 (Sonnet 5.5 announcement). The previous generation already showed where this is heading: in the announcement of Claude Opus 5, Anthropic describes a benchmark task in which the model received a drawing of a machine part, with no way to view it directly, and had to write code that rebuilds it as a 3D FreeCAD model. Anthropic reports that it succeeded repeatedly, while no competing model with the same setup solved it in five attempts (Anthropic, 24 July 2026).
Impressive, and still one vendor-reported task. A release-ready part in your PDM is a different bar. This guide is about the distance between the two.
Writing and Reviewing CAD Scripts With a Human in the Loop
Our clear recommendation: start with scripts. This is where Claude Code for CAD pays off today, because the output is text an engineer can read, diff and run on a scratch part before it touches production data. The loop is short: the engineer describes the operation, Claude Code writes the script and runs what it can run locally, the engineer executes it in the CAD system and reviews the result.
Script-based CAD is the most natural fit, because there the code is the model. CadQuery, the Python library on the OpenCascade kernel (version 2.8.0 from 20 June 2026, about 5,800 GitHub stars, retrieved 4 October 2026), lets Claude Code generate a part, export STEP and check the result without opening a CAD GUI or installing any MCP server. A request such as “flange, 120 mm outside diameter, six bolt holes on a 90 mm circle” comes back as something like this:
# CadQuery: parametric flange, all dimensions in mm
import cadquery as cq
outer_d, bore_d, thickness = 120.0, 40.0, 12.0
bolt_circle_d, bolt_hole_d, bolt_count = 90.0, 9.0, 6
flange = (
cq.Workplane("XY")
.circle(outer_d / 2)
.extrude(thickness)
.faces(">Z").workplane()
.hole(bore_d) # through-bore at the centre
.faces(">Z").workplane()
.polarArray(bolt_circle_d / 2, 0, 360, bolt_count)
.hole(bolt_hole_d) # bolt holes on the pitch circle
)
cq.exporters.export(flange, "flange.step")
What the engineer reviews is not the syntax. It is whether the named dimensions match the drawing, whether the holes go through, and whether the STEP file opens cleanly in the target system.
For Siemens NX the same loop runs through NXOpen, the official automation API with bindings for C++, C#, VB.NET, Java and Python. Claude Code writes the journal, the engineer plays it in NX on a test part. Here is a plain example with no AI wiring at all: it lists the expressions of the work part and changes one of them under a named undo mark.
# NXOpen Python journal for Siemens NX: play it on a test part, never on released data
import NXOpen
def main():
session = NXOpen.Session.GetSession()
work_part = session.Parts.Work
lw = session.ListingWindow
lw.Open()
if work_part is None:
lw.WriteLine("Open a part first.")
return
for expr in work_part.Expressions:
lw.WriteLine(f"{expr.Name} = {expr.RightHandSide}")
# One named undo mark: a single Undo takes the change back
mark = session.SetUndoMark(NXOpen.Session.MarkVisibility.Visible, "Set wall thickness")
expr = work_part.Expressions.FindObject("wall_thickness")
work_part.Expressions.Edit(expr, "3.5")
session.UpdateManager.DoUpdate(mark)
if __name__ == "__main__":
main()
Three other jobs suit this kind of AI CAD scripting well. Explaining and refactoring old journals, for example VB.NET code that should move to C# or Python. Writing the parts nobody enjoys: logging, error handling, unit conversion. And reviewing a colleague’s NXOpen code for builders that are never destroyed or paths that are hard-coded. FreeCAD macros and AutoLISP routines follow the same pattern. Why generated NXOpen fails, and how to ground it, is the subject of our analysis of NX Open code generation with AI.
Public MCP Servers for CAD Tools: What Exists in October 2026
MCP, the Model Context Protocol, is the open standard Anthropic introduced on 25 November 2024 for connecting AI applications to tools and data (modelcontextprotocol.io). Claude Code speaks it natively, so any CAD application with an MCP server becomes something Claude can operate, within the limits of that server. This is what we found public for the four CAD systems people ask about most, read from each project’s own documentation as of 4 October 2026:
| CAD system | Public MCP server (example) | What it exposes | Maturity signal |
|---|---|---|---|
| AutoCAD | autocad-mcp, community | 8 consolidated tools for drawings, entities, layers, blocks and annotations; drives AutoCAD LT 2024 or newer on Windows, or writes DXF headless | more than 500 GitHub stars |
| FreeCAD | freecad-mcp, community | create and edit models, run Python scripts, inspect documents, run FEM analyses | more than 2,600 GitHub stars; release 0.1.25 on 24 September 2026 |
| CadQuery | cadquery-mcp-server, community | a verification tool for CadQuery models; its generation tool is still a stub | small project; most teams let Claude Code run CadQuery directly |
| Siemens NX | NX_MCP, community | 16 default tools (part files, queries, sketch, extrude, undo); 34 older tools hidden and unverified; journal execution off by default | about 100 GitHub stars; validated in batch mode on NX 2506 |
Star counts were retrieved on 4 October 2026.
Two more entries belong on the map. Autodesk publishes its own reference MCP add-in for Fusion, whose tools run Fusion API scripts, capture viewport screenshots and search the API documentation (FusionMCPSample); every AutoCAD MCP server we found is a community project. For NXOpen there is a different category altogether: nxopen-mcp never touches a running NX session. It serves the NXOpen .NET reference from your own licensed installation to a coding agent, offline, so the agent stops inventing methods. For NXOpen developers that retrieval category is arguably the more useful one right now.
Our position on the servers that act is straightforward. They are good for learning and for watching the idea work on a scratch part. We would not connect any of them to a production NX session with Teamcenter-managed data, and the more careful projects say so themselves, with experimental flags, separate opt-ins for functions such as journal execution, and validation on a single NX release. Claude Code’s own MCP documentation tells you to make sure you trust each server before you connect it (Claude Code MCP docs). What a production server needs on top of that is covered on our Siemens NX MCP server page.
Skills and Plugins: Packaging CAD Know-How for Claude Code
Skills and plugins are how a CAD team stops repeating itself to Claude Code. Anthropic introduced Agent Skills on 16 October 2025 as “folders that include instructions, scripts, and resources that Claude can load when needed” (announcement) and opened the format as a standard in December 2025. Plugins arrived on 9 October 2025 as a way to package slash commands, subagents, MCP servers and hooks into one installable unit (announcement).
For CAD work the split is intuitive:
| Building block | What it is | CAD example | Enforces anything? |
|---|---|---|---|
| Skill | instructions plus optional scripts, loaded when relevant | a Claude Code CAD skill with your NXOpen conventions: target NX release, units, expression naming, a review checklist for journals | no, it guides behaviour |
| MCP server | a program that exposes tools Claude can call | a FreeCAD or Siemens NX server with query or modelling tools | only what the server itself checks |
| Plugin | a package of skills, subagents, hooks and MCP servers | one install that gives every designer the same CAD setup | through the hooks and servers it ships |
| Permission rules and hooks | controls in the Claude Code client | ask before any tool that changes geometry; block folders with released data | yes, evaluated deny, then ask, then allow |
The last row is the one teams skip. Anthropic’s own documentation is explicit that CLAUDE.md instructions are context for Claude, not enforced configuration (Claude Code memory docs), and the same logic applies to skills: they make good behaviour likely, not guaranteed. The NX community server above makes the point itself: its bundled modelling skill “does not add permissions or replace code-enforced safety checks”. Hard limits belong in permission rules, which Claude Code evaluates deny first, then ask, then allow (permissions docs), and in the tool layer behind the MCP server.
September 2026 added three things a CAD department rolling this out will use. Since version 2.1.259 on 2 September, administrators can give every user a set of approved remote MCP servers through managed settings (release notes). Version 2.1.269 on 11 September added a built-in command that runs a plugin’s eval suite with scored, reproducible results, and 2.1.275 on 17 September syncs the skills and plugins enabled on a claude.ai account to terminal sessions. A CAD skill set can now be distributed, tested and governed like any other engineering software. Two later changes matter for the same rollout: version 2.1.285 on 29 September added a managed setting that limits which API providers a machine may use (release notes), and 2.1.289 on 3 October fixed Read deny rules not applying to files @-mentioned or selected in the IDE through a symlink, one more reason to keep every CAD workstation on a current release.
Where Claude Code CAD Work Fits, and Where an In-NX Integration Is Needed
The dividing line is simple. Claude Code on its own is enough when the result is a file that an engineer runs. It is not enough when Claude should see and change the part that is open in Siemens NX right now. Claude Code runs natively on Windows, so it can sit on the same workstation as NX, but sitting next to the session is not the same as seeing into it.
Claude Code on its own covers:
- script and journal development, review and refactoring
- CadQuery or build123d part families where the code is the master
- batch jobs an engineer starts, such as drawing exports or attribute checks
- learning NXOpen with a patient colleague who explains every builder
A live integration is needed for reading the feature tree, expressions and PMI of the open part, for building features that stay editable in the Part Navigator, for any change on data under Teamcenter control, and as soon as more than a handful of designers need the same rules. For that, inteliScience, a Siemens NX, NXOpen and Teamcenter specialist, builds the connection: Claude works in the engineer’s live NX session under the engineer’s own licence and permissions, every changing call is shown first and applied only after confirmation, each change is one undo step, and every call is visible in a log. The engineer releases, not the model.
The product that carries this into NX is the Vision4NX Connector, which also gives Claude curated NX Open and Teamcenter knowledge. The geometry side, sketches, extrudes, holes, chamfers and blends built as editable features with one undo step each, is described on our page on AI CAD modeling in Siemens NX.
Want Claude Code working on the part that is open in NX? How we connect it to a live Siemens NX session, with a preview, a confirmation and one undo step per change, is on our Claude NX integration page.
PLM is its own layer. Where-used queries, revisions and workflow steps in Teamcenter belong behind a separate, permission-scoped server, which we cover in our guide to the Teamcenter MCP server.
We advise against starting with write access. Scripts first, read-only access to the session second, write access last: that order lets designers see Claude understand their parts before it changes one, and it keeps the pilot about value instead of trust.
The Limits: Hallucinated APIs, Version Drift and Your IP
Three limits decide whether Claude Code CAD work saves time or creates rework, and a better model alone solves none of them.
Hallucinated APIs
Code models still invent things. Spracklen et al. found hallucinated package names in at least 5.2% of outputs from commercial models and 21.7% from open-source models, across 576,000 code samples (USENIX Security 2025). A 2026 re-test of five frontier models, including Claude Sonnet 4.6 and Claude Haiku 4.5, still measured 4.62% to 6.10% over 199,845 prompts (arXiv:2605.17062).
Those numbers come from Python and JavaScript, where public code is abundant. NXOpen is a niche with sparse public training data, as the nxopen-mcp project states in its README, so expect invented builders, properties and enum values. The fix is grounding and testing: the API reference of your NX release, a journal recorded in NX for the same operation, and a scratch part to run on.
Version drift
A model knows an API as it was in its training data. NXOpen moves with every Siemens NX release, and so do names: with the June 2026 release on 23 June 2026, Siemens renamed Designcenter NX to Designcenter (Siemens blog). Pin the NX version in every request, keep a small regression set of journals per release, and treat “it compiled” as the start of the review, not the end.
IP and data handling
Claude Code runs locally, but prompts, the files it reads and its outputs travel to the model provider. Under commercial terms (Team, Enterprise, API and third-party platforms such as Amazon Bedrock or Google Cloud) Anthropic does not train generative models on code or prompts sent to Claude Code. Consumer plans such as Pro and Max have a model-improvement setting, with 30 days of retention when it is off and five years when it is on (Claude Code data usage).
For company CAD work that means a commercial plan, deny rules that keep native part files and export-controlled folders out of reach, and a review of every third-party MCP server and plugin before installation, because both run with your user privileges.
Productivity claims deserve the same scepticism. In a randomised study of 16 experienced open-source developers working on 246 tasks, AI tools made them 19% slower, although afterwards they believed they had been 20% faster (METR, July 2025). That study used early-2025 tools and the models have moved on since. The lesson for a CAD pilot holds anyway: measure minutes per finished, reviewed script, not impressions.
What to Check Before a CAD Team Adopts Claude Code
- A commercial plan or cloud provider. Team, Enterprise, API, or Claude through Amazon Bedrock, Google Cloud or Microsoft Foundry. The free claude.ai plan does not include Claude Code.
- One pinned CAD release per project. The NX or FreeCAD version, written into the skill and into every request.
- A scratch environment. Test parts and a test folder where generated scripts run first, never released data.
- A named reviewer. One engineer reads and runs every script before it reaches a shared library.
- Deny rules before allow rules. Native part files, PLM exports and export-controlled data stay unreadable for Claude Code.
- Vetted third-party code. Every MCP server and plugin reviewed like any other software on a CAD workstation.
- A metric. Reviewed scripts per week or minutes per change, measured before and after.
Frequently Asked Questions
Can Claude Code create 3D CAD models?
Yes, indirectly: Claude Code writes and runs code, so it creates 3D models through script-based CAD such as CadQuery or build123d, through macros and journals for FreeCAD or Siemens NX, or through an MCP server that exposes the modelling operations of a running CAD application. It has no geometry kernel or viewport of its own, so the reliable results today are parametric parts an engineer checks in the CAD system before release.
Which CAD programs have MCP servers that work with Claude Code?
As of October 2026, public MCP servers exist for FreeCAD, AutoCAD LT, CadQuery and Siemens NX, mostly community projects on GitHub, and Autodesk publishes a reference MCP add-in for Fusion. Maturity varies widely: the most-starred FreeCAD MCP server has more than 2,600 GitHub stars, while the Siemens NX servers we found are early experiments, the furthest one validated on a single NX release in batch mode. Treat every one of them as third-party code that runs with your user rights.
Can Claude Code work with Siemens NX?
Yes, in two ways. It can write and review NXOpen code in Python, C# or C++ that an engineer then runs in NX, or it can be connected to a running NX session through an MCP server so that it reads the open part and builds features. The first works with any Claude Code installation; the second needs a tool layer with a preview, a confirmation and one undo step per change, which is what we set up for NX teams.
Does Claude Code hallucinate CAD API calls such as NXOpen methods?
It can, and niche CAD APIs are where the risk is highest. Research found hallucinated package names in at least 5.2% of commercial-model outputs, and a 2026 re-test of five frontier models still measured 4.62% to 6.10%, both in the well-documented Python and JavaScript ecosystems. For NXOpen, with far less public code, the defence is grounding in the API reference of your NX release, a recorded journal for the same operation, and a test run on a scratch part before review.
Is it safe to use Claude Code with confidential CAD data?
It can be, if plan and setup fit. Under commercial terms such as Team, Enterprise, the API or Amazon Bedrock, Anthropic does not train on code or prompts sent to Claude Code, while consumer plans have a model-improvement setting that must be checked. Whatever Claude Code reads into its context goes to the model provider, so keep native part files and export-controlled data out of reach with deny rules, and review every MCP server and plugin, because both run with your user rights.
Next Step
Bring one script your team maintains and one NX operation you repeat every week. inteliScience’s NXOpen engineers, delivering nearshore from Romania, will tell you which of the two is ready for Claude Code today and which needs a live NX connection first, and an NX Sprint shows it running on a part like yours.
Talk to our NXOpen engineers about Claude Code for your CAD team

