About Solidworks
Solidworks is an MCP server published by eyfel in the Developer Tools category: this MCP server integrates with SolidWorks API and structuring it into Claude-compatible context streams. Conduid read 47 tools from its source: activate_document, add_dimension, add_drawing_dimension, add_drawing_view, add_edge_feature, add_flat_pattern_view and 41 more. No package is published for it, so it installs from a source checkout.
The repository has 549 stars and 95 forks, is licensed AGPL-3.0, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include blockchain.
Install
git clone https://github.com/eyfel/mcp-server-solidworksTools (47)
activate_documentswitches between open documents.| Parameter | Type | Description |
|---|---|---|
| title * | string |
add_dimensionadds a dimension to the sketch.| Parameter | Type | Description |
|---|---|---|
| label_offset_x | number | |
| label_offset_y | number | |
| px * | number | |
| py * | number | |
| value * | number | Dimension value in METERS (e.g. 0.05 = 50mm) |
add_drawing_dimensionadds a single dimension by sheet coordinate.| Parameter | Type | Description |
|---|---|---|
| label_offset_x | number | |
| label_offset_y | number | |
| px * | number | |
| py * | number | |
| value * | number | Dimension value in METERS |
add_drawing_viewadds a model view: `front`, `top`, `right`, `isometric`, `back`, `bottom`, `left`; orthographic views default to Hidden-Lines-Visible per drafting convention (`display_mode` overridable).| Parameter | Type | Description |
|---|---|---|
| display_mode | string | |
| model_path | string | |
| pos_x | number | |
| pos_y | number | |
| scale | number | View scale (1.0 = 1:1) |
| view_type * | string |
add_edge_featurefillet or chamfer on a solid edge (chamfer: distance-angle at any angle, or distance-distance).| Parameter | Type | Description |
|---|---|---|
| angle | number | Chamfer angle in DEGREES (distance_angle mode only; default 45) |
| chamfer_flip | boolean | |
| chamfer_type | string | |
| distance2 | number | Chamfer SECOND-face setback (D2) in METERS (distance_distance mode only; must be > 0 there) |
| edge_indices | string | |
| edges_json | string | |
| ex | number | |
| ey | number | |
| ez | number | |
| feature_type * | string | |
| radius_or_distance * | number | Fillet radius / chamfer FIRST-face setback (D1) in METERS (e.g. 0.01 = 10mm) |
add_flat_pattern_viewadds a sheet-metal flat-pattern view (the unfolded blank with bend lines and bend notes); the correct, standard way to detail sheet-metal parts.| Parameter | Type | Description |
|---|---|---|
| config_name | string | |
| flip_view | boolean | |
| hide_bend_lines | boolean | |
| model_path | string | |
| pos_x | number | |
| pos_y | number | |
| scale | number | View scale (1.0 = 1:1) |
add_hole_calloutadds a hole callout on a hole edge.| Parameter | Type | Description |
|---|---|---|
| px * | number | |
| py * | number |
add_mateadds a mate (coincident, concentric, parallel, perpendicular, tangent, distance, angle, lock) using robust index-based entity selection.| Parameter | Type | Description |
|---|---|---|
| a_component * | string | |
| a_index * | integer | |
| a_kind | string | |
| alignment | string | |
| b_component * | string | |
| b_index * | integer | |
| b_kind | string | |
| flip | boolean | |
| mate_type * | string | |
| value | number |
add_reference_geometryreference plane, axis, or point.| Parameter | Type | Description |
|---|---|---|
| entity1_name | string | |
| entity1_type | string | |
| entity2_name | string | |
| entity2_type | string | |
| offset | number | |
| px | number | |
| py | number | |
| pz | number | |
| ref_plane_name | string | |
| type * | string |
add_section_viewsection view along an existing edge or a drawn cut line — the standard way to expose and dimension internal/blind features (one section per distinct internal-depth axis).| Parameter | Type | Description |
|---|---|---|
| edge_x | number | |
| edge_y | number | |
| flip | boolean | |
| label | string | |
| px * | number | |
| py * | number | |
| scale | number | |
| x1 | number | |
| x2 | number | |
| y1 | number | |
| y2 | number |
add_sketch_constraintadds a sketch relation (horizontal, coincident, etc.).| Parameter | Type | Description |
|---|---|---|
| constraint_type * | string | |
| entity_type1 | string | |
| entity_type2 | string | |
| px1 * | number | |
| px2 | number | |
| py1 * | number | |
| py2 | number |
add_sketch_entitiesAdd MANY sketch entities to the active sketch in ONE call (the batch form of| Parameter | Type | Description |
|---|---|---|
| segments * | string |
add_sketch_entityadds a sketch entity: line, circle, arc, center arc, ellipse, spline, rectangle, fillet, chamfer.| Parameter | Type | Description |
|---|---|---|
| construction | boolean | |
| cx | number | |
| cy | number | |
| direction | number | |
| distance | number | |
| entity_type * | string | |
| points | string | |
| radius | number | |
| vx | number | |
| vy | number | |
| x1 | number | |
| x2 | number | |
| xm | number | |
| y1 | number | |
| y2 | number | |
| ym | number |
analyze_assemblyreads components (tree order with full transforms, incl. a flattened leaf view across nesting levels), mates (creation order, locale-proof enum types, entity anchors), or one component's face/edge lists.| Parameter | Type | Description |
|---|---|---|
| analysis_type * | string | |
| component | string |
analyze_drawingthe drawing → part front end: reads a 2D technical drawing file (.DXF or .DWG) and either builds the part from it or hands over the evidence to build it. A .DWG is converted to DXF automatically. What it extracts: per-view scale (already applied, so every number is true model mm), detected views with a per-primitive edge class (visible / hidden / section cut line / centre), contours chained into closed loops (strictly — a loop is a fact, and where a junction is ambiguous the chain stops rather than guessing), exploded curve fans collapsed back into parametric ellipses under a measured residual gate, view alignment pairs, dimensions carrying the string the CAD system actually printed (which arbitrates over the stored value — a DWG round-trip corrupts angles and radii, and a hand-typed Ø prefix on a linear dimension re-types it as a diameter), the title block as a parameter table (`frame_notes` — length, material, weight, projection standard), text inside note blocks, and sheet-metal bend notes paired to their bend lines on three independent channels. It answers in one of two shapes, and the reader chooses: `DIRECT_BUILDABLE` + a compact summary (then `mode='build'` builds it in one call), or `NOT_DIRECT | <reason>` + the whole analysis in one answer, for the model to read under `get_recipe('reverse')`. One format: the summary/pull split was retired in 2026-09 on its own measurement — with the compact wire form the complete artifact is smaller than a summary plus the pulls it forced, on every sample. Anything it cannot attribute is reported as skipped — never guessed, and `sheet.not_read` states which entity classes it could not read at all. _(The older reader for native SolidWorks drawings survives as `analyze_slddrw_test` — test/reference only: a .SLDDRW is model-linked, so if you have one the part already exists.)_| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| mode | string | |
| save_analysis | boolean |
analyze_model`geometry`, `mass_properties`, `bodies` (per-body fingerprints for multibody parts), `features` (a compact feature-level recipe), `edges`, `faces`, `sketch` (one sketch's exact segments on demand), and `feature_map` (per-feature consumed/created topology — the source of the reference-resolver anchors) modes.| Parameter | Type | Description |
|---|---|---|
| analysis_type * | string | |
| axis | string | |
| from_feature | string | |
| k | integer | |
| name | string | |
| near | string | |
| to_feature | string |
analyze_slddrw_testTEST/REFERENCE TOOL — reads a NATIVE SolidWorks drawing (.SLDDRW) through COM.| Parameter | Type | Description |
|---|---|---|
| include_geometry | boolean | |
| include_relations | boolean |
auto_center_marksautomatically inserts center marks and centerlines on every hole/slot.| Parameter | Type | Description |
|---|---|---|
| extended_lines | boolean | |
| include_slots | boolean |
auto_dimension_drawingtransfers the model's driving dimensions into the views (the "Insert Model Items" automation) — the robust alternative to placing dimensions by coordinate.| Parameter | Type | Description |
|---|---|---|
| all_views | boolean | |
| eliminate_duplicates | boolean | |
| include_unmarked | boolean |
batch_exportbatch export.| Parameter | Type | Description |
|---|---|---|
| file_path_base * | string | |
| formats_json * | string |
close_documentcloses the document.| Parameter | Type | Description |
|---|---|---|
| close_all | boolean | |
| save | boolean |
compare_assembliesobjective assembly diff (component set, per-component transforms to ≤1 µm, mate count + types, mass properties) with the `verified` verdict.| Parameter | Type | Description |
|---|---|---|
| doc_a * | string | |
| doc_b * | string |
compare_partsobjective two-part diff (topology, volume, area, center of mass) with the project's `verified` verdict (topology-exact and |ΔV| ≤ 1% and |ΔA| ≤ 1%).| Parameter | Type | Description |
|---|---|---|
| detail | string | |
| doc_a * | string | |
| doc_b * | string |
create_drawingcreates a drawing document (A3 sheet).| Parameter | Type | Description |
|---|---|---|
| model_path | string |
create_patternlinear or circular pattern.| Parameter | Type | Description |
|---|---|---|
| angle | number | Circular pattern angle in DEGREES |
| axis_name | string | |
| count | integer | Total instances incl. seed (>= 2) |
| count2 | integer | Second-direction instances (1 = off) |
| direction | string | |
| equal_spacing | boolean | |
| feature_name | string | |
| features_json | string | |
| flip | boolean | |
| geometry_pattern | boolean | |
| pattern_type * | string | |
| plane | string | |
| spacing | number | Linear pattern spacing in METERS |
| spacing2 | number | Second-direction spacing in METERS |
create_ribrib feature from an open sketch profile.| Parameter | Type | Description |
|---|---|---|
| is_norm_to_sketch | boolean | |
| reverse_material_dir | boolean | |
| reverse_thickness_dir | boolean | |
| thickness * | number | Rib thickness in METERS (e.g. 0.005 = 5mm) |
| two_sided | boolean |
create_sketchstarts a sketch on a plane or a selected face.| Parameter | Type | Description |
|---|---|---|
| face_index | integer | |
| face_x | number | |
| face_y | number | |
| face_z | number | |
| on_face | boolean | |
| plane | string |
edit_featuresuppresses, unsuppresses, deletes, or renames a feature.| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| feature_name * | string | |
| new_name | string |
edit_sketchreopens an existing sketch for editing.| Parameter | Type | Description |
|---|---|---|
| sketch_name * | string |
ensure_readylaunches SolidWorks via COM and attaches if it is closed (does not open a document).export_documentSTEP, IGES, STL, PDF, DWG, DXF (PDF/DWG/DXF require a drawing document).| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| format * | string |
extrude_featureboss, cut, revolve, sweep, loft.| Parameter | Type | Description |
|---|---|---|
| angle | number | Revolve angle in DEGREES |
| axis_x1 | number | |
| axis_x2 | number | |
| axis_y1 | number | |
| axis_y2 | number | |
| depth | number | Extrusion depth in METERS (required > 0 for boss/cut) |
| feature_type | string | |
| mid_plane | boolean | |
| path_sketch | string | |
| profiles | string | |
| reverse | boolean | |
| through | boolean | |
| up_to_face_index | integer |
get_recipeThe IR-generation recipe — REQUIRED READING before writing any Feature Graph IR| Parameter | Type | Description |
|---|---|---|
| profile | string | |
| section | string |
get_selectionreads the geometry the user selected in the SolidWorks GUI and maps it to the analyze index.insert_componentinserts a part file as a component: insertion point or a full 13-number transform, fixed or floating.| Parameter | Type | Description |
|---|---|---|
| config | string | |
| file_path * | string | |
| fixed | boolean | |
| transform_json | string | |
| x | number | |
| y | number | |
| z | number |
modify_dimensionchanges the value of a named dimension (the basis for variants).| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| value * | number |
open_documentopens an existing file from disk (native `.sldprt`/`.sldasm`/`.slddrw`; imports `.ipt`/`.CATPart`/STEP/IGES via 3D Interconnect when the translator is available, otherwise returns a clear `OPEN_FAILED`).| Parameter | Type | Description |
|---|---|---|
| as_assembly | boolean | |
| file_path * | string |
open_new_assemblyopens a new blank assembly document.| Parameter | Type | Description |
|---|---|---|
| template_path | string |
open_new_partopens a new part document.| Parameter | Type | Description |
|---|---|---|
| template_path | string |
rebuild_from_irthe reverse IR door: runs an artifact's IR block through the deterministic compiler to rebuild the part — or assembly — in a fresh document, and warns when the source file has changed under the artifact (`source_stale`).| Parameter | Type | Description |
|---|---|---|
| artifact_path * | string | |
| fresh_document | boolean |
save_analysiswrites an analysis artifact for a part or assembly file (feature recipe / component + mate tree, driving parameters, and an optional Feature Graph IR block) to `<folder>/.solidpilot/`.| Parameter | Type | Description |
|---|---|---|
| file_path * | string |
save_body_as_partextracts one body of a multibody part into its own part file (for flattened assembly STEP imports).| Parameter | Type | Description |
|---|---|---|
| body_index * | integer | |
| file_path * | string |
save_documentsaves the part or drawing to disk.| Parameter | Type | Description |
|---|---|---|
| file_path | string |
set_part_materialassigns a material to the part.| Parameter | Type | Description |
|---|---|---|
| library | string | |
| material_name * | string |
sheet_metal_featuresheet metal: base_flange, edge_flange (incl. custom-profile flanges), sketched_bend, flat_pattern.| Parameter | Type | Description |
|---|---|---|
| angle | number | Bend angle in DEGREES (edge_flange and sketched_bend; default 90) |
| bend_position | string | |
| bend_radius | number | Bend radius in METERS |
| clear_profile | boolean | |
| edge_index | integer | |
| ex | number | |
| ey | number | |
| ez | number | |
| feature_type * | string | |
| fixed_face_index | integer | |
| fixed_x | number | |
| fixed_y | number | |
| fixed_z | number | |
| flange_length | number | Edge flange length in METERS; use >= 2*thickness+1mm (KNOWN-LIMITATIONS #11) |
| flip | boolean | |
| k_factor | number | Neutral-axis K-factor (0..1) |
| reverse_thickness | boolean | |
| symmetric_thickness | boolean | |
| thickness | number | Sheet thickness in METERS |
| use_default_radius | boolean |
submit_feature_graphthe forward IR door: builds a part or assembly from a Feature Graph supplied directly by the model (design intent, no original to copy), through the *same* compiler — two doors, one compiler.| Parameter | Type | Description |
|---|---|---|
| fresh_document | boolean | |
| graph * | string |
verify_statereturns the current state and feature tree.Security checks
Static checks derived from the repository 3 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 4.0K words.
- ✓License declaredThe repository declares the AGPL-3.0 license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
- ✓No dynamic code executionScanned 39 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- None found in the source
- Starts other programs
- 1 calladapters/claude/execution_client.py:108
- Outbound network calls
- 7 callsadapters/claude/execution_client.py:31, adapters/claude/execution_client.py:50, adapters/claude/execution_client.py:51
- Writes or deletes files
- 12 callsadapters/claude/adapter_log.py:21, adapters/claude/server.py:1284, adapters/claude/server.py:2176
- Lockfile
- None in the repository
Pattern matches on the source text of 39 files: places to read, not proof of what the code does at run time.
README
The repository's README runs to about 4.0K words, fetched 3 days ago. The original in the repository is authoritative.
Read full README