solidworks-mcp MCP Server

An MCP server that lets Claude — or any MCP client that speaks Streamable HTTP — drive SolidWorks 2021 to create engineering drawings over your LAN, through the pywin32 COM API.

Local server

What is the solidworks-mcp Server?

solidworks-mcp is an MCP project maintained in the haunchen/solidworks-mcp repository. The maintainer describes its purpose as “An MCP server that lets Claude — or any MCP client that speaks Streamable HTTP — drive SolidWorks 2021 to create engineering drawings over your…”. Read the project documentation for the complete scope.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
open_documentOpen a SolidWorks document (.sldprt / .sldasm / .slddrw)
close_documentClose the specified document
list_open_documentsList all documents currently open in SolidWorks
create_drawingCreate a new drawing document from a template
insert_standard_viewsInsert independent standard views (no projection alignment, custom scale)
insert_standard_views_alignedCreate first-angle aligned front / top / right views with auto scale
insert_section_viewCreate a section view on a parent view
insert_detail_viewCreate a detail (magnified) view on a parent view
insert_custom_viewInsert a named-orientation or arbitrary XYZ-rotation view
insert_model_dimensionsImport model dimensions into drawing views
probe_drawing_edgesInspect visible edges (index / type / coordinates in mm) before dimensioning
add_dimensionAdd a linear / diameter / radius / angle dimension between probed edges
auto_add_reference_dimensionsAuto-add reference dimensions (bounding box + circles) for non-parametric geometry
insert_balloonInsert balloons on an assembly drawing view (optionally filtered by component)
insert_bom_tableInsert a top-level-only BOM table
capture_drawingCapture the current drawing as JPEG (inline base64 or shared-folder path)
capture_viewCapture multi-angle screenshots from the 3D model
save_as_pdfExport the current drawing to PDF
save_drawingSave the current drawing (.slddrw)
read_assembly_matesRead all mate relationships of a component in an assembly
get_feature_treeRead the feature tree of a document