Skip to content
Back to search

revit-mcp

AI-Powered Revit Modeling

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/revit-mcp--revit-mcp/badge.svg)](/listings/revit-mcp--revit-mcp)

HTML

<a href="/listings/revit-mcp--revit-mcp"><img src="/api/listings/revit-mcp--revit-mcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

1. Build local MCP service

Install dependencies

npm install

Build

npm run build

2. Client configuration

**Claude client**

Claude client -> Settings > Developer > Edit Config > claude_desktop_config.json

{
    "mcpServers": {
        "revit-mcp": {
            "command": "node",
            "args": ["<path to the built file>\\build\\index.js"]
        }
    }
}

Restart the Claude client. When you see the hammer icon, it means the connection to the MCP service is normal.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 134 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. 🔴
  2. > [!WARNING]
  3. > 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
  4. > Simpler CI, less confusion for noobs, npm package and simpler install
  5. ---
  6. ---
  7. [![MseeP.ai Security Assessment Badge](https://mseep.net/pr/revit-mcp-revit-mcp-badge.png)](https://mseep.ai/app/revit-mcp-revit-mcp)
  8. # revit-mcp
  9. English | [简体中文](README_zh.md)
  10. ## Description
  11. revit-mcp allows you to interact with Revit using the MCP protocol through MCP-supported clients (such as Claude, Cline, etc.).
  12. This project is the server side (providing Tools to AI), and you need to use [revit-mcp-plugin](https://github.com/revit-mcp/revit-mcp-plugin) (driving Revit) in conjunction.
  13. Join [Discord](https://discord.gg/cGzUGurq) | [QQ Group](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=kLnQiFVtYBytHm7R58KFoocd3mzU_9DR&authKey=fyXDOBmXP7FMkXAWjddWZumblxKJH7ZycYyLp40At3t9%2FOfSZyVO7zyYgIROgSHF&noverify=0&group_code=792379482)
  14. ## Features
  15. - Allow AI to get data from the Revit project
  16. - Allow AI to drive Revit to create, modify, and delete elements
  17. - Send AI-generated code to Revit to execute (may not be successful, successful rate is higher in some simple scenarios with clear requirements)
  18. ## Requirements
  19. - nodejs 18+
  20. > Complete installation environment still needs to consider the needs of revit-mcp-plugin, please refer to [revit-mcp-plugin](https://github.com/revit-mcp/revit-mcp-plugin)
  21. ## Installation
  22. ### 1. Build local MCP service
  23. Install dependencies
  24. ```bash
  25. npm install
  26. ```
  27. Build
  28. ```bash
  29. npm run build
  30. ```
  31. ### 2. Client configuration
  32. **Claude client**
  33. Claude client -> Settings > Developer > Edit Config > claude_desktop_config.json
  34. ```json
  35. {
  36. "mcpServers": {
  37. "revit-mcp": {
  38. "command": "node",
  39. "args": ["<path to the built file>\\build\\index.js"]
  40. }
  41. }
  42. }
  43. ```
  44. Restart the Claude client. When you see the hammer icon, it means the connection to the MCP service is normal.
  45. ![claude](./assets/claude.png)
  46. ## Framework
  47. ```mermaid
  48. flowchart LR
  49. ClaudeDesktop --> revit-mcp --> SocketService--commandName-->CommandSet--command-->CommandExecute
  50. CommandManager --> CommandSet
  51. CommandExecute --executeResult--> SocketService
  52. CommandProject1 --> CommandManager
  53. CommandProject2 --> CommandManager
  54. CommandProject... --> CommandManager
  55. subgraph ide1 [MCPClient]
  56. ClaudeDesktop
  57. end
  58. subgraph ide2 [MCPServer]
  59. revit-mcp
  60. end
  61. subgraph ide3 [Revit]
  62. subgraph ide3.1 [revit-mcp-plugin]
  63. SocketService
  64. CommandSet
  65. CommandManager
  66. CommandExecute
  67. end
  68. end
  69. ```
  70. ## Supported Tools
  71. | Name | Description |
  72. | ---- | ----------- |
  73. | get_current_view_info | Get current active view info |
  74. | get_current_view_elements | Get elements from the current active view |
  75. | get_available_family_types | Get available family types in current project |
  76. | get_selected_elements | Get currently selected elements |
  77. | get_material_quantities | Calculate material quantities and takeoffs |
  78. | ai_element_filter | Intelligent element querying tool for AI assistants |
  79. | analyze_model_statistics | Analyze model complexity with element counts |
  80. | create_point_based_element | Create point-based elements (door, window, furniture) |
  81. | create_line_based_element | Create line-based elements (wall, beam, pipe) |
  82. | create_surface_based_element | Create surface-based elements (floor, ceiling, roof) |
  83. | create_grid | Create a grid system with smart spacing generation |
  84. | create_level | Create levels at specified elevations |
  85. | create_room | Create and place rooms at specified locations |
  86. | create_structural_framing_system | Create a structural beam framing system |
  87. | delete_element | Delete elements by ID |
  88. | operate_element | Operate on elements (select, setColor, hide, etc.) |
  89. | color_elements | Color elements based on a parameter value |
  90. | tag_all_walls | Tag all walls in the current view |
  91. | tag_all_rooms | Tag all rooms in the current view |
  92. | export_room_data | Export all room data from the project |
  93. | store_project_data | Store project metadata in local database |
  94. | store_room_data | Store room metadata in local database |
  95. | query_stored_data | Query stored project and room data |
  96. | send_code_to_revit | Send C# code to Revit to execute |
  97. | say_hello | Display a greeting dialog in Revit (connection test) |

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.