# AnkusDrive

> AnkusDrive is an open-source MCP server for engineering simulation. Drive FreeCAD from an agent for CAD modelling, drawings and simulation. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Linux, Windows, Self-hosted
- **Website:** https://pypi.org/project/ankusdrive/
- **Repository:** https://github.com/gchen19/ankusdrive
- **GitHub stars:** 16
- **License:** Apache-2.0
- **MCP Registry name:** io.github.gchen19/ankusdrive
- **Categories:** [engineering simulation](https://ai-powered.com/categories/engineering-simulation), [manufacturing](https://ai-powered.com/categories/manufacturing)
- **Listing updated:** 2026-12-01

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add ankusdrive -- uvx ankusdrive
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "ankusdrive": {
      "command": "uvx",
      "args": [
        "ankusdrive"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "ankusdrive": {
      "command": "uvx",
      "args": [
        "ankusdrive"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "ankusdrive": {
      "command": "uvx",
      "args": [
        "ankusdrive"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "ankusdrive": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "ankusdrive"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add ankusdrive -- uvx ankusdrive
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.ankusdrive]
command = "uvx"
args = ["ankusdrive"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "ankusdrive": {
      "command": "uvx",
      "args": [
        "ankusdrive"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user ankusdrive uvx -- ankusdrive

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "ankusdrive": {
      "command": "uvx",
      "args": [
        "ankusdrive"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "ankusdrive": {
      "command": "uvx",
      "args": [
        "ankusdrive"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "ankusdrive": {
      "command": "uvx",
      "args": [
        "ankusdrive"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "ankusdrive": {
      "command": "uvx",
      "args": [
        "ankusdrive"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "ankusdrive": {
      "command": "uvx",
      "args": [
        "ankusdrive"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "ankusdrive": {
      "command": "uvx",
      "args": [
        "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.

## Alternatives

- [Mesh2cad](https://ai-powered.com/mcp/mesh2cad): Mesh2cad is an open-source MCP server for design and media.
- [build123d MCP](https://ai-powered.com/mcp/build123d-mcp): build123d MCP is an open-source MCP server for engineering simulation.
- [Altium Designer MCP](https://ai-powered.com/mcp/altium-designer-mcp): Altium Designer MCP is an MCP server for engineering simulation.
- [eda-agent](https://ai-powered.com/mcp/eda-agent): eda-agent is an open-source MCP server for engineering simulation.
- [SolidWorks](https://ai-powered.com/mcp/solidworks-2): SolidWorks is an open-source MCP server for engineering simulation.
- [Autodesk Inventor](https://ai-powered.com/mcp/autodesk-inventor): Autodesk Inventor is an open-source MCP server for design and media.
- [Omniverse MCP](https://ai-powered.com/mcp/omniverse-mcp): Omniverse MCP is an open-source MCP server for engineering simulation.
- [Onshape](https://ai-powered.com/mcp/onshape): Onshape is an MCP server for design and media.

---
Source: https://ai-powered.com/mcp/ankusdrive
