WiseGH
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WiseGH turn this tower photo into a verified Grasshopper family with variants"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
grasshopper-revit-mcp
Text or images in, a verified Grasshopper definition out, then variants in the same design language, then native Revit elements. An MCP server and agent skills for Claude Code, Claude Desktop and Cursor, for Rhino 8 and Rhino.Inside.Revit. Brand name inside the WiseStack family: WiseGH.

Live run on Rhino 8.18, 3 and 4 Dec 2026. Back row: twisting-tower family after Gensler's Shanghai Tower. Middle: diagrid-tower family after Foster + Partners and Arup's 30 St Mary Axe. Front: segmented-twist family after Santiago Calatrava's Turning Torso. Each original sits on the left with three variants the agent built inside its design language. Every published number checked in Rhino. Massing only.
Why this exists
Agents can already place Grasshopper components. What breaks in real use:
They wire by hand and drift. LLMs placing components one by one get worse as graphs grow (Text2VP, 2024). Wrong components appear silently when lookups fall back to fuzzy matches.
"Done" when it isn't. A solve with no red components is not a correct model.
Guesses become design. Nobody can tell which numbers came from a source and which were invented.
Variants wander off. "Make variations" produces anything, not the same building's language.
The Revit leg duplicates. Rhino.Inside.Revit components saved without tracking create new elements on every solve.
Related MCP server: rhino-mcp
How it works
sources / photos ──► family spec ──► rules gate ──► compile ──► gh_apply (atomic) ──► checks ──► sweep ──► bake ──► variants ──► Revit
every value person fixed code validate all first asserts vs every knob WISE:: in family exchange file
has a basis approves -> GhJSON one undo, one solve oracle at its edges layers and scored + Dynamo, read backRules first. A family spec (JSON) gives every parameter a value, a basis (
measuredwith a source,inferredwith how,assumedneeding approval,unknownblocking), a range, and for knobs a band. Invariants (plan type, twist direction, taper law) never vary: they are the design language.Compiled, not hand-wired. Fixed code turns the spec into a definition in wise.ghjson, a profile of GhJSON 1.0: typed sliders, a Python 3 script component for the family logic, native components downstream (Boundary Surfaces, Extrude, Loft, Area).
Atomic apply. Every component and wire is resolved before anything touches the canvas. One bad name and nothing is added; every error is reported at once. Exact names only.
Measured in Rhino. Plates closed and planar, floor count, top level, corner rotation measured from the geometry, top scale from areas, and every plate's area against a pure-Python oracle (the same functions run in the script component and offline).
Sweep. Every knob at both ends of its band must still build.
Variants in the family. Seeded Latin hypercube inside the bands, scored for novelty and silhouette similarity, Pareto front, a person picks.
Revit. Native levels, floors (not structural) and DirectShape massing, built by Revit's own Dynamo from an exchange file. No Rhino inside Revit, no licence check, nothing online. Every element is tagged, a rerun replaces instead of duplicating, and the read-back checks counts, elevations and areas in Revit. See revit/README.md. Live run in Revit 2026 through Dynamo, 4 Dec 2026: all three PASS, and a second run replaced every element without duplicating (table below).
In Revit, as measured (live, 4 Dec 2026)
Revit 2026, Dynamo, CPython 3 node, new project from the Construction template. No Rhino in Revit.
Family | Levels | Native floors | Massing (DirectShapes) | Worst floor area vs exchange | Level error | Rerun |
Turning Torso | 54 | 54 (45 housing + 9 recessed), 0 structural | 9 cube skins, core, 90 spine members | 1.000007 | 0.0 m | 57 replaced, 54 levels reused, same counts |
30 St Mary Axe | 41 | 41, 0 structural | skin, 720 diagrid members | 0.999946 | 0.0 m | 43 replaced, 41 levels reused |
Shanghai Tower | 128 | 128, 0 structural | skin | 0.999950 | 0.0 m | 129 replaced, 128 levels reused |
Since 0.4.1 every floor is on a WISE slab <mm> mm type at the family's slab thickness (Torso 270 and 900 mm, the others 300 mm, every floor within 0.0 mm), and the massing is smooth Revit geometry: the Shanghai skin is one loft through all 128 floor profiles, the Torso skins nine lofts, and all 810 diagrid and spine members round extrusions, with nothing falling back to triangles. Build times inside Revit: 1.1 s, 2.2 s and 5.4 s. Reports: examples/<name>/revit/*.revit_report_*.json.
Floor plan to walkthrough: Villa Savoye (live, 5 Dec 2026)

A second way in: a floor plan written as data (wise.revit-plan), built as native Revit elements, then synced to D5 Render with its cameras for a walkthrough. The worked example is Le Corbusier's Villa Savoye (grmcp/plan.py, examples/villa_savoye/villa_savoye.plan.json): 25 pilotis on a 4.75 m grid, a ramp in 4 flights, a spiral stair from ground to roof, strip windows, the hanging garden, the roof solarium and 9 cameras along the promenade. Every assumed value carries a note saying so.
Built in Revit 2026 (one Dynamo run, 6.5 s, verdict PASS, 0 failures) | Count |
Walls (line and arc) / wall openings | 26 / 4 |
Curtain walls (strip glazing embedded in walls, free glass walls) | 6 |
Floors / ramp flights as sloped floors (9.46°) | 7 / 4 |
Columns (round pilotis) / parapets | 25 / 6 |
Spiral stairs (native, StairsEditScope) | 2 |
Doors / rooms / perspective cameras / plan views | 7 / 10 / 9 / 3 |
Read back from Revit: salon 85.27 m² (published about 84 m²). Entrance hall 163 m² against about 60 m² published, because the plan has no walls for the service rooms behind the hall, so Revit counts them as hall. Report: examples/villa_savoye/villa_savoye.plan.revit_report_030032.json.

Run it: open revit/wise_revit_run.dyn in Dynamo (Revit 2026, CPython 3), set Repo to this folder, Module revit_plan and Arguments {"plan": "examples/villa_savoye/villa_savoye.plan.json", "mode": "build", "n": 1} (change n to force a rerun; mode can be dry, build or remove; "live": 0.4 pauses between steps so a screen recording shows the house going up). Every element is tagged wise:savoye:<kind>:<id> in Comments and replaced on rerun. revit/revit_shots.py exports the 9 camera views as PNGs, revit/revit_probe_types.py lists the types a template offers. Then D5 Sync for Revit (0.4.8 or later for Revit 2026): Start D5, then Sync Cameras, and each Revit camera arrives as a D5 scene.
Six things broke on the way to the clean run. Each is written up in revit/LESSONS.md with the fix.
Three demos, as measured
Each family's definition is saved on its own, written by Grasshopper itself: Shanghai, 30 St Mary Axe, Turning Torso (plus .ghx for diffs). Read back independently: 16, 26 and 27 objects.
Turning Torso (segmented-twist family)

Check | Source | Expected | Grasshopper, measured in Rhino |
Levels | HSB: 9 cubes of 5 floors plus the conical slab level, 54 counting those | 54 | 45 housing plates + 9 recessed gap levels |
Top occupied floor | CTBUH 178.8 m | ±0.5% | 178.61 m |
Twist | HSB, Wikipedia: 90°, about 1.6° per floor, clockwise | -88.3° across housing floors 1 to 53 | -88.30° (measured from the point of each plate) |
Floor plate | NCC, HSB: about 400 m² per floor | 400 to 560 m² gross | 432 m² |
Core | Calatrava: 10.6 m inside, walls 2.5 m to 0.4 m | lofted, tapering | |
Spine | Calatrava: one steel spine, braced to every cube | 90 members | 90 members, piped |
Plate areas vs oracle | pure Python | within 0.1% | worst floor 1.0000000 |
Sweep, 7 knobs × 2 band edges | all build | 14 of 14 (after fixing the side band, below) | |
Variants | 12 sampled, seed 7 | in family | 3 built: 8, 10 and 9 cubes, 75° to 80° of twist |
The first live run failed its sweep: at the bottom of the side band (17 m) the 15.6 m core left less than 1 m to the facade, so the script refused to build. The band now starts at 18 m, and family_check builds every knob at both band edges offline, so a band that can't build is caught before Grasshopper is opened. Assumed and labelled: wall bulge, gap recess, spine offset, member size. Inferred: floor-to-floor 3.37 m (178.8 m ÷ 53), crown 11.4 m (to reach 190 m), plate side and point length.
30 St Mary Axe (diagrid-tower family)

Check | Source | Expected | Grasshopper, measured in Rhino |
Floors | New Steel Construction (NSC), CTBUH | 41 plates (levels 0 to 40) | 41 closed planar plates |
Top occupied floor | NSC 167.1 m | ±0.5% | 167.10 m |
Widest floor | NSC 56.15 m at level 17 | ±0.5%, level 17 | 56.15 m at level 17 |
Lightwell twist | NSC 5° per floor | -200° over 40 floors | -200.2° (measured from the lightwell apexes) |
Diameter at level 38 | Mele et al. 30 m | 30.0 m (q_above fitted to it) | |
Diagrid | NSC: nodes every 2 storeys; 18 per ring (WikiArquitectura) | 720 members | 720 members, piped |
Plate areas vs oracle | pure Python | within 0.1% | worst floor 1.0000000 |
Sweep, 8 knobs × 2 band edges | all build | 16 of 16, 0 errors | |
Variants | 12 sampled, seed 7 | in family | 3 built: 7, 5 and 6 lightwells, 15 to 22 nodes per ring |
Assumed and labelled: lightwell width and depth, profile curvature below the widest floor, lens size, slab and member sizes. Inferred: ground storey 5.25 m (167.1 m − 39 × 4.15 m), base 49 m and top 26.5 m diameters from secondary sources. Family spec: families/gherkin.family.json. Report: examples/gherkin/report_20261203.json.
Shanghai Tower (twisting-tower family)

Check | Source | Expected | Grasshopper, measured in Rhino |
Floors | CTBUH | 128 | 128 closed planar plates, 1 path |
Top level | CTBUH highest occupied floor 583.4 m | ±1% | 583.44 m |
Total twist | Gensler 2010: about 120°, linear | ±1% | 120.0° (measured from the plate corners) |
Top scale | Gensler 2010: about 55% reduction | 0.45 ±2% | 0.450 (from areas) |
Runtime errors | 0 | 0 errors, 0 warnings | |
Plate areas vs oracle | pure Python | within 0.1% | worst floor 1.0000000 |
Sweep, 6 knobs × 2 band edges | all build | 12 of 12, 128 plates each, 0 errors | |
Variants | 12 sampled, seed 7 | in family | 12 in family, 3 picked and built: v04, v09, v12 |
Assumed and labelled as such (not published): base size, side-arc radius, corner radius, taper curvature, slab thickness. The rules gate lists them for a person to approve. Full report: examples/shanghai/report_20261203.json. Family spec: families/shanghai_tower.family.json.

Install
You need Windows or macOS, Rhino 8 (not Safe Mode, so Grasshopper loads) and Python 3.9+. No packages.
Step | Do |
1 |
|
2 | In Rhino 8: |
3 | Claude Code: |
4 | Check: |
5 | Try the demos without an AI app: open an empty metres file in Rhino 8, run |
6 | Revit (no Rhino needed in Revit): |
7 | Floor plan to Revit: see Floor plan to walkthrough |
Offline tests (no Rhino, no Revit): python -m unittest discover tests (39 tests, including the Revit build against a stand-in Revit API and the Villa Savoye plan checks).
Tools
Family (offline) | Grasshopper (in Rhino) |
|
|
|
|
|
|
|
|
| |
| |
|
|
|
Skills (skills/): grasshopper-revit (router), gh-author, image-to-family, family-variants, verify-family, gh-to-revit.
What it can't do yet
Revit massing is DirectShape. Skins, cores and members are smooth Revit solids (lofts through the floor profiles, round members), but they schedule as Mass and Generic Models, not as walls or curtain walls, and carry no facade panels yet. The optional Rhino.Inside.Revit route (
rhino/revit_push.py) is written but not run: on Revit 2026 with Rhino below 8.21 it needs Rhino.Inside.Revit v1.32 RC3, and starting Rhino inside Revit runs Rhino's licence check.Three families. The compiler knows twisting towers, diagrid towers and segmented twists. Others (setback towers, shells, stadium bowls) need their own geometry module and compile function, about 150 lines each.
Images are read by the agent, not by code. Measuring twist and taper from photos is a skill (method and rules), not a tool yet.
Similarity is blunt. Silhouette IoU scored all twelve tower variants 0.89 to 0.97. An image-embedding score on clay renders comes next.
Massing only. No Shanghai notch, inner cylinders or podium; no Gherkin core, glazing pattern or base; no Torso balconies, windows or conical slab profile (modelled flat). Captures are proof views, not presentation renders.
Plans are typed in, not read from drawings. The Villa Savoye spec was written from published dimensions. Reading a PDF or DWG plan into a spec is a skill for later. Rooms behind the hall are missing, furniture is left out, and the
livepause option is written but not yet run in Revit.GH2 and Rhino 9 not tested. Grasshopper 1 on Rhino 8.18 is.
Built on
Ported or adapted from MIT and CC0 projects: LAMCP, Cordyceps, Hyperceps, McNeel RhinoAI, rhinomcp, GhJSON, Rhino.Inside.Revit, rvt-mcp (Apache-2.0, design only). Details in NOTICE.md. Research and design: docs/DESIGN.md.
Part of the WiseStack family: WiseStack (verification-first agent workflows for Rhino) and WiseRhino MCP (offline Rhino bridge).
Recreating a named building here is an educational massing study after published descriptions, not the architects' design data. No logos, drawings or renders of theirs are included.
MIT licence.
Available Tools
24 toolsfamily_checkB
Check a family spec (JSON): every parameter has a basis (measured, inferred, assumed, unknown), sources for measured and inferred values, bands for knobs. Returns the rules gate: pass, blocked (a person must decide the open items) or fail.
Inputs: path (required).
family_compileC
Compile a family spec into a Grasshopper definition (wise.ghjson, a GhJSON 1.0 profile) and save it. The graph is built by fixed code from the spec, not wired by hand. Overrides may only change knobs, inside their bands.
Inputs: out (required), path (required), overrides.
family_metricsC
Pure-Python numbers for a family with optional knob overrides: floor count, top level, top rotation, areas, top scale. These are the oracle the Grasshopper result must match.
Inputs: path (required), overrides.
family_revit_exchangeC
Write a Revit exchange file (wise.revit-exchange) for a family: levels, exact floor outlines (arcs and lines) and triangulated massing, from the same geometry the Grasshopper script runs. Revit builds it with revit/revit_build.py in Dynamo, with no Rhino in Revit. Overrides may only change knobs, inside their bands.
Inputs: out (required), name (required), path (required), stage (required), +3 more.
family_variantsB
Sample variants inside the family's bands (seeded Latin hypercube) and score each for novelty and silhouette similarity to the original. Returns the in-family set, the Pareto front and a shortlist for a person to pick from.
Inputs: path (required), n, pick, seed, +2 more.
gh_applyA
Build a wise.ghjson definition on the canvas atomically: every component and wire is resolved first, nothing is added if anything fails, all errors are reported, one undo step, one solve. Returns refs (definition id -> instance GUID).
Inputs: path (required), solve, timeout.
gh_bakeA
Bake one output to a WISE layer, tagged with stage and role. Earlier objects with the same stage and role are replaced, so a rerun never duplicates. Only bake after a solve with no errors.
Inputs: guid (required), port (required), layer (required), stage (required), +2 more.
gh_capture_canvasC
PNG of the visible Grasshopper canvas (for the gate, not every step).
Inputs: path (required).
gh_capture_viewC
PNG of a Rhino viewport, optionally zoomed to WISE layers.
Inputs: path (required), view, width, height, +1 more.
gh_describe_componentB
Inputs and outputs (names, nicknames, types, access) of a component. Read it before wiring.
Inputs: name (required), guid, category.
gh_find_componentA
Exact lookup of a Grasshopper component by name, nickname or 'Category/Name'. No fuzzy matching: zero hits means use another name; several hits means add a category.
Inputs: query (required), limit, category.
ghjson_validateA
Validate a wise.ghjson definition before it touches a canvas: ids, names, verified GUIDs only, script components start with '#! python 3' and have outputs, every wire names both ends.
Inputs: path (required).
gh_measure_platesB
Measure floor plates on an output inside Rhino: closed and planar count, top level, rotation of the corners from base to top, base and top area, top scale.
Inputs: guid (required), port.
gh_messagesA
Runtime errors and warnings of every object, without solving.
Inputs: no named parameters.
gh_new_documentB
Open a new empty Grasshopper definition (the user's open definitions are left alone).
Inputs: name.
gh_outputsB
Data on one output: tree shape (paths, items), item types, a short preview. Use it to check counts after every change.
Inputs: guid (required), port (required), preview.
gh_resultA
Fetch the result of a job that was still running when its call returned. A timeout is not a failure: never resend a job that changes the model.
Inputs: id (required).
gh_save_copyB
Save the definition as a new .gh or .ghx file written by Grasshopper itself. Refuses to overwrite unless overwrite is true.
Inputs: path (required), overwrite.
gh_set_sliderB
Set a number slider by nickname and solve. Returns the value before, so you can put it back.
Inputs: value (required), nickname (required), solve.
gh_solveC
Recompute the definition and return runtime errors and warnings per object.
Inputs: timeout.
gh_statusA
Is the listener up, is Grasshopper loaded, which definition is open. Call first.
Inputs: no named parameters.
plan_checkB
Check a floor plan spec (wise.revit-plan JSON) before Revit sees it: known levels and wall types, unique ids, closed floor loops, doors and openings on real walls, ramps no steeper than 25%. Returns the problems and the element counts.
Inputs: path (required).
plan_drawingB
Draw one level of a plan spec as a PNG (walls cut at 1.2 m, glazing, columns, stairs, room names) so a person can check it before the Revit build.
Inputs: out (required), path (required), level (required), px_per_m.
plan_exampleC
Write the worked example plan: Le Corbusier's Villa Savoye (pilotis on a 4.75 m grid, 4-flight ramp, 2 spiral stairs, strip windows, roof solarium, 9 cameras). Every assumed value is labelled in the spec's notes.
Inputs: out (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 24 tools
Tools are grouped by clear domain prefixes (gh_, family_, plan_, ghjson_) and mostly target distinct resources. A few boundaries require reading descriptions to separate: gh_solve vs gh_messages, gh_capture_canvas vs gh_capture_view, and family_metrics vs gh_measure_plates (same floor-plate concepts, different backends) could cause momentary misselection, but descriptions disambiguate.
Consistent snake_case with a domain-prefix convention (gh_*, family_*, plan_*, ghjson_validate) applied throughout. Minor verb/noun mix within prefixes (family_check vs family_metrics, plan_check vs plan_drawing) is still predictable and readable.
24 tools is at the heavy end and crosses into the 'feels heavy' band, spread across four sub-domains (Grasshopper control, family specs, plan specs, capture). Each tool is largely non-redundant and earns a place given the breadth, but the surface is large enough to burden an agent's selection.
Grasshopper control and family lifecycle (check, metrics, compile, variants, Revit exchange) are thoroughly covered, and the gh_ pipeline (status, find, describe, apply, solve, outputs, bake, save) has no dead ends. The plan side is thinner—only check, drawing, and example, with construction deferred to an external Dynamo script—leaving a mild gap.
Maintenance
Related MCP Connectors
- AutoMEPDeprecatedapp.automep
Edit AutoCAD and Revit MEP drawings from Claude or ChatGPT in plain English.
FF&E product library for interior designers. Connect Claude, ChatGPT and Cursor.
CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.
One workspace of tools for Claude and ChatGPT: connect 600+ apps, generate media, build tools.
Related MCP Servers
- AlicenseBqualityNot gradedmaintenanceEnables seamless communication between Claude AI and Autodesk Revit, allowing users to access and interact with Revit model information through natural language.618-
- AlicenseCqualityBmaintenanceEnables Claude to drive Rhino 8 and Grasshopper for geometry creation, manipulation, and analysis via natural language.246196 PyPI10MIT
- AlicenseNot gradedqualityCmaintenanceConnects Rhino and Grasshopper to Claude AI via the Model Context Protocol, enabling prompt-assisted 3D modeling, scene manipulation, and control through tools like object creation, layer management, and code execution.32MIT
- FlicenseNot gradedqualityDmaintenanceConnects Claude AI to AutoCAD for architectural design, enabling natural language to execute 684 commands. Automates drawing creation and editing through the Model Context Protocol.8-