SolidWorks MCP in TypeScript for Claude Code and Claude Desktop

SolidworksMCP-TS

An MCP server for SolidWorks in TypeScript: models, sketches, drawings, export and VBA macros. The author has not yet verified most tools

Install in Claude Code, Claude Desktop and SourceCraft

Manual install

git clone https://github.com/vespo92/SolidworksMCP-TS.git
cd SolidworksMCP-TS
npm install
npm run build

A global npm install does not work. Run through node from the dist folder; the SOLIDWORKS_PATH variable points to SolidWorks.

Access and checks

How we review

Broad access. The tool can change data, run commands or handle secrets.

  • Runs COM calls and VBA macros in your SolidWorks
  • The author has not verified most tools on a live program
  • Creates, changes and exports model files

This is third-party code. Review the repository files before installing.

What it does

The TypeScript server drives SolidWorks through the native winax module. According to the README the tools are grouped by category: modeling, sketches, drawings, export to STEP, IGES, STL, PDF, DWG and DXF, analysis, VBA generation and macros. For API methods with 13 or more parameters the server builds a VBA macro itself. The npm package solidworks-mcp-server is at version 3.1.3. Windows 10 or 11, a licensed SolidWorks 2021–2025 and Node.js 20 or newer are required; the SOLIDWORKS_PATH variable sets the path to the program.

Who it is for. For designers and CAD automators who work in SolidWorks and are ready to deal with VBA and COM.

Good fit when

  • You need to export models to STEP, STL or DXF in a batch
  • You need to generate a VBA macro for a complex API call
  • You need to build sketches and basic operations from the chat

Not a fit when

  • You need every tool proven: the author says most are not verified on a live SolidWorks
  • You have no Windows and no licensed SolidWorks

Example request

Build an 80 by 50 mm rectangle sketch, extrude it 20 mm and export the part to STEP

MCP

Transport
stdio
Authentication
not required

Keys and settings

SOLIDWORKS_PATH
Path to the installed SolidWorks

Limitations

The README warns directly: most tools are not verified on a live SolidWorks. Sketches (basic operations) are verified, modeling is partly verified, and drawings, analysis and macros are not. Global npm installation does not work because of the native winax module: clone the repository, run npm install and npm run build, then launch through node. The server runs COM calls and VBA macros in your SolidWorks, so work on a copy of the model.

How to disable. Remove the server entry from the client config and delete the repository clone. Check and delete any generated VBA macros by hand.

FAQ

Can I install it globally through npm?

No: the native winax module breaks a global installation. Clone the repository and run npm install and npm run build.

What has the author verified?

Basic sketch operations are verified and modeling is partly verified. The author has not verified drawings, analysis and macros on a live SolidWorks.

Which SolidWorks versions are supported?

SolidWorks 2021–2025 on Windows 10 and 11, with Node.js 20 or newer.

How is it different from the Python version?

This is a TypeScript server with export, VBA and drawings. The Python version is simpler and gives 22 tools for parts and sketches.

Which agents does SolidWorks MCP in TypeScript work with?

SolidWorks MCP in TypeScript works in Claude Code, Claude Desktop, SourceCraft, Koda and Coddy.

Does SolidWorks MCP in TypeScript need an API key?

No keys are required. Optional variables: SOLIDWORKS_PATH.

Discussion

No questions or reviews yet.

README in short

The README describes a TypeScript server for SolidWorks with categories for modeling, sketches, drawings, export, analysis and macros. It states separately that most tools are not verified on a live SolidWorks. Installation is from sources, and Windows and SolidWorks 2021–2025 are required. MIT license.

README badge

Report a problem