Skip to content
Tresca
MCP serverCommunity

swforge

by mwdandomsMIT

A Python library, CLI and MCP server that builds SOLIDWORKS parts, assemblies and GB-template drawings from JSON parameters.

InstallRepository Checked 19 Nov 2026

What it's for

swforge drives a running copy of SOLIDWORKS on Windows. Its documentation describes 5 capabilities and 4 limitations, summarised below.

What it can do

  • Models plates, tubes, shafts, revolved bodies, cuts, holes, fillets, chamfers, patterns, shells, ribs and lofts from JSON parameters, with native driven dimensions for common profiles.
  • Applies GB material grades and colours, builds assemblies with face-based mates, and runs interference and basic clearance checks with a BOM.
  • Produces drawings with standard, section and detail views on GB templates, multi-sheet sets and PDF export.
  • Reads results back after rebuilding so the agent can check what it built.
  • Exposes the same operations to an AI assistant over MCP, which first lists operations and then calls them.

Limitations

  • The README is in Chinese, with an English version alongside; MCP client config is not given.
  • Springs and auger blades come out as plain solids without helix history, so changing them means regenerating.
  • The author says version 2.0 is the last planned feature update for the free edition, and that its GB checks are not a full standards, strength or manufacturing check.
  • One process should target one SOLIDWORKS version, set with the SWFORGE_SW_YEAR variable.

AI-generated models, drawings and results must be checked by a qualified engineer before use.