
MCP Servers for Revit
Drive Autodesk Revit from AI: query, create, modify, and delete BIM elements via a TypeScript server and C# add-in.
Add to your client
Copy the config for your MCP client and paste it into its config file.
claude mcp add mcp-server-for-revit -- cmd /c npx -y mcp-server-for-revitPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"mcp-servers-for-revit": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"mcp-server-for-revit"
]
}
}
}Step-by-step guides: Add to Claude Desktop · Add to Cursor · Add to Windsurf
Before you start
- Windows with Autodesk Revit 2020–2026 installed and licensed
- Node.js 18+ for the npx-run MCP server
- The release ZIP matching your Revit version, extracted into %AppData%\Autodesk\Revit\Addins\<version>\
About MCP Servers for Revit
The architecture is the part worth understanding before installing. Your MCP client (Claude, Cline, etc.) talks stdio to the TypeScript server; the server opens a WebSocket to a C# plugin loaded inside Revit; the plugin dispatches each command to a versioned command-set DLL that calls the actual Revit API and returns results up the chain. All three pieces ship together in per-Revit-version release ZIPs (2020–2026, .NET Framework 4.8 for 2020–2024 and .NET 8 for 2025–2026).
The read tools make the agent model-aware: get_current_view_elements and ai_element_filter answer 'what is in this view', analyze_model_statistics profiles model complexity, and get_material_quantities does takeoffs. Creation tools are typed by geometry — point-based (doors, windows, furniture), line-based (walls, beams, pipes), surface-based (floors, ceilings, roofs) — plus grids, levels, rooms, dimensions, and full structural framing systems. Annotation and data tools (tag_all_walls, color_elements, export_room_data, store/query project data) round out documentation workflows.
The escape hatch is send_code_to_revit: the agent writes C#, Revit executes it. That covers everything the 25 other tools do not, and it is also the sharpest edge in the box — treat it like giving the model a macro editor with your model open. Commands are individually toggled in the ribbon Settings panel, so you can run read-only if you want.
This is a community fork (MIT) of the revit-mcp project, not an Autodesk product. It is Windows-bound because Revit is, the plugin must match your Revit version, and Revit will prompt about an unsigned add-in on first launch — 'Always Load' is part of setup.
Tools & capabilities (26)
get_current_view_infoGet current active view info.
get_current_view_elementsGet elements from the current active view.
get_available_family_typesGet available family types in the current project.
get_selected_elementsGet currently selected elements.
get_material_quantitiesCalculate material quantities and takeoffs.
ai_element_filterIntelligent element querying tool for AI assistants.
analyze_model_statisticsAnalyze model complexity with element counts.
create_point_based_elementCreate point-based elements (door, window, furniture).
create_line_based_elementCreate line-based elements (wall, beam, pipe).
create_surface_based_elementCreate surface-based elements (floor, ceiling, roof).
create_gridCreate a grid system with smart spacing generation.
create_levelCreate levels at specified elevations.
create_roomCreate and place rooms at specified locations.
create_dimensionsCreate dimension annotations in the current view.
create_structural_framing_systemCreate a structural beam framing system.
delete_elementDelete elements by ID.
operate_elementOperate on elements (select, setColor, hide, etc.).
color_elementsColor elements based on a parameter value.
tag_all_wallsTag all walls in the current view.
tag_all_roomsTag all rooms in the current view.
export_room_dataExport all room data from the project.
store_project_dataStore project metadata in a local database.
store_room_dataStore room metadata in a local database.
query_stored_dataQuery stored project and room data.
send_code_to_revitSend C# code to Revit to execute.
say_helloDisplay a greeting dialog in Revit (connection test).
When to use it
- Bulk-generate levels, grids, and structural framing from a text description instead of repetitive manual placement
- Ask 'what is in this view' — element counts, family types, model statistics — while auditing someone else's model
- Auto-tag all walls and rooms and color elements by parameter value for quick QA drawings
- Export room data and material takeoffs for schedules without writing Dynamo scripts
Quick setup
- 1Download the ZIP for your Revit version from the Releases page (e.g. mcp-servers-for-revit-v1.0.0-Revit2025.zip)
- 2Extract into %AppData%\Autodesk\Revit\Addins\<version>\ so the .addin file and revit_mcp_plugin folder sit side by side
- 3Add the MCP server to your client: claude mcp add mcp-server-for-revit -- cmd /c npx -y mcp-server-for-revit (or the equivalent claude_desktop_config.json block)
- 4Start Revit and click 'Always Load' when prompted about the add-in
- 5On the mcp-servers-for-revit ribbon tab, open Settings, enable the commands you want, and Save
Security notes
send_code_to_revit executes arbitrary C# inside Revit, and the create/modify/delete tools change your model directly — work on copies and review calls before approving. Traffic between server and add-in runs over a local WebSocket with no auth, and you control exposure by enabling only the commands you need in the Revit ribbon's Settings panel.
MCP Servers for Revit FAQ
Is it safe to let an AI modify my Revit model?
Only with guardrails: the tools genuinely create, modify, and delete elements, and send_code_to_revit runs arbitrary C# in the session. Work on a copy or rely on Revit's undo, enable only needed commands in the ribbon Settings panel, and review each call — especially anything generated for send_code_to_revit.
Is this an official Autodesk product?
No. It is a community fork (MIT-licensed) of the revit-mcp project with additional tools; Autodesk is not involved. The add-in is unsigned, so Revit asks about loading it on first start.
Which Revit versions work?
Revit 2020 through 2026, with per-version release ZIPs (builds target .NET Framework 4.8 for 2020–2024 and .NET 8 for 2025–2026). The command-set DLL must match your Revit year, so grab the right ZIP and re-download when you upgrade Revit.
Alternatives to MCP Servers for Revit
Compare all alternatives →Control Blender from Claude and other LLMs for prompt-assisted 3D modeling, scene creation, and asset generation.
Popular community server that feeds Figma layout data to coding agents via a Figma API token.
Generate beautiful, modern UI components from natural-language descriptions inside your IDE.
Compare MCP Servers for Revit with: