H1 R-value API and MCP server
The calculator’s model, without the page: construction R-values for walls, roofs and floors to H1/AS1 6th edition, and the Calculation Method PASS / FAIL. Ask an AI assistant whether a design meets H1, or check it from Revit while you draw.
It runs the same code as the calculator, so the numbers match the website. It is free, needs no key, and does not store what you send.
MCP server
Add this address to any AI assistant that takes a remote MCP server (in Claude, as a custom connector):
https://rvalue.ezbuild.co.nz/api/mcpFor clients configured with a JSON file:
{
"mcpServers": {
"ezbuild-rvalue": { "url": "https://rvalue.ezbuild.co.nz/api/mcp" }
}
}
| Tool | What it does |
|---|---|
list_construction_types | Every wall, roof and floor type — timber frame, block wall, truss and skillion roofs, suspended timber floor, slab-on-ground — with its options. |
describe_construction | The layers of one type, outside to inside: material choices with their R-values, framing, insulation, or the slab inputs. |
calculate_construction | The construction R-value, each layer and each bridged path (NZS 4214 as modified by 2.1.3.2; slab-on-ground by Appendix E). |
check_h1 | PASS / FAIL by the Calculation Method from each element’s area and R-value, worked the way the BRANZ H1/AS1 tool works it. |
Then ask in plain words, for example: “A 90 × 45 @ 600 wall with brick veneer and R2.8 batts, a truss roof with two layers of R3.6, a 100 m² raft slab with 42 m perimeter, 30 m² of R0.46 windows, Auckland — does it meet H1?”
Revit (pyRevit)
One button, H1 Check: it sums the areas in your model, shows PASS / FAIL and the heat-loss table, and opens this calculator filled in from the model — address, client, every construction with its area, every window and door with its size. The project travels in the link itself; nothing is stored on a server.
Download EZbuild.extension.zip
- Install pyRevit. Download EZbuild.extension.zip and unzip it into a folder of your own, e.g.
C:\pyRevit-extensions, so that the folder holdsEZbuild.extension. - In Revit: pyRevit tab → Settings → Custom Extension Directories → add that folder → Save Settings and Reload. An EZbuild tab appears with the H1 Check button.
- Add two parameters to the wall, roof, floor, ceiling, window and door types you want counted: H1 Element (text:
roof,wall,slab,floor,skylight,glazingordoor) and H1 R-value (number — from the calculator; leave it out and the calculator starts that type from its own default construction). Optional: H1 Heated and, on roofs, H1 Ceiling Perimeter (yes/no). - Add H1 Climate Zone (integer, 1–6) to Project Information, or pick it when asked. Project Information’s Project Address, Client Name and Author fill the address, client and designer; an optional H1 DP Lot text parameter fills the DP / Lot.
HTTP API
JSON in, JSON out, CORS open. Base address https://rvalue.ezbuild.co.nz/api/v1.
| Request | Returns |
|---|---|
GET /types | Construction types and options |
GET /describe?element=wall&kind=block | The layers of one type and what each accepts (options=cav,-strap to switch options) |
POST /construction | R-value of one construction |
POST /h1-check | PASS / FAIL, heat loss proposed and reference |
A wall
curl -X POST https://rvalue.ezbuild.co.nz/api/v1/construction \
-H "Content-Type: application/json" \
-d '{"element":"wall","kind":"frame","name":"W1 Brick veneer",
"layers":{"clad":"brick-veneer-70-mm",
"fr":{"depth_mm":90,"centres_mm":600,"insulation_r":2.8,"insulation_mm":90},
"lin":"plasterboard-10-mm"}}'
Layers you leave out keep the calculator’s defaults. A material can be given by id or by an unambiguous part of its name, or as {"r": 0.05} for your own R-value.
A slab-on-ground floor
{"element":"floor","kind":"slab",
"slab":{"area_m2":100,"perimeter_m":42.04,"floor":"raft","wall_thickness_mm":90,
"parts":[{"length_m":17.15,"wall":"masonry"}]}}
The H1 check
curl -X POST https://rvalue.ezbuild.co.nz/api/v1/h1-check \
-H "Content-Type: application/json" \
-d '{"climate_zone":1,"elements":[
{"type":"roof","area_m2":100.8,"r_value":7.45},
{"type":"wall","area_m2":243.6,"r_value":1.60},
{"type":"glazing","area_m2":70.5,"r_value":0.46},
{"type":"door","area_m2":2.4,"r_value":0.18},
{"type":"slab","area_m2":100,"r_value":1.27}]}'
Element types: roof, wall, slab, floor (suspended and other floors), skylight, glazing (windows and glazed doors), door (opaque). Add "heated": true for an element with heating in it, and "ceiling_perimeter": true for a roof’s ceiling perimeter strip.
What it does not do
- Material, air-gap and surface values are provisional defaults. Confirm each against NZS 4214 and the manufacturer before a figure goes into a consent.
- The H1 check is the Calculation Method only. The BRANZ H1/AS1 calculation tool’s own result is the one for the building consent authority.
- It is not a modelling-method (H1/VM1) tool, and it does not read drawings or Revit materials’ thermal properties.
← Back to the calculator · Something missing or wrong? Email us.