H
hjbaard/SolidWorks-MCP
MCP server that lets AI agents build, measure and verify parametric parts and assemblies in a running SolidWorks (Windows, COM).
无 SECURITY.md
在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
- 复制上面的命令
- 粘成
claude_desktop_config.json里mcpServers的一项(本地服务器用 command + args,示例见 客户端接法) - 重启客户端
客户端配置(取自该仓库的安装命令)
{
"mcpServers": {
"hjbaard-solidworks-mcp": {
"command": "uvx",
"args": ["solidworks-mcp"]
}
}
}解析自我们于 2026-10-26 抓取的该仓库 README;我们未执行过。
command/args 来自仓库写明的安装命令;不确定时请以该项目 README 为准。
VS Code(.vscode/mcp.json —— 键名是 servers)
{
"servers": {
"hjbaard-solidworks-mcp": {
"command": "uvx",
"args": ["solidworks-mcp"]
}
}
}VS Code 顶层键是 <code>servers</code>,其余与上面那份相同。
Claude Code(命令行)
claude mcp add --transport stdio hjbaard-solidworks-mcp -- uvx solidworks-mcp
Claude Code 不收 JSON 文件,用这条命令直接加。
配置项的键名以你的客户端为准:客户端与 CLI
- ★ 数取值
- 32 ★ · hjbaard/SolidWorks-MCP · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
- 来源明细
- 收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
- 收录与活跃
- 收录于 2026-10-23 · 最近见到 2026-11-14 · 共见到 26 次 · 被 33 个来源列出
- 评分构成
- 综合分 3,300 · 32 ★ · 33 个来源 · mcp
- 安装
uvx solidworks-mcp
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是
uvx solidworks-mcp。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库
hjbaard/SolidWorks-MCP;我们收录于 2026-10-23;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。# SolidWorks MCP
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Let an AI agent (Claude, or any other MCP client) model real parametric parts and
assemblies in your own SolidWorks — and check its own work. Every
modelling call returns the measured volume, mass and bounding box, so the agent
can compare the result with the spec and correct itself instead of guessing that
it "looks about right".
Built by the tools themselves: a mounting bracket (every step checked against a hand calculation), an M10 bolt with a real thread, a revolved + shelled vase, a swept pipe, a lofted + shelled horn.
## Why this server
It verifies, not just generates. Features report measured geometry;
dimensions and mates are measured back after the rebuild.
Fully defined sketches. Every sketch is constrained the way a designer
would: dimensions from the origin, relations only where the geometry is
exactly horizontal, vertical or on the origin. Tools return their dimensions
by role (width@Sketch1), so the part stays editable, in SolidWorks or
through the agent.
Real CAD, not just primitives. Extrude, revolve, sweep, loft and splines;
holes, counterbores, slots and pockets on any face; rounded polygon corners; ISO holes from the Hole Wizard; real ISO metric threads;
fillets, chamfers, shells, patterns, mirrors, ribs, equations and materials. Assemblies
with mates and interference checks. STEP/STL/3MF export and screenshots.
Engraved and embossed text. Work on existing parts: list, delete, suppress and reorder features; read, extrude and cut a person's sketches; import STEP. Colours per part or component. Joints with concentric and angle mates, checked over their range. Printability checks and dimensioned drawings. Planes at any offset or angle. Several bodies per part, combined and split. Variable fillets and full rounds. Free sketches with tangent arcs and splines. 86 tools in total.
It fails loud. A call that cannot do what was asked returns
{ok: false, error} with the cause, never silently wrong geometry.
A fixed, typed tool surface. There is no "run arbitrary code" tool; the
agent can only do what the tools allow.
Tested against real SolidWorks. 691 tests; each feature's integration test
compares the result with a hand calculation.
Local. It talks to your running SolidWorks over COM; the server itself
makes no network calls.
## Quickstart
1. Install uv.
2. Start SolidWorks and leave it open (the server attaches to the running
instance — it does not launch one).
3. Register the server with your MCP client.
Claude Code:
bash
claude mcp add solidworks -- uvx solidworks-mcp
Claude Desktop (claudedesktopconfig.json) or any other client:
json
"mcpServers": {
"solidworks": {
"command": "uvx",
"args": ["solidworks-mcp"]
It is also listed in the official
MCP Registry
as io.github.hjbaard/solidworks-mcp.
4. Ask for a part, for example:
> 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. Check the
> volume against your own calculation, then export a fine STL.
## Guidelines for agents
The server hands every MCP client short modelling guidelines when it connects
(conventions, verify each step, known pitfalls). The full guide is the resource
assemblies in your own SolidWorks — and check its own work. Every
modelling call returns the measured volume, mass and bounding box, so the agent
can compare the result with the spec and correct itself instead of guessing that
it "looks about right".
Built by the tools themselves: a mounting bracket (every step checked against a hand calculation), an M10 bolt with a real thread, a revolved + shelled vase, a swept pipe, a lofted + shelled horn.
## Why this server
It verifies, not just generates. Features report measured geometry;
dimensions and mates are measured back after the rebuild.
Fully defined sketches. Every sketch is constrained the way a designer
would: dimensions from the origin, relations only where the geometry is
exactly horizontal, vertical or on the origin. Tools return their dimensions
by role (width@Sketch1), so the part stays editable, in SolidWorks or
through the agent.
Real CAD, not just primitives. Extrude, revolve, sweep, loft and splines;
holes, counterbores, slots and pockets on any face; rounded polygon corners; ISO holes from the Hole Wizard; real ISO metric threads;
fillets, chamfers, shells, patterns, mirrors, ribs, equations and materials. Assemblies
with mates and interference checks. STEP/STL/3MF export and screenshots.
Engraved and embossed text. Work on existing parts: list, delete, suppress and reorder features; read, extrude and cut a person's sketches; import STEP. Colours per part or component. Joints with concentric and angle mates, checked over their range. Printability checks and dimensioned drawings. Planes at any offset or angle. Several bodies per part, combined and split. Variable fillets and full rounds. Free sketches with tangent arcs and splines. 86 tools in total.
It fails loud. A call that cannot do what was asked returns
{ok: false, error} with the cause, never silently wrong geometry.
A fixed, typed tool surface. There is no "run arbitrary code" tool; the
agent can only do what the tools allow.
Tested against real SolidWorks. 691 tests; each feature's integration test
compares the result with a hand calculation.
Local. It talks to your running SolidWorks over COM; the server itself
makes no network calls.
## Quickstart
1. Install uv.
2. Start SolidWorks and leave it open (the server attaches to the running
instance — it does not launch one).
3. Register the server with your MCP client.
Claude Code:
bash
claude mcp add solidworks -- uvx solidworks-mcp
Claude Desktop (claudedesktopconfig.json) or any other client:
json
"mcpServers": {
"solidworks": {
"command": "uvx",
"args": ["solidworks-mcp"]
It is also listed in the official
MCP Registry
as io.github.hjbaard/solidworks-mcp.
4. Ask for a part, for example:
> 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. Check the
> volume against your own calculation, then export a fine STL.
## Guidelines for agents
The server hands every MCP client short modelling guidelines when it connects
(conventions, verify each step, known pitfalls). The full guide is the resource
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[](https://anclum.com/zh/s/hjbaard-solidworks-mcp/)
- 来源
- awesome · https://github.com/hjbaard/SolidWorks-MCP
- 按领域浏览
- MCP 服务
- Traction
- 32 ★
- 收录来源
- 33 个独立来源
- 收录于
- 今天
- 安全策略
- 我们没在该仓库根目录找到
SECURITY.md(这不代表不安全)
同类推荐
所属领域与标签
每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。