by contextform
FreeCAD MCP - Open-source Model Context Protocol server for FreeCAD automation
# Add to your Claude Code skills
git clone https://github.com/contextform/freecad-mcpGuides for using mcp servers skills like freecad-mcp.
freecad-mcp is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by contextform. FreeCAD MCP - Open-source Model Context Protocol server for FreeCAD automation. It has 145 GitHub stars.
freecad-mcp's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/contextform/freecad-mcp" and add it to your Claude Code skills directory (see the Installation section above).
freecad-mcp is primarily written in Python. It is open-source under contextform on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh freecad-mcp against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Control FreeCAD with Claude AI through natural language!
Create 3D models, add features, and automate CAD workflows using conversational AI.
Watch FreeCAD MCP model a house from a simple text command:
"Ask FreeCAD to model a house" - and watch it create walls, roof, windows, and door automatically!
🎉 New! Easy 2-command installation with automatic updates!
Before installation, make sure you have:
npm install -g claude-code (recommended)Python 3.9+ is included with FreeCAD automatically
Windows:
python -m pip install --user mcp
npm install -g freecad-mcp-setup@latest
npx freecad-mcp-setup setup
macOS/Linux:
pip install mcp
npm install -g freecad-mcp-setup@latest
npx freecad-mcp-setup setup
That's it! The installer automatically:
To update to the latest version:
Windows:
npm update -g freecad-mcp-setup
npx freecad-mcp-setup setup
macOS/Linux:
npm update -g freecad-mcp-setup
npx freecad-mcp-setup setup
The installer will automatically download and install the latest FreeCAD MCP files!
In a new terminal/command prompt:
claude
Ask Claude:
Check FreeCAD connection
You should see confirmation that FreeCAD tools are available.
Just ask Claude to design anything - watch the demo video above to see it model a house!
The installer works with Claude Code by default. For Claude Desktop users, after running the installer, you'll need to manually configure:
Add to your Claude Desktop config:
macOS/Linux:
{
"mcpServers": {
"freecad": {
"command": "python3",
"args": ["/Users/yourusername/.freecad-mcp/working_bridge.py"]
}
}
}
Windows:
{
"mcpServers": {
"freecad": {
"command": "python3",
"args": ["C:\\Users\\yourusername\\.freecad-mcp\\working_bridge.py"]
}
}
}
Config file locations:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%/Claude/claude_desktop_config.jsonFor developers who prefer full control:
# Clone the repository
git clone https://github.com/contextform/freecad-mcp.git
cd freecad-mcp
# Install dependencies
python3 -m pip install mcp
# Install FreeCAD workbench (choose your OS):
# macOS:
cp -r AICopilot ~/Library/Application\ Support/FreeCAD/Mod/
# Linux:
# cp -r AICopilot ~/.local/share/FreeCAD/Mod/
# Windows:
# cp -r AICopilot %APPDATA%\FreeCAD\Mod\
# Register MCP server with full path
claude mcp add freecad python3 "$(pwd)/working_bridge.py"
Create 3D Objects:
Create a 50x30x20mm box with 5mm fillets
Make a cylinder with 25mm radius and 60mm height
Parametric Features:
Add a 3mm fillet to Pad001
Create a 6mm counterbore hole at position (20,10)
Make a linear pattern of 5 copies spaced 30mm apart
Advanced Operations:
Create a PartDesign pad from Sketch001 with 15mm length
Add a mirror of Feature001 across the XZ plane
Take an isometric screenshot at 1200x800
Installation Problems:
# Re-run the installer (fixes most issues)
freecad-mcp setup
# Force update to latest version
freecad-mcp setup --update
# Get help
freecad-mcp --help
Common Issues:
| Problem | Solution |
|---|---|
| "FreeCAD not found" | Install FreeCAD 1.0+ from freecad.org |
| "Claude Code not found" | Run npm install -g claude-code |
| "npm command not found" | Install Node.js from nodejs.org |
| MCP registration failed | Manual setup: claude mcp add freecad python3 ~/.freecad-mcp/working_bridge.py |
Testing Connection:
claude in terminalmcp__freecad__* tools listed ✅To completely remove FreeCAD MCP and restore defaults:
Windows:
# Remove from Claude
claude mcp remove freecad
# Remove FreeCAD workbench
rmdir /s /q "%APPDATA%\FreeCAD\Mod\AICopilot"
# Remove MCP files
rmdir /s /q "%USERPROFILE%\.freecad-mcp"
del "%USERPROFILE%\.freecad-mcp-version"
# Uninstall npm package
npm uninstall -g freecad-mcp-setup
macOS/Linux:
# Remove from Claude
claude mcp remove freecad
# Remove FreeCAD workbench
rm -rf ~/.local/share/FreeCAD/Mod/AICopilot # Linux
# rm -rf ~/Library/Application\ Support/FreeCAD/Mod/AICopilot # macOS
# Remove MCP files
rm -rf ~/.freecad-mcp
rm -f ~/.freecad-mcp-version
# Uninstall npm package
npm uninstall -g freecad-mcp-setup
Claude Desktop users: Also remove the "freecad" section from your claude_desktop_config.json file.
Ready to design with AI? Install and start creating! 🚀