SuperAPI AI Directory

openmep

Open MEP is an open-source project for AI-assisted HVAC design, centered on a small, inspectable building data model (rooms, loads, terminals, ducts, connections, and constraints) computed by a deterministic engine and editable by language-model agents within controlled bounds. The project provides IFC model import, design-day steady-state load calculation, duct sizing, a CFM-based editable HVAC floor plan, and benchmarks for evaluating the correctness of agent edits. Through an MCP interface, any MCP client can call the duct sizing engine, compute a duct network directly from JSON, or validate a Manual D worksheet. The project is released under the MIT license, and tests use public IFC sample data.

Open website

About this tool

Purpose

Open MEP aims to ground AI-assisted HVAC design in an inspectable data model rather than tying it to a particular modeling software plugin. Its core premise is that the useful unit of AI-assisted HVAC design is a small, inspectable data model (rooms, loads, terminals, ducts, connections, constraints), computed on by a deterministic engine and edited by agents. The repository contains this model, the engine, and a test framework for measuring whether agents can complete edits without breaking the model.

Key capabilities

  • IFC import: Build editable HVAC floor plans from public IFC samples (buildingSMART Duplex and the WBDG Office ARCH + MEP pair, CC BY 4.0). Samples are fetched by fixtures/fetch-public-ifc.sh; IFC files are not committed to the repository.
  • Deterministic load and duct sizing: Loads are computed as design-day steady state; the duct network calculation outputs each run's system, CFM, role, recommended standard round duct diameter, velocity, and friction rate, rates existing duct segments as ok / undersized / oversized, and reports terminals with no airflow or no path to equipment.
  • CFM-based editable HVAC floor plan: Modify room supply airflow, preview connected duct sizes on the floor plan, apply or undo changes, and export the edited floor plan JSON.
  • Manual D worksheet validation: Input blower external static pressure, equipment losses, and each run (CFM, length, fitting equivalent length) to output available static pressure, total effective length, Manual D friction rate, and each run's round duct size, rated against existing sizes. An ACCA worksheet example is included.
  • Agent benchmarking: A synthetic agent benchmark is provided (npm run benchmark:verify), and you can evaluate your own candidate solutions per packages/agent-benchmark/README.md.

Usage

  • Call the duct sizing tool via MCP: Any MCP client can use the configuration {"command": "npx", "args": ["-y", "-p", "@openmep/mcp", "openmep-mcp"]}. Describe the system and each in natural languageCFM required at terminals, agent invocation engine; see packages/mcp/README.md for details.
  • Compute duct networks from JSON (no editor needed): after checking out the code, run npm ci && npm run build --workspace @openmep/hvac-domain, then run node packages/hvac-domain/bin/openmep-hvac.js .... The network consists of equipment, fittings, terminals with requiredCfm supplied by the engineer, and duct segments connected via connectedItemRefs. Any host that can produce this document uses the same engine; openmep-pascal items can generate this document from a Pascal scenario.
  • Try airflow design: requires Node.js 24+. The first launch fetches a public Office IFC pairing and prepares Level 1, with no database, .env, or model credentials needed. Use -- --refresh to rebuild the example, or -- --port 3002 to change the port. Edits are session-local manual airflow scenarios and round-duct suggestions; export saves the applied floor plan JSON rather than rewriting the IFC. The public example annotates inferred connections and assumed initial requirements. The existing model viewer also links to airflow design for its selected floor.
  • Full viewer and IFC pipeline: generate an editable HVAC floor plan from the public office model; copy .env.example to .env, start PostgreSQL and create the database; run npm run db:init; run npm run dev:web (seeds the Duplex pairing as a stable dev sample at /models/00000000-0000-4000-8000-000000000001?mode=plan, can be skipped with MEP_SKIP_DEV_FIXTURE=1, IFC_FIXTURE_DIR relocates the sample); run npm run dev:worker in a second terminal.

When to use

Suitable for preliminary selection and duct sizing in the early stages of HVAC design, evaluation of AI agents' editing capabilities on structured building data, and a development playground for connecting the deterministic HVAC engine into MCP workflows.

Limitations

  • Loads are calculated as design-day steady state, without RTS/CTS lag, latent heat, or schedules, and have not yet been validated against reference cases; envelope U-values come from ASHRAE 90.1 prescriptive tables, and climate is taken from 15 city anchors. Output should be treated as preliminary selection input, not a stamped design.
  • For Revit exports where ceilings are room boundaries (as in all cases seen so far), roof loads are zero; plenum inference remains pending work.
  • For exports lacking IfcRelConnectsPorts, duct connectivity is inferred geometrically and annotated on each entry.
  • The project is released under the MIT license; sample data retains its upstream license (see fixtures/README.md). npm package publishing and provenance rules are in docs/public-artifact-release.md.