Electrical / runnable MCP tool

Run the Box Fill Calculator in your AI assistant

Through the free Intry MCP server, Claude, ChatGPT, or Cursor runs this exact calculator and hands back a verdict and the cited source, not a guess. Tool name: box_fill.

What it runs: Whether your conductors, devices, clamps and grounds fit the box, and which box to use if they do not.

What you get back: total volume used vs the box volume, pass/fail, and a suggested box if over.

How it computes the answer

Computed from NEC Table 314.16(B)(1) per-conductor volumes and the 314.16(B)(1)-(6) counting rules, against the Table 314.16(A) box volume.

What it cites

Your assistant calls the same engine the interactive calculator calls, with the inputs listed under Inputs. These are the sources that engine reads.

NEC Table 314.16(B)(1)
Free space required within a box, per conductor, by AWG: #18 = 1.50, #16 = 1.75, #14 = 2.00, #12 = 2.25, #10 = 2.50, #8 = 3.00, #6 = 5.00 cu in. From the NEC 2023 book itself, page 70-196, read twice by two different methods so that a misread column cannot survive both; the values this tool uses are the ones the printed page shows.
NEC 314.16(B)(1) through (B)(6)
The counting rules: each conductor once, a loop or coil at least twice the free length 300.14 requires twice (B)(1); one allowance for all internal cable clamps, at the largest conductor present (B)(2); one for each type of support fitting present, a luminaire stud or a hickey, at the largest conductor present (B)(3); two for each device yoke at the largest conductor connected to its device, and two for each gang a wider device needs (B)(4); one for up to four equipment grounding conductors at the largest of them, plus a quarter for each one beyond four (B)(5); and one for each terminal block (B)(6), which the code takes at the largest conductor terminated on it and this tool at the largest conductor entered for the box (a pigtail larger than every entered conductor, terminated on a block, is not entered and sets that block's allowance).
NEC Table 314.16(A)
The listed volume of each standard box type, used when you pick a box instead of entering a custom cubic-inch volume. Read from the primary.

The code sections those sources name, each with the edition and the page the book prints it on:

Swipe the table sideways to see the rest of its columns. →

Code and editionSectionPrinted page
NEC 2023314.16(B)(1)70-195
NEC 2023Table 314.16(A)70-196

These are NEC Article 314 table values, summed by the engine for the conductors, devices, and fittings you enter, not measurements. The result is the code fill; the installer confirms the actual box and its listed volume on site.

The full receipt, with every source and how each is cross-checked, is on the interactive Box Fill Calculator.

Ask your assistant

The one rule that makes it reliable: name Intry in your question. That is what tells Claude to run the box_fill tool and answer with the real number, the verdict, and the citation. Leave Intry out and Claude may just guess from memory, which is exactly what you are trying to avoid. Type something like:

“Ask Intry if a 4 inch square box holds six #12 with a receptacle and grounds.”
“Use Intry to check how many #14 fit in an 18 cubic inch box with one switch.”

Inputs

Swipe the table sideways to see the rest of its columns. →

FieldRequiredAcceptsRangeWhat it is
boxTypeoptionalstringStandard box type key (e.g. '4x1-1/2 square'), or omit and pass customVolume.
customVolumeoptionalnumbermore than 0Box volume in cubic inches (overrides boxType).
conductorsyesarray of { size: 18 | 16 | 14 | 12 | 10 | 8 | 6; count: number }Insulated conductors entering the box.
deviceYokesoptionalnumber0 or moreNumber of devices (switch/receptacle yokes). Default 0.
largestDeviceConductoroptional18, 16, 14, 12, 10, 8, 6Largest conductor on a device. Default largest present.
internalClampsoptionalbooleanInternal cable clamps present? Default false.
largestClampConductoroptional18, 16, 14, 12, 10, 8, 6Largest conductor for the clamp allowance.
egcCountoptionalnumber0 or moreNumber of equipment grounds. Default 0.
largestEgcoptional18, 16, 14, 12, 10, 8, 6Largest EGC size.
terminalBlocksoptionalnumber0 or moreNumber of internal terminal blocks. Default 0.
luminaireStudoptionalbooleanFixture stud present? Default false.
hickeyoptionalbooleanHickey present? Default false.

Add Intry to Claude

One paste and Claude can run this tool and the other calculators on Intry's MCP server, right from your phone.

Add Intry to ClaudeOpens Claude with Intry already filled in.
  1. Claude opens with the Intry connector already filled in. Review it and click Add.
  2. (If a field is blank, paste the link below into the URL field.)
  3. In any chat, tap + then Connectors and switch Intry on. Then name Intry in your question (“use Intry to…”) so Claude runs the tool instead of guessing.
https://www.intrysys.com/api/mcp

No login, no API key, and it works on every Claude plan, right from your phone.

Using ChatGPT, Cursor, or a dev tool? See the developer setup on the main page. The endpoint is https://www.intrysys.com/api/mcp.

Every answer comes with the cited NEC section, so you can check it or show an inspector. The numbers come from the same calculator we run on intrysys.com, and our automated checks hold its answers against their sources before anything goes live, for the cases the checks cover, not for every input you can enter.

Also on Intry