SolidWorks

Registre officiel Sécurité

Model, measure and verify parametric parts and assemblies in a running SolidWorks (Windows).

Que pouvez-vous faire avec SolidWorks ?

  • Parts: sketches, extrudes, revolves, sweeps and lofts; holes, threads,
  • Checking: each step reports volume, mass and size; dimensions and mates
  • Assemblies: insert and place components, mate them, swap parts, check
  • Drawings: ISO sheets with a title block, views, sections and details,
  • Your own parts: open existing parts and STEP files, change dimensions
  • 3D printing and export: STEP, STL and 3MF export, screenshots,

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

PYPI package sw-mcp
Claude Code
claude mcp add solidworks -- uvx sw-mcp==0.1.0
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "solidworks": {
            "command": "uvx",
            "args": [
                "sw-mcp==0.1.0"
            ]
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. sw-mcp
  2. What it can do
  3. Get started
  4. Requirements
  5. Good to know
  6. Help and feedback
  7. Credits and license

sw-mcp

Let an AI agent (Claude, or any other MCP client) design parts, assemblies and drawings in your own SolidWorks, and check its own work as it goes. After every step it measures the result, so it can compare it with what you asked for and fix mistakes instead of guessing.

sw-mcp is a fork of SolidWorks-MCP by Henk Jan Baard and the SolidWorks connector of Jig. It works with any MCP client.

All built by an agent through sw-mcp: a mounting bracket, an M10 bolt with a real thread, a vase, a swept pipe and a lofted horn.

What it can do

  • Parts: sketches, extrudes, revolves, sweeps and lofts; holes, threads, slots and pockets on any face; fillets, chamfers, shells, ribs, patterns and mirrors. Every sketch is fully defined, so the part stays editable.
  • Checking: each step reports volume, mass and size; dimensions and mates are measured back. A step that can't be done fails with a clear reason instead of producing wrong geometry.
  • Assemblies: insert and place components, mate them, swap parts, check interference and step joints through their range of motion.
  • Drawings: ISO sheets with a title block, views, sections and details, dimensions, hole callouts, surface finish and GD&T symbols, tables, and export to PDF, DXF or DWG.
  • Your own parts: open existing parts and STEP files, change dimensions and equations, set materials, and build on sketches you drew.
  • 3D printing and export: STEP, STL and 3MF export, screenshots, printability checks, and comparing a part with a scanned mesh.

Get started

  1. Install uv.
  2. Start SolidWorks and leave it open.
  3. Add the server to your MCP client. In Claude Code:
     claude mcp add solidworks -- uvx sw-mcp

Claude Desktop or another client

   {
     "mcpServers": {
       "solidworks": {
         "command": "uvx",
         "args": ["sw-mcp"]
       }
     }
   }

With Jig there is nothing to add: the plugin starts sw-mcp itself.

  1. Ask for a part:

    Design a 100 × 80 × 8 mm mounting plate with a Ø16 mm centre bore, four counterbored M5 holes 12 mm from the corners and R5 corners. Then export an STL.

Requirements

  • Windows with SolidWorks installed and running. The server connects to the open SolidWorks; it doesn't start it.
  • Tested on SOLIDWORKS 2026. 2020 and newer should work but are untested.
  • To check your setup, run this with SolidWorks open. It builds a few small test parts and closes them without saving:
    uvx sw-mcp --selftest

Good to know

  • Early version (0.x): it works end to end, but tool names may still change. See the changelog.
  • Local: it talks only to the SolidWorks on your computer and makes no network calls.
  • Scripts are off by default: run_script runs any Python it's given, so it only works when you start the server with --allow-scripts.
  • Multibody parts: face and edge tools only see the first body.

All tools, the architecture and how to run the tests are in Docs/DEVELOPMENT.md.

Help and feedback

Something not working? Open a bug report with the output of uvx sw-mcp --selftest. Running a SolidWorks version other than 2026? A compatibility report helps, whether it worked or not.

Credits and license

MIT, see LICENSE. The original server is by Henk Jan Baard (hjbaard/SolidWorks-MCP); this fork is maintained by Nejc Dvorsek.

Questions fréquentes

Qu'est-ce que SolidWorks ?

Model, measure and verify parametric parts and assemblies in a running SolidWorks (Windows).

Comment installer SolidWorks ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add solidworks -- uvx sw-mcp==0.1.0. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour SolidWorks ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

SolidWorks est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient SolidWorks ?

Il est publié par NejcDvorsek. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.