CAD Compare

v0.2.1
com.cad-compare/cad-compare Checked 11 hours ago Published 25 days ago

Compare STEP CAD files locally: identical, moved, or different, and what changed.

Compare STEP CAD files from Claude, Cursor or any other MCP client: are two parts identical, the same part moved or rotated, or different, and what changed (which hole, from which diameter to which, where). Assemblies, duplicates in a folder, pictures of the differences and reports with an interactive 3D view with CAD Compare Pro. Requires Node.js 20 or newer. Add the server to your MCP client, for example in Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json) or Windsurf: The licence key is optional: without it you get the free tools.

Summary extracted from the README.

CAD Compare for AI assistants (MCP server)

Compare STEP CAD files from Claude, Cursor or any other MCP client: are two parts identical, the same part moved or rotated, or different, and what changed (which hole, from which diameter to which, where). Assemblies, duplicates in a folder, pictures of the differences and reports with an interactive 3D view with CAD Compare Pro.

Everything runs on your computer. Files are read locally and never uploaded; the assistant only sees the comparison result. The only network request is the licence check (licence key and plug-in version, if you set a key).

Setup

Requires Node.js 20 or newer. Add the server to your MCP client, for example in Claude Desktop (claude_desktop_config.json), Cursor (.cursor/mcp.json) or Windsurf:

{
  "mcpServers": {
    "cad-compare": {
      "command": "npx",
      "args": ["-y", "cad-compare-mcp"],
      "env": { "CAD_COMPARE_LICENSE": "ccp_…" }
    }
  }
}

Claude Code:

claude mcp add cad-compare -e CAD_COMPARE_LICENSE=ccp_… -- npx -y cad-compare-mcp

The licence key is optional: without it you get the free tools. Pro keys are created on your account page at cad-compare.com (one per computer, revocable). The key is checked once and then works offline for up to 7 days.

Claude Desktop users can also install the one-click bundle (cad-compare.mcpb) from cad-compare.com/ai.

Then ask, for example: "Compare ~/parts/bracket_v1.step with ~/parts/bracket_v2.step: what changed?"

You can also drag the two files into the chat. The server runs on your computer and cannot see files uploaded to the chat, so it looks up the files with the same names in your Downloads, Desktop and Documents (on macOS via Spotlight) and says which ones it used; if there are several, the assistant asks you.

Tools

Tool Free Pro What it does
compare ✓ ✓ Two STEP part files → same / moved / different, alignment (moved, rotated, mirrored), volumes, deviations. With Pro also the changed features with their dimensions, and multi-body parts
fingerprint ✓ ✓ One STEP part → position-independent fingerprint, to recognise the same part under another name
describe ✓ ✓ Version, capabilities and licence status
compare_assembly ✓ Two assemblies → parts added, removed, renamed or replaced, quantities, moves, structure, and what changed in modified parts
find_duplicates ✓ A folder → groups of files that are the same part (also when moved), and mirrored left/right parts
render_diff ✓ PNG pictures of the differences (overview and close-up) with numbered markers
export_report ✓ An HTML report of the comparison next to the files: printable, with an interactive 3D view that works offline in any browser

Results are JSON with documented fields (cadver.diff/v1, cadver.fingerprint/v1, cad-compare.*/v1); lengths are in millimetres, angles in degrees. In cadver.diff/v1, features that were added, removed or moved carry their own size (for example {"diameter": 6}), so you can tell which hole it was. Errors come back as {"error": "invalid_file" | "unsupported" | "license_required" | "exists" | "internal", "message": …, "hint": …}; the hint tells the assistant what to do next.

STEP files (.step, .stp) from any CAD system. Native CAD formats, drawings and meshes are not supported.

Terms

CAD Compare is made by Wansu UG, Germany. Terms · Privacy · Uses Open CASCADE Technology (LGPL-2.1) through replicad-opencascadejs, installed as a separate package.