MCP Directory

MCP Servers for Revit

Drive Autodesk Revit from AI: query, create, modify, and delete BIM elements via a TypeScript server and C# add-in.

Unverified
stdio (local)
No auth
C#

Add to your client

Copy the config for your MCP client and paste it into its config file.

Install / run
claude mcp add mcp-server-for-revit -- cmd /c npx -y mcp-server-for-revit

Paste 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_info

Get current active view info.

get_current_view_elements

Get elements from the current active view.

get_available_family_types

Get available family types in the current project.

get_selected_elements

Get currently selected elements.

get_material_quantities

Calculate material quantities and takeoffs.

ai_element_filter

Intelligent element querying tool for AI assistants.

analyze_model_statistics

Analyze model complexity with element counts.

create_point_based_element

Create point-based elements (door, window, furniture).

create_line_based_element

Create line-based elements (wall, beam, pipe).

create_surface_based_element

Create surface-based elements (floor, ceiling, roof).

create_grid

Create a grid system with smart spacing generation.

create_level

Create levels at specified elevations.

create_room

Create and place rooms at specified locations.

create_dimensions

Create dimension annotations in the current view.

create_structural_framing_system

Create a structural beam framing system.

delete_element

Delete elements by ID.

operate_element

Operate on elements (select, setColor, hide, etc.).

color_elements

Color elements based on a parameter value.

tag_all_walls

Tag all walls in the current view.

tag_all_rooms

Tag all rooms in the current view.

export_room_data

Export all room data from the project.

store_project_data

Store project metadata in a local database.

store_room_data

Store room metadata in a local database.

query_stored_data

Query stored project and room data.

send_code_to_revit

Send C# code to Revit to execute.

say_hello

Display 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

  1. 1Download the ZIP for your Revit version from the Releases page (e.g. mcp-servers-for-revit-v1.0.0-Revit2025.zip)
  2. 2Extract into %AppData%\Autodesk\Revit\Addins\<version>\ so the .addin file and revit_mcp_plugin folder sit side by side
  3. 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)
  4. 4Start Revit and click 'Always Load' when prompted about the add-in
  5. 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.

Unverified
stdio (local)
No auth
Python
22 tools
Updated 21 days agoRepo

Popular community server that feeds Figma layout data to coding agents via a Figma API token.

Verified
stdio (local)
API key
TypeScript
2 tools
Updated 1 month agoRepo

Generate beautiful, modern UI components from natural-language descriptions inside your IDE.

Unverified
stdio (local)
API key
TypeScript
4 tools
Updated 4 months agoRepo