By ReshefElisha
Use Claude to drive Onshape CAD modeling: instruct sketches, extrusions, fillets, mates, and FeatureScript features; iterate parametrically; decompose uploaded reference images into structured feature trees for automated, precise 3D builds via local API connection.
Protocols for driving Onshape CAD via the onshape-mcp plugin. Render-first and entity-first workflows, unit + coordinate conventions, iteration discipline, when to reach for FeatureScript, and the gotchas (REMOVE-on-face auto-flip, Variable Studios as separate elements, deterministic ID remapping). Load before building anything in Onshape — the plugin's MCP tool surface makes more sense with this doc in context.
Look at an engineering reference image (drawing, iso render, photo) and produce a structured feature decomposition BEFORE building anything in Onshape. Output is a feature tree the user can review and the build phase can execute against. Use this whenever the user gives you a reference image and asks you to model it. Skip if the user has already described the part in plain text.
This plugin requires configuration values that are prompted when the plugin is enabled. Sensitive values are stored in your system keychain.
ONSHAPE_API_KEYAdmin access level
Server config contains admin-level keywords
Requires secrets
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Onshape API access key. Get one at https://dev-portal.onshape.com/ (the 'Access Key' value when you create an API key pair).
${user_config.ONSHAPE_API_KEY}ONSHAPE_API_SECRETOnshape API secret key (the 'Secret Key' shown once when you create the API key pair).
${user_config.ONSHAPE_API_SECRET}Needs API keys or credentials to function
Needs API keys or credentials to function
Claude Code plugin that lets Claude drive real Onshape CAD: sketches, extrudes, fillets, mates, parametric iteration via Variable Studios, custom FeatureScript features. Every mutating tool returns a structured truth: what changed, what warnings the regenerator raised, and hints for the next move. Multi-view PNG renders come back as image content so Claude can actually see the part.
Includes a vision-decomposition skill that walks Claude through reading an
engineering reference image before building. See RESEARCH.md for the
benchmark data behind that workflow.
"felt dramatically more like writing code than anything I've tried with an LLM CAD tool."
{ok, status, feature_id, feature_name, error_message, changes?, hints?}. Silent regen
failures are surfaced, warnings are enriched with actionable fixes.render_part_studio_views and render_assembly_views return
shaded PNGs (front/top/right/iso). crop_image zooms in on regions.
load_local_image caches a reference image (drawing, photo, sketch) the
user shares so you can crop into it the same way. compare_to_reference
renders your in-progress part and composites it directly under the
reference for side-by-side visual diff in a single image./skill vision-decompose — when the
user gives you a reference image and asks you to build it, this skill
walks you through a structured zoom-and-describe pass before you start
building. Produces a feature tree the user can sanity-check. We measured
this turns "agent skims image and builds the wrong shape" into "agent
reads image carefully, asks the user to confirm, then builds." See the
research writeup below.extract_drawing_dimensions runs Tesseract on an
engineering drawing and returns every numeric callout (length / radius /
diameter / thread / angle / count) grouped by kind, with pixel positions.
Use it on hard-to-read drawing PNGs where small dim text gets clobbered
by Claude's vision downsampling.list_entities returns deterministic
face IDs, surface types, and normals so follow-up features can target geometry
without guessing.changes:
block with bbox delta, part count delta, mass delta — you see the effect
before rendering.set_variable is
upsert-by-name, so reparametrizing NEMA 17 → NEMA 23 is a few values away.write_featurescript_feature lets Claude
write a custom feature directly (helices, swept threads, shells with
parameters) when the tool-per-primitive surface isn't enough. Regen errors
surface FS notice text.BOOLEAN_SUBTRACT_NO_OP → oppositeDirection,
SKETCH_DIMENSION_MISSING_PARAMETER → add missing variable, …)./plugin install github:ReshefElisha/jarvis-onshape-mcp
Claude Code will prompt you for:
ONSHAPE_API_KEY — the "Access Key" from the Onshape developer portal.ONSHAPE_API_SECRET — the "Secret Key" shown once when you create the key pair.Get a key pair at dev-portal.onshape.com. Both values are stored in the OS keychain and never written to disk in plaintext.
brew install uv or the
official installer). The plugin launches its MCP server via uv run.Once installed, restart Claude Code and try:
"Create a new Onshape document, add a Part Studio, and build me a 60×40×8 mm mounting plate with four ø4 mm holes 6 mm in from the corners."
Claude will render the result, show you the bbox delta, and surface any
regen warnings. If it takes a wrong direction on an extrude, the
BOOLEAN_SUBTRACT_NO_OP hint will kick in and it'll self-correct.
Two plugin skills auto-discovered by Claude Code:
skills/onshape/SKILL.md — CAD build skill. Loaded into every Onshape
session. Covers units (bare numbers in mm), coordinate frames (Front is XZ
with a Y-normal sign flip), render-first and entity-first workflows,
iteration discipline, when to reach for write_featurescript_feature,
and the gotchas (REMOVE-on-face auto-flip, Variable Studios as separate
elements, deterministic ID remapping).npx claudepluginhub reshefelisha/jarvis-onshape-mcp --plugin jarvis-onshape-mcpCAD, robotics, fabrication, and local review skills.
Skills for using Build123D - a Python CAD library for creating parametric 3D models
Plan and design gridfinity baseplates for 3D printing with optimal grid layouts and print bed slicing
18 specialized Claude Code skills for computational design in AEC covering parametric modeling, generative design, computational geometry, algorithmic patterns, structural computation, environmental simulation, facade engineering, digital fabrication, BIM scripting, interoperability, optimization methods, data-driven design, mesh processing, design automation, and machine learning for AEC. References 50+ pioneers and frameworks including Patrik Schumacher, Greg Lynn, Neri Oxman, Achim Menges, and standards from buildingSMART, Ladybug Tools, ASHRAE, Eurocode, and more. Includes 7 Python calculators.
Blender automation toolkit with CLI for geometry, materials, modifiers, collections, animation retargeting, and WebSocket-based real-time control
AI-powered design thinking partner that helps explore ideas, generate visuals, and create prototypes through natural conversation