Skip to main content
Glama

solidworks-mcp

An MCP server that lets AI agents (Claude, ChatGPT, Cursor and any other MCP client) design in SolidWorks on your computer: parametric parts, lofted wings and propellers, swept tubes, sheet metal, weldment frames, assemblies with fasteners, GOST/ISO drawings, stress analysis and 3D-print checks.

Ask for "a 5-inch tri-blade propeller with a 5 mm bore", "an M6 tapped 3×2 hole grid in this plate" or "a square-tube frame along this sketch, then the cut list" - the agent calls the tools, checks the result with screenshots and measurements, and exports the files.

Русская версия

Highlights

  • 94 tools covering modelling, parametrics, fabrication, assemblies, drawings and analysis.

  • Parametric by design: named sketch dimensions, global variables, equations and configurations.

  • Aerospace generators: wings (NACA 4/5-digit or .dat airfoils, taper, sweep, dihedral, twist), propellers (pitch-correct blade twist), fuselages from cross-sections.

  • Manufacturing: Hole Wizard holes and real modelled threads, sheet metal with DXF flat patterns, weldment frames with cut lists, drawings with title-block properties, batch STEP/STL export.

  • Verification: mass properties, measurements, requirement checks, overhang analysis for 3D printing, interference detection, SolidWorks Simulation static studies.

  • Robust: failed features roll back automatically, every call has a timeout, a broken geometry kernel is detected, and every model change is journaled so a model can be rebuilt by replaying it.

  • Safe: starting SolidWorks and overwriting files need the user's approval, writes are confined to allowed folders, and only a fixed list of operations is reachable (no macros, no "run any API").

Related MCP server: solidworks-mcp

How it works

 Agent (Claude / ChatGPT / ...)
        │  MCP (stdio or HTTP)
        ▼
 solidworks-mcp  ───────────── Windows: talks to SolidWorks directly over COM
        │
        └── macOS: HTTP + token ──▶  solidworks-automation bridge   (inside a Windows VM)
                                              │ COM
                                              ▼
                                          SolidWorks

SolidWorks runs only on Windows. On a Mac, run it in a Windows VM and start the bridge inside the VM.

Requirements

  • SolidWorks 2018 or later (tested on SOLIDWORKS 2026); Simulation tools need a Premium or Simulation licence.

  • Python 3.12+ and uv.

Setup (Windows, same PC as SolidWorks)

git clone https://github.com/pilotarbuza/solidworks-mcp C:\tools\solidworks_automation
cd C:\tools\solidworks_automation
uv sync

Claude Desktop - add to claude_desktop_config.json (use the full path of uv.exe, from (Get-Command uv).Source):

{
  "mcpServers": {
    "solidworks": {
      "command": "C:\\Users\\you\\.local\\bin\\uv.exe",
      "args": ["--directory", "C:\\tools\\solidworks_automation", "run", "solidworks-automation"]
    }
  }
}

Claude Code:

claude mcp add solidworks -- uv --directory C:\tools\solidworks_automation run solidworks-automation

OpenAI Codex (~/.codex/config.toml):

[mcp_servers.solidworks]
command = 'C:\Users\you\.local\bin\uv.exe'
args = ["--directory", 'C:\tools\solidworks_automation', "run", "solidworks-automation"]
startup_timeout_sec = 60
tool_timeout_sec = 1800   # starting SolidWorks, drawings and simulations take minutes

HTTP clients: uv run solidworks-automation serve --transport streamable-http serves http://127.0.0.1:8000/mcp.

macOS (SolidWorks in a Windows VM)

  1. In the VM: uv sync then uv run solidworks-automation bridge --host 0.0.0.0 --port 8765. It prints a token (or set SW_BRIDGE_TOKEN).

  2. On the Mac: configure the client as above, with "env": {"SW_BRIDGE_URL": "http://<vm-ip>:8765", "SW_BRIDGE_TOKEN": "<token>"}. Keep the bridge on a host-only network or tunnel it over SSH.

Tools

Area

Tools

Session & documents

sw_status, sw_health, sw_connect, sw_new_document (part / assembly / drawing), sw_open, sw_close

Sketches

sw_create_sketch (lines, polylines with rounded corners, rectangles, circles, ellipses, arcs, polygons, slots, splines, points, NACA / .dat airfoils; patterns, mirroring, named dimensions, fully-defined sketches), sw_create_3d_sketch (paths with bend radii), sw_sketch_info

Solid features

sw_extrude, sw_cut_extrude (incl. thin walls), sw_revolve, sw_loft (solid / cut / surface, guides, tangency), sw_sweep (profile or circle, hollow tubes, twist), sw_rib, sw_draft, sw_shell, sw_fillet, sw_chamfer, sw_mirror

Curves, surfaces, bodies

sw_helix, sw_spring, sw_planar_surface, sw_thicken, sw_combine (union / subtract / intersect), sw_move_copy_body, sw_scale, sw_delete_body, sw_list_bodies

Reference geometry

sw_create_plane (offset or angled), sw_create_axis

Patterns

sw_linear_pattern, sw_circular_pattern, sw_sketch_pattern, sw_curve_pattern

Holes & threads

sw_hole_wizard (tapped, counterbore, countersink, clearance; ISO / DIN / ANSI), sw_thread (modelled helical thread), sw_cosmetic_thread, sw_hole

Parametrics

sw_list_dimensions, sw_set_dimension, sw_rename_dimension, sw_set_variables, sw_add_equation, sw_list_equations, sw_delete_equation, sw_add_configuration, sw_activate_configuration, sw_list_configurations, sw_delete_configuration

Appearance & material

sw_set_appearance (document, features, components, faces), sw_clear_appearance, sw_set_material

Aircraft & drones

sw_generate_wing, sw_generate_propeller, sw_generate_fuselage, sw_assembly_mass (centre of gravity)

Standard parts

sw_generate_fastener (ISO 4762 / 4017 / 4032 / 7089), sw_generate_part (L-bracket, flange, PCB enclosure, motor mount)

Sheet metal

sw_sheet_metal_base (flat or bent from open profiles), sw_flat_pattern, sw_export_flat_pattern (DXF/DWG)

Weldments

sw_weldment_profiles, sw_structural_member (mitred frames along a sketch), sw_cut_list

Assemblies

sw_insert_component, sw_add_mate (standard, symmetric, width, limit, gear, rack-pinion, screw, hinge, slot, lock), sw_insert_fastener, sw_interference, sw_explode / sw_collapse, sw_bill_of_materials (CSV), sw_list_components

Drawings

sw_create_drawing (GOST or default templates, standard + isometric views, model dimensions, BOM), sw_add_drawing_view, sw_set_properties / sw_get_properties (title block)

Inspection & analysis

sw_list_features, sw_rebuild, sw_mass_properties, sw_list_entities, sw_screenshot, sw_measure, sw_check_requirements, sw_print_check, sw_static_study

Files

sw_save, sw_export (STEP, IGES, STL, Parasolid, 3MF, PDF, DXF/DWG, PNG/JPG), sw_batch_export

Journal

sw_journal, sw_replay_journal

Prompts: model_from_drawing (drawing → plan → build → verify) and drone_part.

All lengths are millimetres and angles degrees. Model space is Y-up with the Front plane at Z = 0.

Examples

Parametric plate - change one variable, the part follows:

sw_set_variables  {"width": 80}
sw_create_sketch  entities=[{type: 'center_rectangle', center: [0,0], width: 80, height: 50, dimension: ['w', 'h']}]
sw_extrude        sketch='Sketch1' depth=6
sw_add_equation   dimension='w@Sketch1' expression='"width"'
sw_set_variables  {"width": 120}

Wing - root NACA 2412 to tip NACA 23012, 8° sweep, 4° dihedral, 3° washout, mirrored:

sw_generate_wing  span=500 root_chord=180 tip_chord=100 root_airfoil='2412' tip_airfoil={naca: '23012'}
                  sweep=8 dihedral=4 twist=-3 sections=4

Propeller 5×4.5", three blades: sw_generate_propeller diameter=127 pitch=114 blades=3 shaft_diameter=5

Bent tube:

sw_create_3d_sketch entities=[{type: 'polyline', points: [[0,0,0], [0,0,120], [0,80,120], [60,80,160]], bend_radius: 20}]
sw_sweep            path='3DSketch1' circle_diameter=12 wall_thickness=1.5

Frame + cut list: sw_create_3d_sketch (layout) → sw_structural_member profile='square tube' size='20 x 20 x 2' → sw_cut_list.

Sheet metal U-channel for laser cutting: sketch an open polyline → sw_sheet_metal_base thickness=1.5 bend_radius=2 depth=40 → sw_save → sw_export_flat_pattern.

Assembly with fasteners: sw_insert_component (fixed) → sw_insert_fastener kind='hex_bolt' size='M5' length=20 hole_face_point=[...] seat_face_point=[...] → sw_interference → sw_bill_of_materials csv_path='bom.csv'.

Stress check: sw_set_material '6061-T6 (SS)' → sw_static_study fixed_face_points=[[0,0,0]] forces=[{face_point: [200,0,0], newtons: 100}] → max von Mises stress, displacement and safety factor.

Safety model

  • Starting SolidWorks needs the user's approval (an MCP elicitation prompt, or explicit agreement in chat for clients that cannot prompt). The server never closes SolidWorks.

  • Edits stay in memory until sw_save / sw_export. Failed features are rolled back.

  • Writes are confined to ~/Documents/SolidWorksMCP (SW_MCP_OUTPUT_DIR) and folders in SW_MCP_ALLOWED_DIRS. Existing files are replaced only with overwrite=true, which also asks the user. Batch exports ask first.

  • Deletion is limited to features created in the current session; others can only be suppressed.

  • No arbitrary code: only the operations in ops.OPERATIONS are reachable (also over the bridge).

  • Timeouts: each call has a limit (SW_MCP_TIMEOUT, default 180 s; longer for simulations and drawings). If SolidWorks shows a dialog or hangs, the agent gets an error instead of waiting forever.

  • Journal: model changes are logged to ~/Documents/SolidWorksMCP/journal/*.jsonl (SW_MCP_JOURNAL=0 turns it off).

Configuration

Variable

Meaning

SW_MCP_OUTPUT_DIR

Output folder (default ~/Documents/SolidWorksMCP).

SW_MCP_ALLOWED_DIRS

Extra folders the server may write to (;-separated on Windows).

SW_MCP_PART_TEMPLATE / SW_MCP_ASSEMBLY_TEMPLATE / SW_MCP_DRAWING_TEMPLATE

Force a document template.

SW_MCP_TIMEOUT

Default per-call timeout in seconds (180).

SW_MCP_JOURNAL

0 disables the journal.

SW_MCP_WELDMENT_PROFILES

Weldment profile library folder (default: the SolidWorks one).

SW_BRIDGE_URL, SW_BRIDGE_TOKEN

Use a remote bridge (macOS / VM setups).

Development

uv sync
uv run pytest                                        # 100+ tests, no SolidWorks needed
uv run python examples/full_smoke.py                 # every tool group against a real SolidWorks
uv run python examples/full_smoke.py aero assembly   # selected groups
uvx ruff check src tests examples

Layout (src/solidworks_automation/):

  • ops/ - every SolidWorks API call, one mixin per topic (sketch, features, patterns, holes, parametric, fabrication, assembly, drawing, inspect, simulation, generators, ...), combined into SolidWorksOps. @operation marks what the server and bridge may call.

  • server/ - MCP tools and schemas, permission prompts, prompts.

  • geometry/ - pure Python: sketch expansion, airfoils, fasteners, colours, mesh checks (unit-tested).

  • com.py - late-bound COM helpers and the COM thread; backend.py - local / remote execution with timeouts; bridge.py - token-authenticated HTTP bridge; safety.py - file policy; journal.py - operation journal.

License

Copyright (c) 2026 Maksim Akhmadulin. All rights reserved - see LICENSE. SOLIDWORKS is a trademark of Dassault Systèmes; this project is not affiliated with it.

Available Tools

94 tools
sw_activate_configurationC

Switch to another configuration.

Inputs: name (required), doc.

sw_add_configurationC

Add a configuration (variant): e.g. 'M4' with hole diameter 4.5, or '7 inch' with a longer arm.

Inputs: name (required), doc, values, activate, +2 more.

sw_add_drawing_viewC

Add one more model view to the active drawing.

Inputs: view (required), position (required), model_path (required), doc, +1 more.

sw_add_equationC

Drive a dimension with an expression of global variables / other dimensions.

Inputs: dimension (required), expression (required), doc.

sw_add_mateB

Mate components: standard, advanced (symmetric, width, limit distance/angle) and mechanical (gear, rack-pinion, screw, hinge, slot, lock).

Inputs: entity1 (required), entity2 (required), mate_type (required), doc, +8 more.

sw_assembly_massB
Read-only

Total mass and centre of mass of the assembly (balance a drone on its CG).

Inputs: doc.

sw_batch_exportA
Destructive

Export every matching file in a folder (opened read-only, never saved) to /batch/.

Inputs: folder (required), pattern, material, overwrite, +2 more.

sw_bill_of_materialsB
Destructive

Parts list: item, part, configuration, quantity, material, mass (optionally a CSV file).

Inputs: doc, csv_path, overwrite.

sw_chamferB

Bevel edges with an angle-distance chamfer (prints better than fillets on downward edges).

Inputs: distance (required), doc, name, angle, +1 more.

sw_check_requirementsB
Read-only

Check the model against requirements; returns pass/fail per check and the measured values.

Inputs: doc, max_size, min_size, max_mass_kg, +4 more.

sw_circular_patternB

Repeat features around an axis (bolt circles, blades, arms, spokes).

Inputs: axis (required), count (required), features (required), doc, +2 more.

sw_clear_appearanceA

Remove the document-level appearance so the material colour shows again.

Inputs: doc.

sw_closeA
Destructive

Close a document. Refuses if it has unsaved changes unless discard_changes=true (the user is asked).

Inputs: doc, discard_changes.

sw_collapseC

Collapse the exploded view.

Inputs: doc.

sw_combineB

Boolean between bodies of a multibody part: union, subtract, intersect.

Inputs: operation (required), main_body_point (required), tool_body_points (required), doc, +1 more.

sw_connectA

Connect to SolidWorks, starting it if needed - only with the user's permission.

Inputs: user_approved.

sw_cosmetic_threadA

Cosmetic thread (lightweight, shows in drawings) on a shaft or hole edge.

Inputs: size (required), edge_point (required), doc, name, +1 more.

sw_create_3d_sketchA

3D sketch of lines, polylines (with bend_radius), splines and 3-point arcs in model mm: sweep paths for tubes, cable routes, frame layouts for sw_structural_member.

Inputs: entities (required), doc, name.

sw_create_axisA

Reference axis along X/Y/Z or through a cylindrical face, for patterns, angled planes and mates.

Inputs: doc, axis, name, face_point.

sw_create_drawingA

A drawing of a saved part/assembly: three standard views, isometric, dimensions, BOM.

Fill the title block with sw_set_properties on the model first; export with sw_export (pdf/dwg/dxf).

Inputs: bom, doc, paper, scale, +4 more.

sw_create_planeB

Reference plane: parallel at an offset, or rotated about an axis lying in the base plane.

Inputs: doc, axis, base, name, +3 more.

sw_create_sketchB

Create a 2D sketch: lines, polylines (rounded corners), rectangles, circles, ellipses, arcs, polygons, slots, splines, points, centerlines and airfoils (NACA 4/5-digit or .dat).

Entities may carry a pattern (grid / bolt circle), mirror_about, and dimension (driving dimensions, optionally named, so the model can later be changed with sw_set_dimension or equations).

Inputs: entities (required), doc, name, plane, +3 more.

sw_curve_patternB

Copies along a curve (rivets along an edge, vents along an arc).

Inputs: count (required), features (required), doc, name, +4 more.

sw_cut_extrudeB

Remove material by extruding a sketch (pockets, slots, plain holes).

Inputs: sketch (required), doc, name, depth, +5 more.

sw_cut_listC
Read-only

Weldment cut list: member groups with quantities, lengths and profiles.

Inputs: doc.

sw_delete_bodyA

Remove a body with a Delete/Keep Body feature (reversible: delete that feature).

Inputs: body_point (required), doc, name.

sw_delete_configurationC

Delete a (non-active) configuration.

Inputs: name (required), doc.

sw_delete_equationC

Delete an equation by its index from sw_list_equations.

Inputs: index (required), doc.

sw_delete_featureA

Delete a feature this server created in this session (others can only be suppressed).

Inputs: feature (required), doc.

sw_draftB

Add draft to faces (moulding, casting, easier 3D-print removal).

Inputs: angle (required), face_points (required), neutral_face_point (required), doc, +2 more.

sw_explodeC

Automatic exploded view of the assembly.

Inputs: doc, distance.

sw_exportC
Destructive

Export a copy (STEP, IGES, STL, Parasolid, 3MF, PDF, DXF/DWG, PNG/JPG).

Inputs: file_format (required), doc, path, overwrite, +1 more.

sw_export_flat_patternC
Destructive

Flat pattern as DXF/DWG for laser / waterjet cutting.

Inputs: doc, path, overwrite, bend_lines.

sw_extrudeA

Extrude a sketch into a solid (boss). With thin_thickness, open sketches become walls.

Inputs: depth (required), sketch (required), doc, name, +6 more.

sw_filletC

Round edges with a constant-radius fillet.

Inputs: radius (required), doc, name, edges.

sw_flat_patternB

Show the sheet-metal part flat (true) or folded (false).

Inputs: doc, flatten.

sw_generate_fastenerB
Destructive

A metric fastener part (ISO 4762 / 4017 / 4032 / 7089) with cosmetic thread, in a new document.

Inputs: kind (required), size (required), save, length, +1 more.

sw_generate_fuselageC

A fuselage / pod / nacelle lofted through ellipse, circle or rounded-rectangle frames (0 size = point).

Inputs: stations (required), doc, name, shell_thickness.

sw_generate_partC

A typical part in a new document from a few parameters (all have sensible defaults).

Inputs: kind (required), params.

sw_generate_propellerB

A propeller: twisted blades with pitch angle atan(P / 2 pi r), hub, shaft bore. Axis Y, thrust +Y.

Inputs: pitch (required), diameter (required), doc, name, +8 more.

sw_generate_wingA

A complete wing in one call: blended airfoil sections with taper, sweep, dihedral and twist, lofted and mirrored. Returns area, aspect ratio, MAC and neutral point. Span runs along +X, flight direction +Z.

Inputs: span (required), tip_chord (required), root_chord (required), doc, +9 more.

sw_get_propertiesC
Read-only

Read custom properties.

Inputs: doc, configuration.

sw_healthA
Read-only

Check that SolidWorks answers and its geometry kernel works (zero-volume bodies mean: restart it).

Inputs: no named parameters.

sw_helixC

Helix curve (path for springs, coils, augers, threads).

Inputs: pitch (required), sketch (required), revolutions (required), doc, +5 more.

sw_holeB

Plain holes of any diameter (use sw_hole_wizard for standard fastener holes and threads).

Inputs: diameter (required), positions (required), face_point (required), doc, +7 more.

sw_hole_wizardC

Standard Hole Wizard holes: threaded (tapped), counterbore / countersink for screws, clearance holes.

Inputs: size (required), positions (required), doc, name, +5 more.

sw_insert_componentB

Insert a saved part or sub-assembly into the active assembly.

Inputs: path (required), doc, fixed, position, +1 more.

sw_insert_fastenerA

Insert a standard metric fastener (generated once, reused) into the assembly and mate it to a hole.

Inputs: kind (required), size (required), hole_face_point (required), seat_face_point (required), +3 more.

sw_interferenceA
Read-only

Find overlapping components (and optionally touching ones) with the overlap volume.

Inputs: doc, treat_touching_as_interference.

sw_journalB
Read-only

The journal of model-changing operations in this session (file path and the last entries).

Inputs: last.

sw_linear_patternC

Repeat features in a row or grid (ribs, holes, slots, frame members).

Inputs: count (required), spacing (required), features (required), direction (required), +5 more.

sw_list_bodiesC
Read-only

Solid and surface bodies with bounding boxes and a pick point for each.

Inputs: doc.

sw_list_componentsC
Read-only

Top-level components with position and state.

Inputs: doc.

sw_list_configurationsB
Read-only

Configurations of the document and which one is active.

Inputs: doc.

sw_list_dimensionsA
Read-only

Driving dimensions with full names ('D1@Boss-Extrude1', 'span_d@Sketch1') and values in mm / degrees.

Inputs: doc, feature.

sw_list_entitiesC
Read-only

Faces (plane/cylinder/...) and edges (line/circle) with geometry and a pick_point for other tools.

Inputs: doc, kind, near, limit.

sw_list_equationsC
Read-only

Global variables and equations with their current values.

Inputs: doc.

sw_list_featuresA
Read-only

The feature tree (names, types, suppression) and optionally each feature's dimensions in mm / degrees.

Inputs: doc, include_dimensions.

sw_loftB

Loft through profiles on different planes: wings, fuselages, blades, duct transitions.

Inputs: profiles (required), cut, doc, name, +6 more.

sw_mass_propertiesB
Read-only

Mass, volume, area, centre of mass, principal moments and bounding box (mm / kg).

Inputs: doc.

sw_measureA
Read-only

Measure like the Measure tool: distance / angle between two entities, or length / area / diameter of one.

Inputs: entities (required), doc.

sw_mirrorA

Mirror features (or bodies) about a plane: build one half of a symmetric part, mirror the rest.

Inputs: plane (required), features (required), doc, name, +1 more.

sw_move_copy_bodyC

Move/rotate a body, or copy it.

Inputs: body_point (required), doc, name, copies, +3 more.

sw_new_documentB

Create a new, empty part, assembly or drawing from the default template and make it active.

Inputs: kind.

sw_openB

Open an existing SolidWorks document and make it active.

Inputs: path (required), read_only.

sw_planar_surfaceC

Flat surface bounded by a closed sketch (thicken it into a plate).

Inputs: sketch (required), doc, name.

sw_print_checkA
Read-only

3D-print check: overhang area (needs supports), bed contact, best of six orientations, build-volume fit.

Inputs: up, doc, build_volume, max_overhang_angle.

sw_rebuildC
Read-only

Rebuild and report features with errors or warnings.

Inputs: doc.

sw_rename_dimensionA

Give a dimension a meaningful name ('D1@Sketch1' -> 'chord@Sketch1') for equations.

Inputs: new_name (required), dimension (required), doc.

sw_replay_journalC

Rebuild a model by replaying a journal of operations.

Inputs: path (required), dry_run, new_document, stop_on_error, +1 more.

sw_revolveB

Revolve a profile around its centerline (shafts, discs, bottles, grooves).

Inputs: sketch (required), cut, doc, name, +2 more.

sw_ribB

Stiffening rib from an open sketch line inside a pocket or along a wall.

Inputs: sketch (required), thickness (required), doc, name, +4 more.

sw_saveB
Destructive

Save as a native SolidWorks file (.sldprt / .sldasm / .slddrw).

Inputs: doc, path, overwrite.

sw_scaleC

Scale all solid bodies (e.g. shrinkage compensation).

Inputs: doc, name, about, factor, +1 more.

sw_screenshotB
Read-only

Images of the model from standard views (compare with a drawing, check the result).

Inputs: doc, views.

sw_set_appearanceB

Colour / transparency for the whole document, features, components or faces.

Inputs: color (required), doc, features, shininess, +3 more.

sw_set_dimensionC

Change a dimension and rebuild.

Inputs: value (required), dimension (required), doc, configurations.

sw_set_materialB

Assign a material (affects mass, Simulation).

Inputs: material (required), doc, database.

sw_set_propertiesB

Set custom properties (they fill the drawing title block and the BOM).

Inputs: properties (required), doc, configuration.

sw_set_suppressionC

Suppress or unsuppress a feature.

Inputs: feature (required), doc, suppressed.

sw_set_variablesA

Create or update global variables (the parameters that drive the design).

Inputs: variables (required), doc.

sw_sheet_metal_baseA

Sheet-metal part from a sketch: closed profile = flat plate, open profile (L/U/Z/hat) = bent part with bends at every corner. Then sw_export_flat_pattern gives the DXF for laser cutting.

Inputs: sketch (required), thickness (required), doc, name, +4 more.

sw_shellB

Hollow out the part, leaving walls of the given thickness.

Inputs: thickness (required), remove_face_points (required), doc, name, +1 more.

sw_sketch_infoB
Read-only

Segments, closed contours, dimensions and definition state of a sketch - check a profile before using it.

Inputs: sketch (required), doc.

sw_sketch_patternA

Copy features to every point of a sketch (irregular hole layouts).

Inputs: sketch (required), features (required), doc, name.

sw_springB

Coil spring in one call (circle -> helix -> swept wire).

Inputs: pitch (required), revolutions (required), coil_diameter (required), wire_diameter (required), +5 more.

sw_static_studyA

Linear static stress analysis (SolidWorks Simulation): max von Mises stress, displacement, safety factor.

Set the material first (sw_set_material). Loads use faces picked by model points.

Inputs: fixed_face_points (required), doc, name, forces, +4 more.

sw_statusA
Read-only

SolidWorks installed/running, release, open documents, and a warning if the geometry kernel looks broken.

Call this first.

Inputs: no named parameters.

sw_structural_memberB

Frame members from standard profiles along sketch segments, mitred at the corners (weldment).

Inputs: size (required), sketch (required), profile (required), doc, +3 more.

sw_sweepB

Sweep along a path: tubes and pipes, frame rails, wiring, handles, springs.

Inputs: path (required), cut, doc, name, +5 more.

sw_thickenA

Turn a surface into a solid of given thickness (thin skins, shells from surface lofts).

Inputs: surface (required), thickness (required), cut, doc, +2 more.

sw_threadB

A real modelled helical thread (printable bolts, nuts, caps) using the SolidWorks Thread feature.

Inputs: face_point (required), doc, name, size, +5 more.

sw_undoC

Undo the last operation(s).

Inputs: doc, steps.

sw_weldment_profilesC
Read-only

Weldment profile library: standards, profile types and sizes.

Inputs: profile, standard.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 94 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes, and descriptions often cross-reference related tools, such as sw_hole vs sw_hole_wizard or sw_thread vs sw_cosmetic_thread. A few convenience tools overlap with lower-level workflows, especially sw_generate_part vs the specific generators and sw_spring vs sw_helix plus sw_sweep, but these are largely resolvable from the descriptions.

    Naming Consistency5/5

    All tools share the sw_ prefix and snake_case, with predictable verb_noun naming such as sw_create_sketch, sw_list_features, sw_set_dimension, and sw_delete_body. Noun-phrase tools like sw_bill_of_materials and sw_cut_list are still consistent with the server's naming style.

    Tool Count1/5

    94 tools is far beyond a manageable surface for an agent, even for a broad CAD domain. The set is effectively a large feature catalogue, and many tools could be grouped or made discoverable through higher-level operations.

    Completeness4/5

    The surface covers sketches, features, assemblies, drawings, sheet metal, weldments, configurations, equations, simulation, and export with strong lifecycle coverage. Gaps remain around assembly component manipulation and mate management, such as listing/editing/deleting mates and moving or rotating components directly.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents to control a running SOLIDWORKS session through its COM API, with tools for sketching, feature creation, assemblies, and visual feedback via screenshots.
      22
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to build, measure, verify, and correct parametric SolidWorks parts and assemblies locally via the COM API, supporting operations like sketching, extruding, modeling, dimensioning, material assignment, export, and assembly mating.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables an AI assistant to drive an already-running SOLIDWORKS session over its COM API, so it can build sketches, solid features, reference geometry, assemblies, mates, and engineering drawings, then inspect the result through topology listings, mass properties, measurements, and screenshots returned as images.
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents such as Claude to drive SolidWorks through its COM API using natural language, creating parts and assemblies, sketching geometry, and adding features without clicking menus. Also supports running arbitrary API scripts and verifying results through model reports, rendered views, interference checks, and exports.
      1
      MIT