Bitbybit CAD MCP — Claude Code MCP server for the Bitbybit CAD API
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.
MIT ★ 212 updated 2026-10-23
claude mcp add --transport http cad https://mcp.bitbybit.dev/mcpWhat Bitbybit CAD MCP 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.
What it helps with
- 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 for the agent
- Search the Bitbybit API for functions that extrude a profile along a path
- Describe the member
occt.shapes.solidand its parameters - Show an example of creating a box in Bitbybit and tell me its tier
How to install Bitbybit CAD MCP
1Platform CLI: remote server
claude mcp add --transport http cad https://mcp.bitbybit.dev/mcp2Platform CLI
claude mcp add mcp -- npx -y @bitbybit-dev/mcp1Platform CLI: remote server
codex mcp add mcp --url https://mcp.bitbybit.dev/mcp2Platform CLI
codex mcp add mcp -- npx -y @bitbybit-dev/mcpConfig file
{
"mcpServers": {
"mcp": {
"url": "https://mcp.bitbybit.dev/mcp"
}
}
}{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@bitbybit-dev/mcp"
]
}
}
}Config file
{
"servers": {
"mcp": {
"type": "http",
"url": "https://mcp.bitbybit.dev/mcp"
}
}
}{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@bitbybit-dev/mcp"
]
}
}
}1Platform CLI: remote server
gemini mcp add -t http mcp https://mcp.bitbybit.dev/mcp2Platform CLI
gemini mcp add mcp npx -y @bitbybit-dev/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Bitbybit CAD MCP
How do I install Bitbybit CAD MCP in Claude Code?
Run claude mcp add --transport http bitbybit https://mcp.bitbybit.dev/mcp. For the local server: claude mcp add --transport stdio bitbybit -- npx -y @bitbybit-dev/mcp. You can also commit a .mcp.json at the project root so every collaborator gets it.
What does Bitbybit CAD MCP do?
It answers questions about the Bitbybit parametric 3D modeling API: searches functions by keywords, returns full contracts, code examples and guide sections. It never runs geometry itself.
Which API version does the server document?
One exact version. The order: the --version flag, the BITBYBIT_VERSION environment variable, the @bitbybit-dev packages installed near the working directory, otherwise its own version. Indexes are cached in $XDG_CACHE_HOME/bitbybit-mcp.