PlugWiki
SolidworksMCP-TS logo

SolidworksMCP-TS: community SolidWorks MCP server for Claude

CommunityLocal
Getnpmsolidworks-mcp-servervespo92/solidworksmcp-ts

Lets Claude open models, sketch, extrude, export and run macros in the SOLIDWORKS on your Windows PC.

A free community server that lets Claude drive the copy of SOLIDWORKS running on your Windows PC. It can create parts and sketches, set dimensions, read mass properties, export files and write or run VBA macros from plain requests. It is an early experiment: the author says most tools have not been tested against a live SOLIDWORKS, so expect gaps and keep backups. Dassault does not make or support it.

Good for

  • SOLIDWORKS users who want to try sketching and simple parts from plain-English requests
  • CAD engineers who want VBA macros written for repetitive work like configurations or batch exports
  • Drafting teams copying title block and template settings across many drawings
  • Developers exploring AI control of desktop CAD on Windows

Works in

1 supported · 11 should work

Tap an app to see how to set it up and any known problems.

Install SolidworksMCP-TS MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the SolidworksMCP-TS MCP server to Claude Code. Run this command:
    
    claude mcp add solidworks -- node C:/path/to/SolidworksMCP-TS/dist/index.js
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Windows 10 or 11, SOLIDWORKS 2021-2025, licensed and installed, Node.js 20 or later, Visual Studio C++ build tools.

Read-only mode: No read-only mode. Work on copies of your files.

Windows only, with SOLIDWORKS installed on the same PC. Build it from source as shown: the README says installing from npm does not work because the winax module must be compiled on your PC, and the npm release (3.1.3) also lacks later fixes for extrusions on SOLIDWORKS 2024 and later. If the build fails, see the troubleshooting guide. The author also says SOLIDWORKS macro security must be set to Low.

Built from the package data we hold. Not yet tested by us.

Tools

  • Opens a part, assembly or drawing file

    Opens a SOLIDWORKS part, assembly or drawing file from a path on your PC.

    Try: “Open C:/Projects/bracket.sldprt.”

    Files · open_model

  • Starts a new part

    Creates a new, empty SOLIDWORKS part document.

    Try: “Create a new part.”

    Write · create_part

  • Starts a sketch on a plane or face

    Creates a new sketch on the plane or face you name, such as the Front plane.

    Try: “Start a sketch on the Front plane.”

    Write · create_sketch

  • Draws a line in the sketch

    Draws a straight line between two points in the active sketch.

    Try: “Draw a 40 mm horizontal line from the origin.”

    Write · sketch_line

  • Draws a rectangle in the sketch

    Draws a rectangle in the active sketch.

    Try: “Sketch a 50 x 30 mm rectangle centred on the origin.”

    Write · sketch_rectangle

  • Draws a circle in the sketch

    Draws a circle with a given centre and radius in the active sketch.

    Try: “Draw a 10 mm diameter circle at the origin.”

    Write · sketch_circle

  • Draws an arc in the sketch

    Draws an arc in the active sketch.

    Try: “Draw a 90 degree arc with a 20 mm radius.”

    Write · sketch_arc

  • Draws a centerline in the sketch

    Draws a construction centerline in the active sketch, for example to mirror or revolve about.

    Try: “Add a vertical centerline through the origin.”

    Write · sketch_centerline

  • Draws a regular polygon in the sketch

    Draws a regular polygon, such as a hexagon, in the active sketch.

    Try: “Draw a hexagon 20 mm across the flats.”

    Write · sketch_polygon

  • Draws a smooth curve through points

    Draws a spline through the points you give in the active sketch.

    Try: “Draw a spline through (0,0), (10,5) and (20,0).”

    Write · sketch_spline

  • Draws an ellipse in the sketch

    Draws an ellipse in the active sketch.

    Try: “Draw an ellipse 30 mm wide and 15 mm tall.”

    Write · sketch_ellipse

  • Adds a relation like horizontal or tangent between sketch items

    Adds geometric relations between sketch entities, such as horizontal, parallel or tangent.

    Try: “Make these two lines parallel.”

    Write · add_sketch_constraint

Read from the source code

Pros and cons

Good

  • Free and open source under the MIT licence.
  • Covers sketches, extrusions, dimensions, drawings, exports, mass properties and interference checks.
  • Writes VBA macros for sheet metal, configurations, equations and batch jobs you can review before running.
  • Copies drawing template settings from one drawing to many.
  • Runs entirely on your PC; nothing goes to a third-party service except your AI app.
  • The author fixes reported bugs quickly.

Watch out

  • Windows only, and needs a licensed SOLIDWORKS installed.
  • Alpha: most tools are untested on a live SOLIDWORKS.
  • No revolve, fillet or chamfer tool; some shapes need finishing by hand.
  • Install compiles a native module and often fails without the right C++ build tools.
  • Fixes for extrusions on SOLIDWORKS 2024 and later are only on the main branch, not in the npm release.
  • No read-only mode, and setup asks you to lower macro security.
  • Only Claude Desktop is documented.

Permissions

high risk · 6 things to watch

High risk

It can change and close your models, write files and run any SOLIDWORKS macro file, and macros can do anything your Windows account can. Work on copies of your files, and only let it run macros you have read.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It runs any macro file it is given

    Three tools run SOLIDWORKS macro files by path, and VBA macros can do anything your Windows user can. Read a macro before you let it run. github.com

  • Setup asks you to lower macro security

    The author says SOLIDWORKS macro security must be set to Low, which also lets other macros run without a prompt. Set it back when you are done. github.com

  • It can write files and close without saving

    Export, template and macro tools write wherever the assistant points them, and it can close a model without saving. Keep backups and use a work folder. github.com

  • Most tools are untested

    The README calls it alpha and says most tools have not been checked against a live SOLIDWORKS. Try it on test parts first. github.com

  • It can connect to SQL databases

    Design table tools can pull from SQL Server or Postgres if you set a connection string. Leave those unset unless you need them. github.com

  • Dependency warnings on install

    One user's install reported 10 dependency warnings, one of them critical, in April 2026. github.com

Security advisories

No published security advisories as of Nov 1, 2026.

Technical details
Turning on read-onlyNo read-only mode or tool filter. Every tool, including macro execution, is registered at startup; only the PDM tool is behind a switch (ENABLE_PDM).
Talks toNone by default; optional SQL Server or Postgres for design tables
Sign-in and keysNone: local stdio server running as your Windows user.

Alternatives

Try this server for quick sketch, extrude and macro work from Claude Desktop. SolidPilot and SolidworksMCP-python are the alternatives to look at if you want more tools, newer SOLIDWORKS versions or a Python install.

ServerOfficialRunsCan change thingsGitHub stars
For SolidWorks
SolidworksMCP-TSThis pageCommunityLocalYes247
SolidworksMCP-pythonCommunityLocal–88
SolidWorks (hjbaard)CommunityLocal–20
Other tools for the same job
SolidPilotCommunityLocal––
solidworks-automation-skillCommunityLocal––

What people say

Early users like seeing Claude sketch in SOLIDWORKS from a plain request, and dislike how hard it is to install and how often tools fail.

What people like

  • It drew sketch geometry from a plain request once the install worked.
  • The author answers bug reports and ships fixes within a day or so.

Common complaints

  • Missing operations like revolve mean some shapes stop halfway.
  • Extrusions failed with errors across several releases.
  • Building the native module on Windows is the most common install problem.
  • A user reported serious problems with SOLIDWORKS 2022.

In their words

4 more quotes

Questions

Is there an official SOLIDWORKS MCP server?

No. Dassault's AI features are built into its own products, such as the AI companion in SOLIDWORKS 2026 and the Aura, Leo and Marie assistants on 3DEXPERIENCE. This server is a community project.

Is it free?

Yes, the server is free and open source. You still need a licensed copy of SOLIDWORKS and an AI app such as Claude Desktop.

Does it work on a Mac or Linux?

No. It controls SOLIDWORKS through Windows, so it needs Windows 10 or 11 with SOLIDWORKS installed on the same PC.

Which SOLIDWORKS versions does it support?

The README lists 2021 to 2025. The author tested on 2023, a user reported problems with 2022, and extrusions on 2024 and later need fixes that are only on the main branch.

Is it safe?

It runs only on your PC, but it can change and close models, write files and run macro files, which can do anything your Windows account can. Work on copies and read any macro before it runs.

Do I need to change macro security?

The author says SOLIDWORKS macro security must be set to Low. That also lets other macros run without asking, so set it back when you finish.

Is it ready for real design work?

Not yet. The author calls it alpha and says most tools have not been tested on a live SOLIDWORKS. Sketches and simple extrusions are what people have seen work.

Why does install fail on Windows 11?

It compiles a native module that needs Visual Studio C++ build tools, and recent versions of those tools break it. The troubleshooting guide's fix is to pin an older version of that module or use older build tools.

Can I install it with npx?

No. The README says npm installs do not work because the native module has to be compiled on your PC, so clone the repo and build it. Then point your AI app at the built server, as the setup box above shows.

Can I use it with Claude Code or Cursor?

Only Claude Desktop is documented. Claude Code, Cursor and other apps that start a local server on the same Windows PC should work with the built server, using the setup box above.

Examples

  • Sketch a rectangle and extrude it into a part

    Create a new part, sketch a 50 x 30 mm rectangle on the Front plane and extrude it 10 mm.

  • Read the mass and size of the open model

    Give me the mass, volume and bounding box of the model that is open in SolidWorks.

  • Export the open part to STEP

    Export the open part as a STEP file to C:/Exports.

  • Copy drawing template settings to many drawings

    Extract the template from parent.slddrw and apply it to every drawing in C:/Drawings.

Information

updated Nov 2, 2026

Publisher
Community
Package
solidworks-mcp-server
Registry
npm
Transport
stdio
Auth
None
Version
3.1.3
License
MIT
Last commit
Sep 20, 2026
Open issues
1

GitHubnpmChangelogIssues

Other SolidWorks MCP servers

Sources

Docs, issue trackers and discussions this page is built from. Issues, quotes and findings above link to their own source.

Show all 16
  1. SolidWorks MCP Server README · github.com
  2. TROUBLESHOOTING.md · github.com
  3. src/index.ts · github.com
  4. src/tools · github.com
  5. native-macro.ts · github.com
  6. Failed to connect to MCP server · github.com
  7. New SOLIDWORKS AI agents added at 3DEXPERIENCE World · develop3d.com
  8. Dassault Systemes announces SOLIDWORKS 2026 · 3ds.com
  9. SolidWorks version · github.com
  10. create_extrusion error · github.com
  11. Generated macro files are rejected by SOLIDWORKS with a 'Cannot open .swp' dialog · github.com
  12. Windows 11 install failure · github.com
  13. Server fails to start in Claude Desktop on Windows 11 until C++ build tools are installed · github.com
  14. SolidPilot (eyfel/mcp-server-solidworks) · github.com
  15. SolidworksMCP-python · github.com
  16. solidworks-automation-skill · github.com

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.