npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

cad-mcp-server

v0.1.1

Published

MCP server for inspecting STEP CAD files -- extract faces, edges, mass properties, and PMI from 3D models via LLM tools, no CAD software needed.

Downloads

270

Readme

CAD MCP Server

npm version License Node version npm downloads

AI-native CAD inspection, no CAD license required. CAD MCP Server bundles a WebAssembly Open CASCADE kernel so LLM tools can read, measure, and compare STEP files locally. The server returns measured facts; your AI assistant interprets engineering meaning.

Quick Start

npx -y cad-mcp-server

Add this to your MCP client config (Claude Desktop, OpenCode, Cursor, etc.):

{
  "mcpServers": {
    "cad": {
      "command": "npx",
      "args": ["-y", "cad-mcp-server"]
    }
  }
}

Point the AI at any STEP or STP file on your local filesystem.

Use Cases

| Who | What they ask | |---|---| | Mechanical lead | "Review this STEP file like a mechanical lead before release. What are the top design or manufacturing risks?" | | Manufacturing engineer | "Build a first-pass CNC plan: likely setups, drilling directions, and cost-driving features." | | QC engineer | "Create an inspection plan from the STEP file. What should we measure? What's missing?" | | Procurement / sourcing | "Prepare an RFQ summary: part count, envelope, complexity drivers, and questions the supplier will ask." | | Design engineer (revision) | "Compare Rev A and Rev B as an ECO review. What changed? What should be rechecked?" | | Hobbyist / maker | "Can these parts fit on a 200 x 200 x 300 mm printer? What needs splitting or reorientation?" |

MCP Tools

| Tool | Purpose | |---|---| | inspect_step_file | Fast first-pass overview: validity, size, bodies, topology counts, metadata. | | find_step_faces | Search B-rep faces by surface type, area, normal, body, grouping, and sort. | | find_step_edges | Search B-rep edges by curve type, length, radius, body, grouping, and sort. | | get_step_entities | Retrieve known face or edge IDs with requested fields. | | query_step_pmi | Query lightweight PMI/GD&T, dimensions, datums, and annotations. | | compare_step_files | Compare two STEP files by whole-model geometry, topology, and metadata. |

Recommended workflow: inspect first, drill into groups or summaries, ask for specific entity IDs, then request adjacency or exact fields only where needed.

How It Works

STEP files are parsed locally by a stripped Open CASCADE Technology (OCCT) kernel compiled to WebAssembly. No data leaves your machine. No Docker, no cloud API, no CAD vendor dependency. The package bundles everything — just npx and go.

Why CAD MCP Server?

  • Zero install friction. One npx command, no native CAD software, no licenses.
  • Read-only by design. The server measures geometry; the AI interprets meaning. No risk of accidental edits.
  • Local-first. All processing stays on your machine. STEP files never leave your filesystem.
  • WASM-speed. OCCT runs at near-native speed in a bundled WebAssembly kernel.
  • LLM-native output. Results are structured JSON designed for AI consumption, not human eyeballs.

What It Is Not

  • Not a CAD editor — no geometry creation or modification.
  • Not a CAM system — no toolpath generation.
  • Not a manufacturability certifier — it provides evidence, not conclusions.
  • Not an AP242 PMI engine — PMI hints are lightweight and heuristic-based.
  • Not a feature-tree recovery tool — STEP is a boundary-representation format.

Good AI answers separate measured facts, assumptions, and recommendations.

Roadmap

  • v0.2 — Advanced face adjacency graphs, edge-vexity classification, larger file support.
  • v0.3 — Assembly hierarchy traversal, color/layer metadata, improved PMI coverage.
  • v1.0 — Stable tool surface, first-semver API guarantees.

Interested in hosted or enterprise features? Let us know via GitHub Discussions.

Requirements

  • Node.js 22 or newer
  • Local access to STEP/STP files

No Docker, Open CASCADE install, or native CAD application required.

Distribution

The npm package includes:

  • MCP server JavaScript in dist/
  • Bundled occt-wasm package with optimized occt-wasm.wasm geometry kernel
  • TypeScript declarations for published runtime files

Contributing

Contributions welcome. See CONTRIBUTING.md for development setup, testing, and pull request guidelines.

License

This project is MIT licensed — free for all uses, commercial included.

The bundled occt-wasm backend uses Open CASCADE Technology (LGPL-2.1). Review the third-party notices before redistributing modified kernel builds.

Support

If CAD MCP Server saves you time, consider sponsoring development.