solidworks-mcp

solidworks-mcp is a skill for Claude Code, Codex from andrewbartels1/SolidworksMCP-python. It costs 69 tokens per session (1,386 once invoked), scanned A, original, MIT.

A guide for using an MCP server to control SolidWorks, a computer-aided design program, for making and checking parts, assemblies, and drawings.

In plain words
What is it for?
It helps create sketches and solid features, work with existing models, select faces and edges, verify models, and generate drawing packages.
Why use it?
It prevents common automation failures by explaining the required tool order, measurement units, model checks, and how to recover from errors.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps create sketches and solid features, work with existing models, select faces and edges, verify models, and generate drawing packages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andrewbartels1/solidworksmcp-python/solidworks-mcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add andrewbartels1/SolidworksMCP-python --skill solidworks-mcp
Clone the repo
git clone --depth 1 https://github.com/andrewbartels1/SolidworksMCP-python

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for solidworks-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/andrewbartels1/solidworksmcp-python/solidworks-mcp/github.svg)](https://agentmods.dev/skills/andrewbartels1/solidworksmcp-python/solidworks-mcp)
Your own site
<a href="https://agentmods.dev/skills/andrewbartels1/solidworksmcp-python/solidworks-mcp"><img src="https://agentmods.dev/badge/skills/andrewbartels1/solidworksmcp-python/solidworks-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for solidworks-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/andrewbartels1/solidworksmcp-python/solidworks-mcp"><img src="https://agentmods.dev/badge/skills/andrewbartels1/solidworksmcp-python/solidworks-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,386 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.01386
Opus 5.5 $0.00028 $0.00554
Sonnet 5.5 $0.00014 $0.00277
Haiku 4.5 $0.00007 $0.00139

Measured yesterday against content hash 9428922d7e95, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

solidworks-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/solidworks_mcp/skills/solidworks-mcp/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Using the SolidWorks MCP server

These tools drive a real SolidWorks session through its API. Each tool's own description says what it does and what it needs; this skill covers what spans tools: the order to call them in, units, choosing faces and edges, checking the result, and what doesn't work yet.

Before anything

  • Call get_model_info first. It says which document is active (it follows a switch the user made in the SolidWorks window). list_open_documents lists every open document; activate_document switches.
  • Call tools one at a time and wait for each result. The server pauses after every SolidWorks call on purpose: driving SolidWorks back-to-back crashes it.

The build order

A solid feature always comes from a closed sketch:

  1. create_part (or open_model for an existing file).
  2. create_sketch on a plane: "Front", "Top", "Right", or a plane from create_reference_plane. Don't pass sketch_name; the reply gives SolidWorks' own name for the sketch.
  3. Draw: add_rectangle, add_circle, add_line, add_arc, add_polygon, and so on. For a revolve, add the axis with add_centerline in this sketch.
  4. exit_sketch.
  5. The feature: create_extrusion (add material), create_cut_extrude (remove it), create_revolve, create_sweep, create_loft. create_extrusion and create_revolve use the sketch you just closed, whatever name you pass, so call them straight after exit_sketch. create_cut_extrude takes sketch_name; pass it.
  6. Then edge treatments: select_face_edges, then add_fillet or add_chamfer with empty edge_names.
  7. Finish with verify_model (see "Check the result").
  8. set_material, then save_part with a file_path.

Repeat 2-5 for each feature. For holes in a ring or a row, draw every circle in one sketch (sketch_circular_pattern, sketch_linear_pattern) and cut once: pattern_circular and mirror_feature can't repeat a cut yet.

Worked sequences for parts, assemblies and drawings: references/workflows.md.

Read the full file on GitHub · 113 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +6 lines 9428922d7e95
  2. 3d ago First seen · 107 lines · 69 tokens per session scan A e42ed10db093

Subscribe to this mod's changes

solidworks-mcp is a skill published in the GitHub repository andrewbartels1/SolidworksMCP-python (97 stars, last pushed yesterday), licensed MIT. It adds 69 tokens to every session and 1,386 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-06.

Related

solidworks-mcp compared with skills from other repositories

solidworks-mcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
solidworks-mcpandrewbartels1/SolidworksMCP-pythonSkill97yesterdayMITA69Claude Code, Codex
catiaalivirgo/Major-AI-SkillsSkill2todayMITA31Claude Code
siemens-nxalivirgo/Major-AI-SkillsSkill2todayMITA23Claude Code
solidworksalivirgo/Major-AI-SkillsSkill2todayMITA35Claude Code
autocad-mcp-premiumU-C4N/Autocad-MCPSkill2482d agoMITA94Claude Code
solidworks-apiguoleizhen717/solidworks-api-skillSkill65mo agoMITA118Claude Code, Codex
open-prpascalorg/editorSkill25kyesterdayMITA51Claude Code, Cursor