CadQuery
MCP server providing CAD generation and verification tools using CAD-Query
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
Maintainer
Works with
Installation
Manual Installation
npx cadqueryConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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-serverInstall 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 cadVerify 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.pyConfigure 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"]
}
}
}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.pyCadQuery 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.
CadQuery Alternatives — Similar Developer Tools Servers
Looking for alternatives to CadQuery? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
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.
Set Up CadQuery in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.