CAD Compare

com.cad-compare由 cad-compare.com 发布v0.2.1更新于 Nov 7, 2026

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

已验证STDIO仅桌面文件与存储开发者工具

概览

AI 生成的概览

本地 MCP 服务器,用于比较 STEP CAD 零件与装配体、计算几何指纹、查找重复文件并导出报告。

可以做什么
  • 查询服务器版本、功能与支持的文件类型
  • 比较两个 STEP 零件文件,判断是否为同一零件、有何变化,或是否仅被移动或镜像
  • 计算零件几何指纹,以便在不同文件名下识别同一零件或在配对比较前排序
  • 比较两个版本的 STEP 装配体:新增、删除、重命名、替换、形状变化、数量变化及移动的零件
  • 在文件夹中查找重复零件文件及左右镜像配对
  • 导出可打印为 PDF 的自包含 HTML 比较报告,并生成显示差异位置的 PNG 图片
适用场景
适合在需要判断两个 STEP 文件是否为同一零件、查看零件或装配体两个版本之间的变化,或找出文件夹中重复文件时使用,且无需将 CAD 数据上传到任何地方。
运行要求
以本地 stdio 进程运行,通过 npm 包 cad-compare-mcp 安装,需要 Node.js。仅限桌面环境,不支持网页运行。未声明身份验证。可选环境变量 CAD_COMPARE_LICENSE 用于解锁 Pro 版本,未设置时使用免费版。
安装前请注意
CAD_COMPARE_LICENSE 是密钥类凭据,应避免写入共享配置。服务器会读取本地 STEP 文件并写出报告和图片文件,请只指向你愿意暴露的文件夹。比较仅支持 STEP 格式的单件与装配体。

安装

在 SourceWeft 中

  1. 打开 控制台中的 CAD Compare,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

工具

7

describe

Version and capabilities of this CAD comparison server. Call it once if you need to know which file types are supported.

无需输入参数。

compare

Compare two STEP part files (single parts, not assemblies) and say whether they are the same part. Use it when the user asks whether two CAD files differ, what changed between two versions of a part, or whether a part was only moved or mirrored. The files are read locally and never uploaded. Returns verdict (same / moved / different) and, when different, the changed features with sizes, e.g. {type: "through_hole", change: "modified", attr: "diameter", from: 6, to: 6.5, location: [150, 90, 10]}. Typical time: under a second for simple parts, 5–15 s for parts with several hundred faces. Multi-body parts (several solids in one file) need CAD Compare Pro; the free version returns license_required for them. Report warnings to the user; they say when the result needs care.

输入参数a必填b必填config_aconfig_b

fingerprint

Geometric fingerprint of one STEP part, independent of position and orientation (volume, area, principal sizes, face types). Use it to recognise the same part under different file names or to sort many files before comparing pairs; two parts with clearly different fingerprints are different, similar fingerprints still need compare.

输入参数path必填config

compare_assembly

Compare two versions of a STEP assembly: which parts were added, removed, renamed or replaced, which parts changed shape (with the changed features, as in compare), quantity changes, and which parts or subassemblies moved or changed parent. Use it when the files are assemblies (compare reports them as unsupported) or the user asks what changed in a product structure. Also works when one side is a single part. Files are read locally and never uploaded. Typical time: a few seconds for tens of parts, up to a minute for hundreds. If warnings contains not_all_parts_compared, say so and offer to rerun with a higher max_detailed_parts. Requires CAD Compare Pro (see describe → license).

输入参数a必填b必填max_detailed_parts

find_duplicates

Find STEP part files in a folder that are the same part: identical copies, re-exports, or the same part moved or rotated, whatever the file names. Also reports left/right (mirror-image) pairs. Use it to clean up a messy project folder, find which supplier file matches which drawing, or avoid making the same part twice. Files are read locally and never uploaded. Only files whose fingerprints match are compared in full, so large folders are feasible; typical time is 0.1–1 s per file plus 0.3–5 s per comparison. Assemblies are skipped (listed in skipped). Requires CAD Compare Pro (see describe → license).

输入参数folder必填max_filesrecursive

export_report

Write a comparison report of two STEP files (parts or assemblies) as a self-contained HTML file that can be printed to PDF: verdict, the list of differences in plain language, key figures, and for assemblies the changed, added, removed and moved parts. By default it also contains an interactive 3D view (rotate, zoom, measure; click a difference in the list to show it), which works offline in any browser. Use it when the user wants something to keep, send to a colleague or supplier, or attach to a change request, or wants to see the change in 3D. It writes one file on this computer and never overwrites one unless overwrite is true. Returns the path and a file:// url; give the user the url as a link to open it. Requires CAD Compare Pro (see describe → license).

输入参数a必填b必填outputview_3dlanguageoverwritemax_detailed_parts

render_diff

Picture of where two STEP parts differ, as PNG images you can look at: an overview and, when there are differences, a close-up. Coloured as in the CAD Compare viewer: faces identical in both grey, differing faces of A red, of B green, and numbered markers whose meaning is in legend (the same differences compare lists). For parts that were only moved or mirrored, B is shown with A's outline on top. Use it when the user wants to see the change, or to check a result visually. Rendered locally without a GPU; files are never uploaded. Requires CAD Compare Pro (see describe → license).

输入参数a必填b必填viewwidthheightoutput_dir

版本历史

2
  1. v0.2.1最新Nov 6, 2026
  2. v0.2.0Nov 3, 2026

评分

已满足适用检查项的 55%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分

    请在注册中心条目中发布图标。

  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。