Onshape MCP Server (hedless)
MCP serverCommunity
A Python server with 45 tools over the Onshape REST API for sketches, features, assemblies and exports. By hedless.
163 starsUpdated 8 weeks agoGitHub data from 5 Nov 2026
At a glance
- Type
- MCP server
- Works with
- Onshape
- How it connects
- Works through the vendor's cloud API
- Access
- Can modify models
- Tool versions
- Onshape (cloud)
- Operating systems
- Not stated in its documentation
- Needs a Onshape licence
- Yes
- Transport
- Local (stdio)
- AI clients documented
- Claude Code
- Licence
- Not stated in its documentation
- Language
- Python
What it can do
- Searches documents and finds Part Studios and workspaces.
- Creates sketches on standard planes and extrude, revolve, thicken, fillet, chamfer, boolean and pattern features.
- Builds assemblies with fastened, slider, revolute and cylindrical mates, and checks interference.
- Reads and writes variable tables, evaluates FeatureScript expressions, and exports STL, STEP, Parasolid, glTF and OBJ.
Limitations
- Needs an Onshape API access key and secret key from the developer portal.
- The repository has no licence file detected by GitHub.
Install
git clone https://github.com/hedless/onshape-mcp.git
cd onshape-mcp
python -m venv venv
source venv/bin/activate
pip install -e .{
"mcpServers": {
"onshape": {
"command": "/absolute/path/to/onshape-mcp/venv/bin/python",
"args": ["-m", "onshape_mcp.server"],
"env": {
"ONSHAPE_ACCESS_KEY": "your_access_key_here",
"ONSHAPE_SECRET_KEY": "your_secret_key_here"
}
}
}
}Source: github.com/hedless/onshape-mcp#configuring-with-claude-code
MCP servers and skills run code on your computer. Review the source before installing.
AI-generated models, drawings and results must be checked by a qualified engineer before use.