← Back to directory
R

Revit MCP Server for Python

Community
Connect language models to local Revit through MCP.
Category
Other #386 of 678
Stars
★ 246 Very popular
Transport
stdio (local process) · SSE · Streamable HTTP
Runtime
Python
Credentials
No credential needed
License
MIT
Last commit
Tools
20
50FMRS · D

The README marks 20 tools as implemented; additional listed tools are marked pending and are not included here. The project supports stdio, SSE, and streamable HTTP and provides Claude Desktop and Claude Code configuration examples. It is not yet certified by Autodesk Marketplace.

Strongest · Documentation 12/20 Weakest · Maintenance 7/20

Reliability
8/20
Security and permissions
12/20
Maintenance
7/20
Documentation
12/20
Setup experience
11/20
Why each score
Reliability 8/20
The README lists implemented and pending tools and describes the MCP server, Revit Routes bridge, and main request path. However, several listed tools are pending, and there is no verifiable CI, test, or handshake execution evidence. The happy path is plausible, but startup, tool behavior, and error handling cannot be confirmed.
Security and permissions 12/20
The documentation says the bridge accepts only loopback addresses, HTTP MCP requires a paired bearer credential, model changes and Python execution display their payload for review in Revit, and the pairing secret can be revoked. However, the server includes direct Revit Python execution, and the provided material does not let us verify permission scope, data flows, or implementation. No red-line evidence is visible, but verification gaps warrant deductions.
Maintenance 7/20
The repository has an MIT license and is not archived; it also shows 242 stars and 41 open issues. These are not evidence of recent maintenance or issue response. The supplied material does not show releases, commit activity, a security response channel, or clear maintenance governance.
Documentation 12/20
The README provides architecture details, a tool status table, installation and client configuration examples, and disclosures that Marketplace certification is pending, the Routes API is in draft, and security has limitations. Tool parameters, platform and version requirements, troubleshooting, and cost information are incomplete. Other referenced security and privacy materials were not supplied for review.
Setup experience 11/20
The README gives pyRevit extension installation steps, pairing instructions, a stdio client configuration, and an HTTP transport example, and it makes the Revit and pyRevit requirements apparent. Runtime dependencies and version requirements are not fully specified, setup involves several manual steps, and the HTTP example requires client support for the paired authorization header. With no CI or key-path tests in the supplied material, the static calibration limits the score.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the network

Best for

  • Revit users who want to inspect or operate on a local model through MCP.
  • Python developers who want to prototype Revit API and language model integrations.

Not for

  • Teams that require a product or service certified by Autodesk Marketplace.
  • Remote VM or LAN HTTP bridge scenarios; the project rejects non-loopback hosts.
  • Users who do not intend to review model-change or code-execution requests.

Required permissions

  • Requires Revit and the pyRevit extension to be installed and running, with Routes Server enabled.
  • Requires explicit pairing in Revit; pairing creates an encrypted secret for the Windows user and permits local Revit discovery and launch.
  • Requests that change models and Python execution display their payload in Revit for review.
  • HTTP MCP transports require a paired bearer header; stdio configuration needs no token.

Risks and side effects

  • execute_revit_code can run IronPython in the Revit context; review code-execution requests.
  • Model-change tools can modify documents; review the request payload shown in Revit before proceeding.
  • Do not expose either listener to a network, tunnel, or the internet; the project requires loopback-only bridging.
  • Pairing protects only this extension's routes; other pyRevit routes and extensions are outside that protection.
  • The pyRevit Routes API is in draft form and may change.

Setup

Before you start

Runtime:Python

Enable the pyRevit Routes Server in Revit, then install and enable this project's pyRevit extension. In Revit, choose MCP > Bridge > Connect to pair. Configure Claude Desktop with the supplied uv stdio configuration, replacing /absolute/path/to/main.py with the actual path. The project also provides a Claude Code connection command. For HTTP transport, the client must support and send the paired Authorization bearer header.

claude_desktop_config.json
{"mcpServers":{"Revit Connector":{"command":"uv","args":["run","--frozen","mcp","run","/absolute/path/to/main.py"]}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "Revit Connector": {
      "command": "uv",
      "args": [
        "run",
        "--frozen",
        "mcp",
        "run",
        "/absolute/path/to/main.py"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers."Revit Connector"]
command = "uv"
args = ["run", "--frozen", "mcp", "run", "/absolute/path/to/main.py"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add 'Revit Connector' -- uv run --frozen mcp run /absolute/path/to/main.py

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Pair through MCP > Bridge > Connect in Revit, then confirm the Revit tools appear in your client’s tool list. Call get_revit_status to check the connection.

Troubleshooting

  1. Confirm Routes > Routes Server is enabled in pyRevit settings.
  2. Confirm MCP > Bridge > Connect was selected in Revit and that the correct Routes port is in use.
  3. Check the local bridge status endpoint for a healthy response; an unpaired browser request lacks the pairing header and is denied.
  4. For HTTP 401 responses, check that the request includes the paired Authorization header, or use the recommended stdio transport.
  5. If the extension does not load after installation or activation, reload pyRevit or restart Revit.

Things to try

Once connected, you can ask your AI assistant things like:

  • Show me the current Revit model information and its levels.
  • List the available families and family categories in the model.
  • Export an image of the current Revit view.
  • Save the current Revit document and synchronize it with central.

Tools 20

get_revit_status read-only
Check whether the Revit-MCP API is active and responding.
get_revit_model_info read-only
Get comprehensive information about the current Revit model.
list_levels read-only
List levels with elevation information.
get_revit_view read-only
Export a specified Revit view as an image.
list_revit_views read-only
List exportable views organized by type.
place_family writes
Place a family instance at a specified location with custom properties.
list_families read-only
List available family types, with filtering.
list_family_categories read-only
List family categories in the model.
Show 12 more tools
get_current_view_info read-only
Get detailed information about the active view.
get_current_view_elements read-only
Get elements visible in the current view.
color_splash writes
Color elements based on parameter values.
clear_colors writes
Remove view color overrides.
list_category_parameters read-only
List category parameters and sample values.
execute_revit_code writes
Execute IronPython code in the Revit context.
list_revit_installations read-only
Discover Revit versions installed on the system.
launch_revit writes
Launch Revit, optionally with a file, and poll for readiness.
open_document writes
Open a document in running Revit, with detach and audit options.
close_document writes
Close the active document.
save_document writes
Save or save as the active document.
sync_with_central writes
Synchronize a workshared document with central.

Use cases

Inspect the current Revit model, levels, views, and visible elements.
Export view images and color elements based on parameter values.
Place family instances, manage documents, or execute IronPython in Revit.

Supported clients

Claude Desktop
Claude Code

Listed from the project's documentation, not tested by this site.

Overview

Revit MCP Server for Python is a pyRevit-oriented MCP implementation. An MCP server works with a Routes REST API running inside the Revit process. Its tools cover model information, view exports, family placement, visualization, document operations, and Revit code execution. The project is being prepared for Autodesk Marketplace review and is not yet certified.

Similar servers

Source revision 6ca46b3ea96a Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/mcp-server-for-revit-python.svg)](https://followmcp.com/en/servers/mcp-server-for-revit-python)