bim-cli as an MCP server
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1'
bim is a command-line tool first: any agent that can run commands on your Windows PC can call it directly, with nothing to configure. If your AI tool prefers MCP, bim mcp is an optional local MCP server that offers the same commands as tools.
What bim mcp does
bim mcp runs bim as a local stdio MCP server. It turns every installed bim command into a tool, named <driver>_<verb> in lowercase with underscores: bim pdf set check becomes pdf_set_check, bim site flood lookup becomes site_flood_lookup, bim revit exec becomes revit_exec. The list is built from the drivers you have installed, so it grows when a driver adds a command; a full installation has several hundred tools. Each call runs on your machine, exactly like the same command typed in a terminal.
You need bim installed first:
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1'
This installs bim-cli per-user to %LOCALAPPDATA%\bim-cli\ and adds it to your PATH. Check it with bim doctor.
Claude Code
Add bim as an MCP server from a terminal:
claude mcp add bim -- bim mcp
Or add it to the project's .mcp.json:
{
"mcpServers": {
"bim": {
"type": "stdio",
"command": "bim",
"args": ["mcp"]
}
}
}
The bim-cli plugin repository packages the same .mcp.json entry with an agent skill for Claude Code. Many Claude Code users skip MCP altogether and let Claude Code run bim from its terminal; the Claude Code and Revit guide walks through that route.
Cursor
Add the same stdio entry to .cursor/mcp.json in a project, or ~/.cursor/mcp.json for every project. The Cursor page has the full setup and project rules.
Codex
codex mcp add bim -- bim mcp
This writes an [mcp_servers.bim] entry to ~/.codex/config.toml. The Codex page covers timeouts and approval settings for longer site lookups.
Claude Desktop
New to this? The Claude Desktop 3-step setup walks through it. Claude Desktop cannot run commands on your PC by itself, so it uses bim through an MCP bundle (.mcpb), published on the bim-cli-plugin releases page. The bundle runs your installed copy of bim. If bim is not installed yet, the bundle offers only one tool, bim_setup, which returns the PowerShell install steps for you to run; the full tool list appears once bim is installed (restart Claude Desktop if it does not).
What the tools can reach
| Driver | What it works with |
|---|---|
revit |
Revit 2024–2027 through a small add-in; bim starts Revit or attaches to the one you have open, and Revit runs in its own window |
pdf |
PDF drawing sets: set checks, text and element tags, split, merge, stamps, forms, size reduction |
excel |
.xlsx files, read and written directly; Excel does not need to be installed |
image |
Image conversion, resizing, EXIF, annotation, comparison and image-to-PDF |
site |
Flood, zoning, parcel, soils, transit and other public data services for a US address |
google |
Google Sheets, Docs, Drive and Gmail with your own Google sign-in |
acad |
DWG/DXF files through AutoCAD's Core Console (needs AutoCAD 2025 or 2026) |
ifc |
IFC file summaries offline; validation and conversion run through blender with the Bonsai add-on |
blender |
3D format conversion and live Blender sessions |
rhino |
A running Rhino session through a small plugin |
sketchup |
A running SketchUp session through a Ruby extension |
bcf |
BCF issue files |
gis |
GeoJSON, Shapefile and GeoPackage files |
energy |
Energy simulation and PHIUS checks with the OpenStudio CLI |
The drivers page lists every driver and verb. bim describe --index shows what is installed on your machine.
Telemetry and privacy
bim sends anonymous usage telemetry by default: the command, flag names, success or error kind, timing, version and a random install ID, never file paths or argument values. It also checks once a day for a newer version. Turn telemetry off with bim telemetry off or DO_NOT_TRACK=1, and the update check with BIM_NO_UPDATE_CHECK=1. The privacy policy lists every field.
Contact and support
Questions: libo@smalltigergroup.com
Documentation: bimcli.com · FAQ · What is bim? · MCP vs. CLI for Revit
Publisher: Small Tiger Group
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1'
Then ask your assistant to run bim describe --json. See what the installer does.