CadQuery

v1.0.0Developer Toolsstable

MCP server providing CAD generation and verification tools using CAD-Query

cadquerymcpai-integration
Share:
12
Stars
0
Downloads
0
Weekly
0/5

What is CadQuery?

CadQuery is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server providing cad generation and verification tools using cad-query

MCP server providing CAD generation and verification tools using CAD-Query

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP server providing CAD generation and verification tools u

Use Cases

Generate and verify CAD designs using parametric modeling.
Create 3D models through AI-assisted CAD operations.
rishigundakaram

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedApr 30, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx cadquery

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use CadQuery

The CadQuery MCP Server integrates the CadQuery parametric 3D modeling library with AI assistants via the Model Context Protocol, enabling language models to generate, verify, and export CAD designs as Python scripts. It exposes tools for validating CadQuery model files against natural-language criteria, producing STL and STEP files, and rendering SVG previews, making it possible to iterate on mechanical parts through conversational prompts rather than manual CAD workflows.

Prerequisites

  • Python with UV package manager installed
  • CadQuery library (installed via uv sync --extra cad)
  • An MCP-compatible client such as Claude Desktop
  • Basic familiarity with parametric CAD concepts is helpful
1

Clone the repository

Clone the cadquery-mcp-server repository to your local machine.

git clone https://github.com/rishigundakaram/cadquery-mcp-server.git
cd cadquery-mcp-server
2

Install Python dependencies

Use uv to synchronize the project dependencies. Use the --extra cad flag to include the full CadQuery library required for 3D operations.

uv sync
uv sync --extra cad
3

Verify the server runs

Run the test suite to confirm CadQuery and the MCP server are working correctly before connecting to a client.

uv run python tests/test_server.py
4

Configure Claude Desktop

Add the cadquery-mcp-server to your Claude Desktop configuration. Replace /path/to/cadquery-mcp-server with the actual absolute path to your clone.

{
  "mcpServers": {
    "cadquery-server": {
      "command": "python",
      "args": ["/path/to/cadquery-mcp-server/server.py"]
    }
  }
}
5

Test interactively with MCP dev mode

Use the MCP dev runner to test the server interactively before connecting to a full client.

uv run mcp dev server.py

CadQuery Examples

Client configuration

Claude Desktop config block to launch the CadQuery MCP server using Python.

{
  "mcpServers": {
    "cadquery-server": {
      "command": "python",
      "args": ["/Users/you/cadquery-mcp-server/server.py"]
    }
  }
}

Prompts to try

Example prompts to use once the CadQuery MCP server is connected.

- "Verify my CadQuery model at models/bracket.py against the criteria: steel bracket, 80mm x 40mm base, 5mm wall thickness"
- "Generate a CadQuery script for a coffee mug with handle, 10cm height and 8cm diameter"
- "Check if the STL exported from models/gear.py matches a 20-tooth spur gear with 2mm module"
- "Create a simple box 50x30x20mm and export it as STEP"

Troubleshooting CadQuery

CadQuery import fails or 'No module named cadquery' error

Run 'uv sync --extra cad' again to ensure the CadQuery extra dependency is installed. CadQuery has native C extensions; make sure your Python environment matches the platform requirements (Linux/macOS/Windows all supported).

verify_cad_query returns FAIL unexpectedly

Check that the file_path parameter is an absolute path or relative to the server's working directory. Ensure the verification_criteria text clearly describes measurable properties — vague criteria may cause false negatives. Review the 'details' field in the response for specific failure reasons.

generate_cad_query returns NOT_IMPLEMENTED status

The generate_cad_query tool is currently a stub. Use verify_cad_query to validate CadQuery scripts you write manually or that the AI generates as raw code. The generate tool is planned for future implementation.

Frequently Asked Questions about CadQuery

What is CadQuery?

CadQuery is a Model Context Protocol (MCP) server that mcp server providing cad generation and verification tools using cad-query It connects AI assistants to external tools and data sources through a standardized interface.

How do I install CadQuery?

Follow the installation instructions on the CadQuery GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with CadQuery?

CadQuery works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is CadQuery free to use?

Yes, CadQuery is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "cadquery": { "command": "npx", "args": ["-y", "cadquery"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use CadQuery?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides