Integrations
Provides real-time access to Revit model information, element querying and filtering, view and level management, and model metadata access through a WebSocket connection with the Revit plugin.
🏗️ Revit MCP Server
A Model Context Protocol server for Revit integration, enabling seamless communication between Claude AI and Autodesk Revit.
🎯 Overview
This TypeScript-based MCP server provides a bridge between Claude AI and Revit, allowing direct interaction with Revit models through a WebSocket connection. It implements the Model Context Protocol to enable:
- ⚡ Real-time access to Revit model information
- 🔍 Element querying and filtering
- 👀 View and level management
- 🛡️ Robust error handling with fallback mock data
✨ Features
🔌 Revit Integration
- 📡 WebSocket-based communication with Revit plugin
- 🔄 Real-time model data access
- 🔁 Graceful fallback to mock data when connection fails
- ⚙️ Configurable connection settings via environment variables
🚀 Core Functionalities
- 📊 Model Information
- Access basic model metadata (name, path, version)
- Get element counts and last modification date
- Real-time model state synchronization
- 🏗️ Element Management
- Query elements with flexible filtering
- Access element properties and geometry
- Batch element operations
- 🎪 View & Level Control
- List all available views
- Access level information
- Navigate through model hierarchy
💻 Development
📋 Prerequisites
- Node.js (v14 or higher)
- npm
- Autodesk Revit (2023 or later)
- Revit WebSocket Plugin (companion plugin)
🔧 Installation
Install dependencies:
Build the server:
For development with auto-rebuild:
⚙️ Configuration
The server can be configured using environment variables:
🔗 Integration with Claude Desktop
Add the server configuration to Claude Desktop:
Windows:
Configuration format:
🐛 Debugging
For debugging the MCP communication:
- Use the built-in MCP Inspector:
- Monitor WebSocket communication with Revit plugin
- Check server logs for connection and operation status
⚠️ Error Handling
The server implements robust error handling:
- Automatic fallback to mock data when Revit connection fails
- Detailed error logging
- Graceful connection recovery
📄 License
MIT License
🤝 Contributing
Contributions are welcome! Please feel free to submit pull requests.
📬 Contact
If you have any questions or suggestions, feel free to reach out:
- 📧 Email: 353554036@qq.com
- 💬 WeChat Account: modian4500
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Enables seamless communication between Claude AI and Autodesk Revit, allowing users to access and interact with Revit model information through natural language.
Related MCP Servers
- -securityFlicense-qualityA server that enables natural language interaction with AutoCAD through large language models like Claude, allowing users to create and modify drawings using conversational commands.Last updated -19Python
- AsecurityAlicenseAqualityProvides an interface between AI assistants and Tripo AI via Model Context Protocol, enabling generation of 3D assets from natural language and importing them to Blender.Last updated -15139PythonMIT License
- AsecurityAlicenseAqualityAllows AI to interact with Autodesk Revit via the MCP protocol, enabling retrieval of project data and automation of tasks like creating, modifying, and deleting elements.Last updated -1160TypeScriptMIT License
- AsecurityAlicenseAqualityA Python package that enables integration with Autodesk Revit through the Model Context Protocol, allowing users to send commands to Revit and automate interactions with building models.Last updated -2610PythonMIT License
Appeared in Searches
- A tool or application for reading CAD files
- A tool for finding Genshin Impact character videos and creating 3D models with OBJ files
- MCP to Control CAD Tools for Building Models and Automating Manufacturing
- Understanding ASP.NET Framework and Its Applications
- A search for information about CAD (Computer-Aided Design)