# Bitbybit CAD MCP

Bitbybit CAD MCP — a server that gives coding agents exact documentation for the Bitbybit 3D CAD API: function signatures, parameters, return types, examples. Useful when an agent writes parametric geometry code and invents function names.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 212 repo stars
- Author: bitbybit-dev
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/bitbybit-dev/bitbybit/tree/HEAD/packages/dev/mcp
- Updated: 2026-10-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/bitbybit-cad-mcp

## What it does

Bitbybit CAD MCP answers questions about the Bitbybit API, a parametric 3D modeling library with 2017 functions across three CAD kernels. An agent working from memory makes up plausible names that do not exist. With this server it looks each one up in the index Bitbybit publishes with every release, so the code compiles the first time.

The server runs two ways: hosted at `https://mcp.bitbybit.dev/mcp` over Streamable HTTP, or locally through `npx` with Node 20. The hosted one serves the newest release, the local one the version installed in your project. Pin the version with `--version` or the `BITBYBIT_VERSION` environment variable.

All tools are read-only: `search_api` finds API members by keywords, `describe` returns the full contract of a function or type, `get_examples` gives code samples, `get_guide` serves sections of the guides. Every answer carries a tier: `oss` for the free npm packages, `platform-pro` for scripts inside bitbybit.dev, `cloud-pro` for the paid CAD Cloud with an API key. The server itself never runs geometry — pair it with the Bitbybit CAD Cloud MCP and an `X-API-Key` header for that.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://mcp.bitbybit.dev/mcp`

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http cad https://mcp.bitbybit.dev/mcp
```

2. **Platform CLI**
```bash
claude mcp add mcp -- npx -y @bitbybit-dev/mcp
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add mcp --url https://mcp.bitbybit.dev/mcp
```

2. **Platform CLI**
```bash
codex mcp add mcp -- npx -y @bitbybit-dev/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "url": "https://mcp.bitbybit.dev/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@bitbybit-dev/mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "http",
            "url": "https://mcp.bitbybit.dev/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@bitbybit-dev/mcp"
            ]
        }
    }
}
```

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http mcp https://mcp.bitbybit.dev/mcp
```

2. **Platform CLI**
```bash
gemini mcp add mcp npx -y @bitbybit-dev/mcp
```

## When to use it
- find the exact function name in an API with 2017 members
- get a function signature with parameter types and defaults
- check whether a capability is free or needs CAD Cloud
- pull a code example for a specific API member
- lock the docs version to the packages in the project

## Example prompts
- Search the Bitbybit API for functions that extrude a profile along a path
- Describe the member `occt.shapes.solid` and its parameters
- Show an example of creating a box in Bitbybit and tell me its tier

## Similar
- [text-to-cad-harness](https://affpapa.org/en/nevibecode/skills/text-to-cad-harness.md) — skill · 389 installs
- [cad](https://affpapa.org/en/nevibecode/skills/cad.md) — skill · 15600 installs
- [Protogen CAD](https://affpapa.org/en/nevibecode/mcp/protogen-cad.md) — MCP server · 252 installs
- [3D CAD Converter](https://affpapa.org/en/nevibecode/mcp/3d-cad-converter.md) — MCP server
- [ParCAD](https://affpapa.org/en/nevibecode/mcp/parcad.md) — MCP server · ★ 10 repo stars
- [Three-Live 3D, CAD & Spatial XR Compiler](https://affpapa.org/en/nevibecode/mcp/three-live-3d-cad-spatial-xr-compiler.md) — MCP server · ★ 504 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
