Feedback

FreeCAD MCP Server — by neka-nat

@neka-nat Claim

Basic information

Runtime
Python
Version
1.0.0
Category
License
MIT
Transports
stdio
Author
neka-nat
Submitted by
Community
Quality
65
Stars
1.3K

About FreeCAD MCP Server

AI-driven CAD modeling with FreeCAD: control design workflows, generate logos, and edit objects using remote Python scripting.

FreeCAD is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by neka-nat. It exposes 10 tools, including create_document, create_object, edit_object, delete_object and more. Supported transport: stdio. Runtime: Python. License: MIT. The repository has 1,254 GitHub stars. Source code is hosted on github.com. Related topics: claude, community, design, developer-tools, freecad.

Setup

{
    "mcpServers": {
        "freecad": {
            "command": "uvx",
            "args": [
                "freecad-mcp"
            ]
        }
    }
}

FreeCAD MCP Server — by neka-nat config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "freecad": {
            "command": "uvx",
            "args": [
                "freecad-mcp"
            ]
        }
    }
}

FreeCAD MCP Server — by neka-nat tools

  • create_document — Create a new document in FreeCAD. Args: name: The name of the document to create. Returns: A message indicating the success or failure of the document creation. Examples: If you want to create a document named "MyDocument", you can use the following data. ```json { "name": "MyDocument" } ```
  • create_object — $2f
  • edit_object — Edit an object in FreeCAD. This tool is used when the `create_object` tool cannot handle the object creation. Args: doc_name: The name of the document to edit the object in. obj_name: The name of the object to edit. obj_properties: The properties of the object to edit. Returns: A message indicating the success or failure of the object editing and a screenshot of the object.
  • delete_object — Delete an object in FreeCAD. Args: doc_name: The name of the document to delete the object from. obj_name: The name of the object to delete. Returns: A message indicating the success or failure of the object deletion and a screenshot of the object.
  • execute_code — Execute arbitrary Python code in FreeCAD. Args: code: The Python code to execute. Returns: A message indicating the success or failure of the code execution, the output of the code execution, and a screenshot of the object.
  • get_view — Get a screenshot of the active view. Args: view_name: The name of the view to get the screenshot of. The following views are available: - "Isometric" - "Front" - "Top" - "Right" - "Back" - "Left" - "Bottom" - "Dimetric" - "Trimetric" Returns: A screenshot of the active view.
  • insert_part_from_library — Insert a part from the parts library addon. Args: relative_path: The relative path of the part to insert. Returns: A message indicating the success or failure of the part insertion and a screenshot of the object.
  • get_objects — Get all objects in a document. You can use this tool to get the objects in a document to see what you can check or edit. Args: doc_name: The name of the document to get the objects from. Returns: A list of objects in the document and a screenshot of the document.
  • get_object — Get an object from a document. You can use this tool to get the properties of an object to see what you can check or edit. Args: doc_name: The name of the document to get the object from. obj_name: The name of the object to get. Returns: The object and a screenshot of the object.
  • get_parts_list — Get the list of parts in the parts library addon.

Overview

What is FreeCAD?

FreeCAD MCP is a Model Context Protocol (MCP) server that enables you to control FreeCAD, the open-source parametric 3D CAD modeler, directly from Claude Desktop. It is designed for users who want to automate CAD design tasks, generate parts from descriptions or drawings, or integrate FreeCAD with AI-based workflows.

How to use FreeCAD?

Install the FreeCAD MCP addon by copying the addon/FreeCADMCP directory to your FreeCAD Mod folder (paths differ by OS). Then restart FreeCAD, switch to the “MCP Addon” workbench, and click “Start RPC Server” in the toolbar. Configure Claude Desktop by editing claude_desktop_config.json to use uvx freecad-mcp as the MCP server command. Optionally enable auto-start of the RPC server via the FreeCAD MCP menu, or set up remote connections with --host and allowed IPs.

Key features of FreeCAD

  • Create, edit, and delete FreeCAD objects via natural language
  • Execute arbitrary Python code in FreeCAD’s environment
  • Insert parts from the FreeCAD parts library
  • Capture screenshots of the active 3D view
  • Run CalculiX FEM analysis and retrieve summary results
  • Support for remote connections over a network
  • Auto-start RPC server on FreeCAD launch

Use cases of FreeCAD

  • Design mechanical parts (e.g., a flange or toy car) from user descriptions
  • Generate 3D models from 2D technical drawings
  • Automate repetitive CAD operations with AI-driven prompts
  • Perform finite element analysis (FEM) on models and inspect results
  • Manage multiple documents and objects in FreeCAD remotely via Claude

Frequently asked questions

1 What tools are available in FreeCAD MCP?

The server provides 11 tools: create_document, create_object, edit_object, delete_object, execute_code, insert_part_from_library, get_view, get_objects, get_object, get_parts_list, and run_fem_analysis.

2 How do I enable remote connections to FreeCAD MCP?

In the FreeCAD MCP toolbar, check Remote Connections to bind to 0.0.0.0. Then use Configure Allowed IPs to specify comma-separated IP addresses or CIDR subnets. On the Claude Desktop side, pass the --host flag with the FreeCAD machine’s IP address or hostname.

3 How can I make the RPC server start automatically?

Switch to the MCP Addon workbench, open the FreeCAD MCP menu, and check Auto-Start Server. The setting is saved to freecad_mcp_settings.json and persists across sessions.

4 Is a Python environment required to run FreeCAD MCP?

Yes. Pre-installation of uvx (from the Astral uv tool) is required for the Claude Desktop configuration.

5 Can I receive only text feedback without image data?

Yes. Add the --only-text-feedback flag in the claude_desktop_config.json args to disable image-based feedback and use only textual responses.

Videos

Tutorials, guides, and showcases related to FreeCAD MCP Server — by neka-nat. The player loads when you press play.

Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬