mcp-server-for-revit
MCP server for interacting with Autodesk Revit through AI assistants like Claude
Versions
@mromerom/mcp-server-for-revit1.0.9latest1.0.81.0.61.0.0mcp-server-for-revit1.0.0latest0.0.0Tools 26
create_dimensions Create dimension annotations in the current Revit view. Supports dimensioning between elements (walls, doors, windows) by element IDs, or between two points with automatic reference detection. All coordinates are in millimeters (mm).
analyze_model_statistics Analyze model complexity with element counts. Returns detailed statistics about the Revit model including total element counts, total types, total families, views, sheets, counts by category (with type/family breakdown), and level-by-level element distribution. Useful for model auditing, performance analysis, and understanding model composition.
create_level 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).
tag_all_walls Create tags for all walls in the current active view. Tags will be placed at the middle point of each wall.
get_current_view_info 获取 Revit 当前活动视图的详细信息,包括视图类型、名称、比例等属性。
create_point_based_element 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).
send_code_to_revit 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.
create_structural_framing_system Create a structural beam framing system in Revit. Generates beams within a rectangular boundary at fixed spacing intervals. The system uses Revit
query_stored_data 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 Display a greeting dialog in Revit. Useful for testing the connection between Claude and Revit.
get_available_family_types Get available family types in the current Revit project. You can filter by category and family name, and limit the number of returned types.
ai_element_filter An intelligent Revit element querying tool designed specifically for AI assistants to retrieve detailed element information from Revit projects. This tool allows the AI to request elements matching specific criteria (such as category, type, visibility, or spatial location) and then perform further analysis on the returned data to answer complex user queries about Revit model elements. Example: When a user asks
delete_element Delete one or more elements from the Revit model by their element IDs.
get_current_view_elements 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.
create_line_based_element 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_grid 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).
color_elements Color elements in the current view based on a category and parameter value. Each unique parameter value gets assigned a distinct color.
get_selected_elements Get elements currently selected in Revit. You can limit the number of returned elements.
get_material_quantities 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.
store_project_data Store or update Revit project metadata in the local database. This captures project information with a timestamp for later retrieval.
store_room_data 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 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.
create_room 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_surface_based_element 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).
operate_element Operate on Revit elements by performing actions such as select, selectionBox, setColor, setTransparency, delete, hide, etc.
export_room_data 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.
Permissions 1
filesystem low