Skip to content
MCP server

AnkusDrive

Drive FreeCAD from an agent for CAD modelling, drawings and simulation

Runs locallyActively maintained

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 ankusdrive

Add --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"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

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

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

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

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

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

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

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.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add ankusdrive -- uvx ankusdrive

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

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.

    Gemini CLI and Antigravity setup guide

  • 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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

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

    Cline setup guide

  • 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.

    Zed setup guide

  • 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.

    JetBrains AI Assistant and Junie setup guide

  • 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.

    Kiro setup guide

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.

How AIPoweredBot checks servers