RevitSAFE
AI-Powered Revit Modeling
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
🔴
[!WARNING] Deprecation notice, this repo is being archived in favour of the mono repo approch for the mcp https://github.com/mcp-servers-for-revit/mcp-servers-for-revit Simpler CI, less confusion for noobs, npm package and simpler install
[](https://mseep.ai/app/revit-mcp-revit-mcp)
English | 简体中文
Description
revit-mcp allows you to interact with Revit using the MCP protocol through MCP-supported clients (such as Claude, Cline, etc.).
This project is the server side (providing Tools to AI), and you need to use revit-mcp-plugin (driving Revit) in conjunction.
Features
- Allow AI to get data from the Revit project
- Allow AI to drive Revit to create, modify, and delete elements
- Send AI-generated code to Revit to execute (may not be successful, successful rate is higher in some simple scenarios with clear requirements)
Requirements
- nodejs 18+
Complete installation environment still needs to consider the needs of revit-mcp-plugin, please refer to revit-mcp-plugin
Installation
1. Build local MCP service
Install dependencies
npm install
Build
npm run build
2. Client configuration
Claude client
Claude client -> Settings > Developer > Edit Config > claudedesktopconfig.json
{
"mcpServers": {
"revit-mcp": {
"command": "node",
"args": ["\\build\\index.js"]
}
}
}Restart the Claude client. When you see the hammer icon, it means the connection to t
2a987a94f30aOBSERVED · 2026-10-02Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add revit-mcp -- npx -y [email protected]
{
"mcpServers": {
"revit-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
]
}
}
}Exposed tools (25)
12 read · 12 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
ai_element_filter | read | |
analyze_model_statistics | read | |
color_elements | read | Color elements in the current view based on a category and parameter value. Each unique parameter value gets assigned a distinct color. |
create_grid | write | Create a grid system in Revit with smart spacing generation. Supports both X-axis (vertical) and Y-axis (horizontal) grids with customizable naming styles (alphabetic A,B,C or numeric 1,2,3). All units are in millimeters (mm). |
create_level | write | Create one or more levels in Revit at specified elevations. Levels define horizontal planes in the building and are used to host floor plans, ceilings, and other level-based elements. All elevation units are in millimeters (mm). |
create_line_based_element | write | Create one or more line-based elements in Revit such as walls, beams, or pipes. Supports batch creation with detailed parameters including family type ID, start and end points, thickness, height, and level information. All units are in millimeters (mm). |
create_point_based_element | write | Create one or more point-based elements in Revit such as doors, windows, or furniture. Supports batch creation with detailed parameters including family type ID, position, dimensions, and level information. All units are in millimeters (mm). |
create_room | write | Create and place rooms in Revit at specified locations. Rooms are placed within enclosed wall boundaries and can be named and numbered. The location point should be inside an enclosed area bounded by walls. All coordinates are in millimeters (mm). |
create_structural_framing_system | write | Create a structural beam framing system in Revit. Generates beams within a rectangular boundary at fixed spacing intervals. The system uses Revit |
create_surface_based_element | write | Create one or more surface-based elements in Revit such as floors, ceilings, or roofs. Supports batch creation with detailed parameters including family type ID, boundary lines, thickness, and level information. All units are in millimeters (mm). |
delete_element | destructive | Delete one or more elements from the Revit model by their element IDs. |
export_room_data | read | Export all room data from the current Revit project. Returns detailed information about each room including name, number, level, area, volume, perimeter, department, and more. Useful for generating room schedules, space analysis, and facility management data. |
get_available_family_types | read | Get available family types in the current Revit project. You can filter by category and family name, and limit the number of returned types. |
get_current_view_elements | read | Get elements from the current active view in Revit. You can filter by model categories (like Walls, Floors) or annotation categories (like Dimensions, Text). Use includeHidden to show/hide invisible elements and limit to control the number of returned elements. |
get_current_view_info | read | 获取 Revit 当前活动视图的详细信息,包括视图类型、名称、比例等属性。 |
get_material_quantities | read | Calculate material quantities and takeoffs from the current Revit project. Returns detailed information about each material including name, class, area, volume, and element counts. Useful for cost estimation, material ordering, and sustainability analysis. |
get_selected_elements | read | Get elements currently selected in Revit. You can limit the number of returned elements. |
operate_element | read | Operate on Revit elements by performing actions such as select, selectionBox, setColor, setTransparency, delete, hide, etc. |
query_stored_data | read | Query stored Revit project and room data from the local database. Supports various query types: get all projects, get project by ID/name, get rooms by project, get all rooms, or get database statistics. |
say_hello | read | Display a greeting dialog in Revit. Useful for testing the connection between Claude and Revit. |
send_code_to_revit | write | Send C# code to Revit for execution. The code will be inserted into a template with access to the Revit Document and parameters. Your code should be written to work within the Execute method of the template. |
store_project_data | write | Store or update Revit project metadata in the local database. This captures project information with a timestamp for later retrieval. |
store_room_data | write | Store or update room metadata for a specific Revit project in the local database. Rooms are linked to a project by project name. The project must exist before storing room data. |
tag_all_rooms | write | Create tags for all rooms in the current active view. Tags will be placed at the center point of each room, displaying the room name and number. |
tag_all_walls | write | Create tags for all walls in the current active view. Tags will be placed at the middle point of each wall. |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- declared (1 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (2)
delete_element
@modelcontextprotocol/sdk, better-sqlite3, ws, zod, @types/better-sqlite3, @types/node, @types/ws, rimraf
Gates applied: no_behavioural_pass.
2a987a94f30afull audit observations/trust-audit/mcp-server/revit-mcp__revit.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-02 | 2a987a94f30a | SAFE | B | 89 | first audit |
Questions
What is the Revit MCP server?
AI-Powered Revit Modeling
What tools does Revit expose?
25 in total: 12 read-only, 12 that write, and 1 that can delete or overwrite (delete_element). Every one is listed on this page with its risk.
Is Revit safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Revit need?
No credential environment variables were found in its source, so it appears to need none.
How does Revit run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as revit-mcp at 1.0.0.
How current is this page?
The grade is for one exact copy of the source (2a987a94f30a), read on 2026-10-02. The repository is watched and re-audited when it changes.