revit — Claude Code MCP server: elements, schedules, IFC
Bridges Revit models to your coding agent through Autodesk Platform Services: pull elements and parameters, read schedules, detect clashes, export IFC.
claude mcp add --transport http revit https://mcp.scanbimlabs.io/revitWhat revit does
Eight tools ship with the server. revit_upload pushes a file into APS and kicks off translation. revit_get_elements and revit_get_parameters walk the model by category and read what each element carries. revit_run_schedule extracts schedule data, revit_clash_detect runs VDC rule checks, revit_export_ifc writes the model out as IFC, and revit_get_sheets with revit_get_views lists sheets and views.
The runtime is Cloudflare Workers. Auth goes through APS OAuth2 with client_credentials, tokens sit in Cloudflare KV, and calls are logged to D1. You need a user_key from scanbim.app/settings/billing. Send it as either x-scanbim-api-key: <your_user_key> or Authorization: Bearer sk_scanbim_<your_user_key>. Pick one and stay with it. Switching between the two formats spins up a separate free-plan row, so you end up on a fresh 50-credit account without noticing.
Know the response codes before you wire anything up. 200 means the call ran and credits were debited. 401 means the auth header is missing or malformed. 402 means you are out of credits, and the body carries checkout_urls for five packs plus top_up_url for the billing page.
What it helps with
- list model elements by category
- read parameters off a single element
- pull schedule data out of Revit
- run VDC clash detection
- export a model to IFC
Example prompts for the agent
- Upload
model.rvtto APS and translate it - Show me every element in the Walls category with its parameters
- Run clash detection with the VDC rules and export the report
How to install revit
Platform CLI: remote server
claude mcp add --transport http revit https://mcp.scanbimlabs.io/revitPlatform CLI: remote server
codex mcp add revit --url https://mcp.scanbimlabs.io/revitConfig file
{
"mcpServers": {
"revit": {
"url": "https://mcp.scanbimlabs.io/revit"
}
}
}Config file
{
"servers": {
"revit": {
"type": "http",
"url": "https://mcp.scanbimlabs.io/revit"
}
}
}Platform CLI: remote server
gemini mcp add -t http revit https://mcp.scanbimlabs.io/revitStep 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 revit
How do I install revit in Claude Code?
Run claude mcp add --transport http revit https://mcp.scanbimlabs.io/revit.
What does revit do?
It exposes a Revit model to the agent via Autodesk Platform Services: elements, parameters, schedules, clashes, sheets, views and IFC export.
What do I need before using it?
A user_key from scanbim.app/settings/billing and one auth header format. Do not mix x-scanbim-api-key with Authorization: Bearer — that creates a new free-plan account.