
AnkusDrive
Drive FreeCAD from an agent for CAD modelling, drawings and simulation
The repository was last updated 2 days ago and is published under Apache-2.0.
AnkusDrive is an open-source MCP server for engineering simulation. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, macOS, Linux
- Runs
- Locally
- GitHub stars
- 16
- Last commit
- Language
- Python
Similar MCP servers
Install
You install MCP servers on a computer. Send yourself the link.
Add with the CLI
Run in a terminal
claude mcp add ankusdrive -- uvx ankusdriveAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"ankusdrive": {
"command": "uvx",
"args": [
"ankusdrive"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"ankusdrive": {
"command": "uvx",
"args": [
"ankusdrive"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"ankusdrive": {
"command": "uvx",
"args": [
"ankusdrive"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"ankusdrive": {
"type": "stdio",
"command": "uvx",
"args": [
"ankusdrive"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add ankusdrive -- uvx ankusdriveOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.ankusdrive]
command = "uvx"
args = ["ankusdrive"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"ankusdrive": {
"command": "uvx",
"args": [
"ankusdrive"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "ankusdrive": { "command": "uvx", "args": [ "ankusdrive" ] } } }Or run: gemini mcp add -s user ankusdrive uvx -- ankusdrive
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "ankusdrive": { "command": "uvx", "args": [ "ankusdrive" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "ankusdrive": { "command": "uvx", "args": [ "ankusdrive" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "ankusdrive": { "command": "uvx", "args": [ "ankusdrive" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "ankusdrive": { "command": "uvx", "args": [ "ankusdrive" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "ankusdrive": { "command": "uvx", "args": [ "ankusdrive" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "ankusdrive": { "command": "uvx", "args": [ "ankusdrive" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "ankusdrive": { "command": "uvx", "args": [ "ankusdrive" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
ANKUSDRIVE_FREECADCMDAbsolute path to FreeCAD 1.1's freecadcmd. Leave unset to auto-discover on PATH and standard install locations.
About AnkusDrive
FreeCAD's Python API lives inside its embedded interpreter, which is awkward to reach from outside. AnkusDrive launches freecadcmd as a subprocess and exposes it through a command-line tool and an MCP server, so a model can design a part, mesh it, solve it and read back results without touching the GUI.
The README counts more than 280 tools, from core modelling (new_document, add_primitive, boolean_op, pad, add_gear) to FEM (fem_new_analysis, fem_run, fem_results) and wider simulation: thermal, CFD, electromagnetics, acoustics, fluid-structure, injection moulding, granular, optics and multibody. A design-control layer handles part numbers, variants, revisions and change orders, and a multi-agent layer lets several agents build components in parallel and merge them.
It targets FreeCAD 1.1.x, which ships CalculiX and gmsh, so structural FEM works on macOS, Linux and Windows. Heavier solvers such as OpenFOAM and Elmer run in a signed container image on a Mac. Install with pipx or pip.
What it does
- CLI and MCP
- One-shot commands for scripts and CI, plus an MCP server for agents.
- 280+ tools
- Modelling, FEM and simulation tools exposed as structured calls.
- Broad simulation
- Thermal, CFD, electromagnetics, acoustics, FSI, optics, multibody and more.
- Design control
- Part numbers, variants, revisions and change orders.
- Multi-agent building
- Several agents split a product into components and merge them.
- Doctor command
- ankusdrive doctor reports which solvers are ready and how to fix gaps.
Good for
- Model a mechanical part from a text description
- Run a structural FEM study and read stress results
- Export drawings as DXF, PDF or SVG
- Run CFD or thermal solves through a container on a Mac
- Have several agents build parts of one assembly
Pricing
Open source
Open-source Python package on PyPI; licence not published
Prices change. Check pypi.org before you buy.
AnkusDrive FAQ
What do I need installed?
FreeCAD 1.1.x plus the pip package; set ANKUSDRIVE_FREECADCMD if auto-discovery fails.
Which operating systems work?
macOS, Linux and Windows; core CAD and structural FEM run natively on all three.
Where do OpenFOAM and Elmer run on a Mac?
In a solver container image, which can be checked against its Sigstore signature.
How do I verify my setup?
Run ankusdrive ping and ankusdrive doctor.
Is AnkusDrive free?
Yes. AnkusDrive is open source, so you can use and self-host it for free.
How do I add AnkusDrive to Claude Code?
Run this command in your terminal: claude mcp add ankusdrive -- uvx ankusdrive
What are the best alternatives to AnkusDrive?
The closest alternatives to AnkusDrive are Mesh2cad, build123d MCP, Altium Designer MCP, eda-agent and SolidWorks.
Where this comes from
- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.


