Cadquery MCP Server

A Model Context Protocol (MCP) server that provides CAD generation and verification tools for Claude Code. This server enables conversational 3D

Local serverstdioPython

What is the Cadquery MCP server?

Most developer tooling work still happens through a UI a human drives. Cadquery MCP server moves it into the conversation instead. A Model Context Protocol (MCP) server that provides CAD generation and verification tools for Claude Code. This server enables conversational 3D modeling by exposing CAD-Query functionality through MCP tools.

The short version

  • verify_cad_query — - Validates CAD-Query generated models against criteria
  • generate_cad_query — - (Stub implementation) Generates CAD-Query Python scripts from descriptions
  • CAD-Query Integration — - Full CAD-Query support for parametric 3D modeling
  • STL/STEP Export — - Direct export to 3D printing and CAD formats
  • Visual Feedback — - SVG generation for model inspection

The tools it exposes

The server publishes 5 tools. What each one is for:

  • macOS — Location: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows — The Windows tool exposed by this server
  • Configuration — The Configuration tool exposed by this server
  • verify_cad_query — Validates a CAD-Query generated model against specified criteria
  • Testing — The Testing tool exposed by this server

Getting it running

Installation goes through your MCP client rather than a global install: point it at @modelcontextprotocol/inspector on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Cadquery's toolset — macOS, Windows, Configuration and 2 more — is a fair guide to whether it matches your workflow. It is maintained by rishigundakaram; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Cadquery's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
macOSLocation: ~/Library/Application Support/Claude/claude_desktop_config.json
WindowsThe Windows tool exposed by this server.
ConfigurationThe Configuration tool exposed by this server.
verify_cad_queryValidates a CAD-Query generated model against specified criteria.
TestingThe Testing tool exposed by this server.

How to install the Cadquery MCP server

{
  "mcpServers": {
    "cadquery": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/inspector"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Cadquery to macOS.
  • Use Cadquery to Windows.
  • Use Cadquery to Configuration.

Frequently asked questions

It connects Cadquery to MCP-compatible AI assistants such as Claude and Cursor, exposing 5 tools (macOS, Windows, Configuration, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Cadquery directly.