npm cad-mcp-serverstdioMITupdated 16d ago
Give your AI assistant the ability to inspect, measure, and compare 3D CAD models. Drop in a STEP file, ask engineering questions, get measured answers. Runs entirely on your machine — no cloud, no CAD license, no setup.
CAD MCP Server 能做什么?
CAD MCP Server
Give your AI assistant the ability to inspect, measure, and compare 3D CAD models. Drop in a STEP file, ask engineering questions, get measured answers. Runs entirely on your machine — no cloud, no CAD license, no setup.
Quick Start
npx -y cad-mcp-server
Add to your MCP client:
{
"mcpServers": {
"cad": {
"command": "npx",
"args": ["-y", "cad-mcp-server"]
}
}
}
Point your AI at any STEP file and ask questions like:
"Review this part before manufacturing. Check wall thickness, draft angles, and hole sizes. Flag anything that violates standard DFM rules."
Why Engineers Use It
- Zero setup. One command. No CAD software, licenses, Docker, or cloud API.
- Runs locally. Your STEP files never leave your machine.
- Deterministic answers. Backed by the Open CASCADE kernel, not LLM guessing.
- Read-only. Inspects geometry without modifying anything.
What It Can Do
| Tool | Example question |
|---|---|
inspect_step |
"What are the overall dimensions and volume?" |
find_faces |
"Find all cylindrical faces. Which ones are holes vs bosses?" |
find_edges |
"What's the smallest fillet radius on this part?" |
measure_geometry |
"Check wall thickness around every hole. Flag anything below 2mm." |
diff_step |
"What changed between revision A and revision B?" |
The AI assistant interprets the measurements. You get engineering answers, not raw numbers.
Example Prompts
- "Review this part for injection molding: check draft angles with +Z pull, measure minimum wall thickness, identify undercuts."
- "Prepare a first-pass CNC plan: likely setups, drilling directions, features that drive cost."
- "Compare these two revisions and flag what needs rechecking before tooling."
- "Which holes are blind vs through? What's the depth of the blind hole?"
- "Find the thinnest wall section on this part. Is it above the 1.5mm minimum?"
See docs/EXAMPLE_PROMPTS.md for more.
Requirements
- Node.js 24+
- STEP files (export from SolidWorks, FreeCAD, Fusion 360, CATIA, or any CAD system)
License
MIT. The bundled OCCT kernel uses LGPL-2.1. See THIRD_PARTY_NOTICES.md.
安装
把 CAD MCP Server 添加到你的客户端。选择你正在使用的那个。
claude mcp add cad-mcp-server -- npx -y cad-mcp-servercodex mcp add cad-mcp-server -- npx -y cad-mcp-serveramp mcp add cad-mcp-server -- npx -y cad-mcp-server{
"mcpServers": {
"cad-mcp-server": {
"command": "npx",
"args": [
"-y",
"cad-mcp-server"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"cad-mcp-server": {
"command": "npx",
"args": [
"-y",
"cad-mcp-server"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"cad-mcp-server","command":"npx","args":["-y","cad-mcp-server"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"cad-mcp-server": {
"command": "npx",
"args": [
"-y",
"cad-mcp-server"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"cad-mcp-server": {
"command": "npx",
"args": [
"-y",
"cad-mcp-server"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"cad-mcp-server": {
"command": "npx",
"args": [
"-y",
"cad-mcp-server"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"cad-mcp-server": {
"type": "local",
"command": "npx",
"args": [
"-y",
"cad-mcp-server"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"cad-mcp-server": {
"command": {
"path": "npx",
"args": [
"-y",
"cad-mcp-server"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y cad-mcp-serverRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
评分
39 / 100
不完整
- 文档18/25
- 维护25/25
- 可信度13/20
- 能力0/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 9 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 0.6.1最新 | 2026年7月8日 |
| 0.5.0 | 2026年7月7日 |
| 0.4.4 | 2026年7月1日 |
| 0.4.2 | 2026年7月1日 |
| 0.4.1 | 2026年7月1日 |
| 0.3.2 | 2026年6月29日 |