SW_MCP

MCP server that drives a running SOLIDWORKS session over its COM API, with sketch tooling and build-pipeline fixes.

MCP serverOpen sourceActiveMCAD

What it does and how it connects

SW_MCP is an MCP server that drives a running SOLIDWORKS session over its COM API. It continues solidworks-mcp by JIALE LIU (Apache License 2.0), forked at commit 6019ce0 of 2026-08-16 after upstream went quiet. On top of it: fallbacks to earlier COM method variants for older SOLIDWORKS releases (verified on 2016 SP3), sketch tooling (fully_define_sketch, entities without inferencing, origin selections, diameter dimensions, rectangles and slots from lines and arcs), list_open_documents, close_document, silent save and export, and fixes found while driving the server from an automated build pipeline. The Python package and the console script keep the names solidworks_mcp and solidworks-mcp, so existing configurations keep working.

It does not launch SOLIDWORKS, register an add-in, execute arbitrary code, or touch the network. It attaches to a session already open and calls the documented API, so if a tool cannot do something, neither could a macro. It ships 122 tools: sketching with real relations and driving dimensions, the solid features most often reached for, sheet metal with its flat pattern and DXF export, weldments from 3D sketches, reference geometry, assemblies and mates, and a feedback channel including screenshots returned as images so the model can see what it just built.

Requirements are Windows with SOLIDWORKS installed and already running, and Python 3.12. Units are explicit always: every length parameter ends in _mm and every angle in _deg, with conversion once at the boundary. A sibling server, autocad-mcp, does the same for AutoCAD.

What engineers report

  • create_new_document without a template never uses the default template set in SOLIDWORKS.
  • solidworks-mcp (alisamsam)

    An MCP server to automate SolidWorks with Claude AI, with 22 tools for parts, sketches and features, rather than a 122-tool fork with older-release fallbacks and sketch tooling.

  • solidworks-mcp (hjbaard)

    Lets AI agents build, measure and verify parametric parts and assemblies in a running SolidWorks over COM, rather than continuing the Slacker-LLC server with build-pipeline fixes.

  • solidworks-mcp (just1step)

    A general MCP adapter that lets AI assistants operate, analyse and automate SolidWorks modeling, rather than the d-veloping fork's sketch tooling and older-release COM fallbacks.

Recurring errors it addresses

Error Index entries this tool is built to reduce or work around.

Sources

  1. 1READMEgithub.com
  2. 2User issue 36github.com

Not verified

  • Pricing (none stated on the repo)
  • Latest release (no GitHub release exists)
  • Standalone website (repo only)

Last verified November 6, 2026. Listings are informational. The evidence score measures public, verifiable evidence and is not an endorsement or a compatibility claim.