Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Natural language AI assistant for Autodesk Revit using MCP (Model Context Protocol)
Jump to setup instructionsNo tool list is on record. This does not mean the server has no tools. Tools were not run.
No setup evidence yet No matching config or report on record. This does not mean the server is incompatible.
Fetched from the repository for this visit.
AI chat for Autodesk Revit that lives inside Revit. No Claude Desktop. No external apps. Just a native chat panel, a WebSocket server, and 53+ tools that talk directly to the Revit API.
Author: Sanjay Chauhan | GitHub
A native WPF chat panel docked inside Revit. The plugin and MCP server communicate over WebSocket on localhost — the AI sees your active view, selection, and model context in real time. No middleman.
Supports multiple AI providers out of the box: OpenRouter (100+ models), Anthropic Claude, DeepSeek, and Qwen. Switch providers by changing one line in your .env file. Run Qwen locally through Ollama for free.
53 specialized tools cover query, selection, visibility, views, sheets, MEP, tagging, and export. 5 additional dynamic intent tools (query, execute, analyze, navigate, create) work across any Revit category — so "query Walls", "query Conduit", "query Electrical Fixtures" all work without needing a separate hardcoded tool for each.


get_elements - Query any category with paginationget_element_parameters - Get Length, Area, Volume, Mark, Commentscalculate_quantities - One-stop quantity takeoffsfind_elements_by_parameter - Complex AND/OR filtering with operatorsexport_schedule_data - Export schedules to CSVcount_elements_by_family / count_elements_by_type / count_views_by_typeget_element_room - Get containing room or MEP spaceget_project_info - Project metadataselect_all_by_category - Select all elements of a categoryselect_elements_by_level - Select by levelselect_similar_by_category / select_similar_by_family / select_similar_by_typeselect_and_hide_category - Compound select + hideselect_and_isolate_category - Compound select + isolatehide_elements_by_category / unhide_elements_by_categoryhide_selected_elements / unhide_all_in_viewisolate_elements_by_category / isolate_selected_elementsduplicate_active_view / duplicate_view_by_name / duplicate_viewscreate_dependent_views - Create N dependent views from parentget_view_info / list_all_viewscreate_new_sheet - Create sheet with number and nameplace_view_on_sheet - Place viewport at coordinatesget_sheet_info / get_all_sheets_infoduplicate_and_place_view - Atomic duplicate + placecreate_sheet_and_place_view - Atomic sheet creation + view placementget_panel_schedules - All electrical panels with metadatacreate_panel_schedule - Create panel schedule viewperform_conduit_run_qa - Full QA workflow with color codingcalculate_conduit_bend_total - Bend angles for conduit runsget_total_conduit_length - Sum all conduit in modelget_conduit_length_by_size - Length breakdown by conduit diameterget_total_wall_length - Wall length calculationsget_element_room - Room/space containmentcopy_grid_state - Copy visibility states to storagepaste_grid_state - Apply saved state to current viewrename_element - Rename views, levels, or sheetsfind_and_tag_elements - Find and tag in one operationbatch_create_tags - Tag multiple elementsdelete_empty_tags - Remove tags with no contentfind_duplicate_elements - Detect duplicates by name/typeorient_elements_to_view - Align with view orientationexport_to_csv - Export elements to CSV file| Provider | Models | Notes |
|---|---|---|
| OpenRouter | Qwen3 235B, DeepSeek v3, Claude, Gemini, and 100+ more | Recommended — one API key, many models |
| Anthropic | Claude Opus 4.5, Sonnet, Haiku | Direct API, best tool-use accuracy |
| DeepSeek | DeepSeek Chat, R1 (reasoning) | Cost-effective |
| Qwen | Qwen 2.5 (via Ollama or DashScope) | Free local option with Ollama |
1. Clone the repository
git clone https://github.com/schauh11/revit-mcp-server.git
cd revit-mcp-server
2. Configure the MCP server
cd mcp-server
npm install
cp .env.example .env
Edit .env with your configuration:
# Choose your provider (default: openrouter)
LLM_PROVIDER=openrouter
# Set your API key
OPENROUTER_API_KEY=sk-or-v1-...
# Optional: change model (default: qwen/qwen3-235b-a22b)
OPENROUTER_MODEL_NAME=qwen/qwen3-235b-a22b
# Optional: change port (default: 3847)
PORT=3847
3. Build the Revit plugin
dotnet build RevitPlugin/RevitPlugin.csproj -c Release
The DLL auto-copies to %APPDATA%\Autodesk\Revit\Addins\2026\
4. Launch
You: List all the walls
AI: Found 127 walls in your model:
- Basic Wall - Interior: 45
- Basic Wall - Exterior: 32
- Curtain Wall: 50
You: List all grids
AI: Found 12 grids: A, B, C, D, E, F, 1, 2, 3, 4, 5, 6
You: Hide them
AI: Hidden 12 grids in the current view.
You: Duplicate Level 2 floor plan and place it on a new sheet A221
AI: Done! Created:
- View: "Level 2 - Copy 1"
- Sheet: A221 - "Level 2 Plan"
- Placed view at center of sheet
You: Calculate total conduit length by size
AI: Total conduit lengths:
- 3/4": 1,250 LF
- 1": 890 LF
- 1-1/4": 445 LF
- 2": 220 LF
Total: 2,805 LF


revit-mcp-server/
+-- RevitPlugin/ # C# Revit Plugin (.NET 8.0)
| +-- Commands/ # App lifecycle, server management
| +-- UI/ # WPF chat panel
| +-- Services/ # WebSocket, tool executor, model index
| +-- Helpers/ # Category normalization, grid/level utilities
| +-- Resources/tools.json # Plugin-side tool schemas
|
+-- mcp-server/ # Node.js/TypeScript Server
| +-- src/
| | +-- index.ts # Entry point, provider initialization
| | +-- mcpServer.ts # WebSocket server
| | +-- websocketHandler.ts # Message routing, tool execution
| | +-- providers/ # LLM provider implementations
| | +-- conversation/ # SQLite-backed history management
| | +-- config/ # Model configuration
| +-- tools.json # 53+ tool definitions
|
+-- docs/ # Documentation and images
+-- README.md
| Issue | Cause | Solution |
|---|---|---|
| "Timeout: No response" | Server not running or API issue | Check server console, verify API key |
| "Auto-disconnected" | Idle for 15+ minutes | Normal behavior, send message to reconnect |
| "Failed to connect" | Port conflict or server down | Check port 3847, restart server |
| Slow first response | Model indexing in progress | Subsequent requests use cache |
Contributions are welcome! Please:
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)For major changes, please open an issue first to discuss what you would like to change.
MIT License - see LICENSE
Special thanks to the Revit API community and all contributors who helped make this project possible.
If you find this project useful, please consider giving it a star!
Loading reviews...
GitHub checked 136h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.