Electrical / runnable MCP tool
Run the Box Size for Wires (NEC 314.16 Box Fill, Which Box to Buy) in your AI assistant
Through the free Intry MCP server, Claude, ChatGPT, or Cursor runs this exact tool and hands back its answer with the source it rests on, or says why it cannot answer, rather than a guess. Tool name: box_size_for_wires.
What you get back: what the page prints: the fill required in cubic inches, the box to buy with its volume, spare and percent full, its shape and the nearest box of the shape the make-up wants, what one more device does to it and the box the picker picks at that count (none at its 10-device limit), or the refusal where no printed box holds the make-up with the field answers; 314.24(B)(3)'s depth line where it binds; the working with the larger-pigtail and larger-ground lines that apply, the trace, every printed box ranked against the make-up, the metal-box and scope notes, what else 314.16 says, and the page's Copy.
How it computes the answer
Computed from the NEC 314.16(B) volume allowances for your conductors, devices, clamps and grounds, ranked against the box volumes printed in NEC Table 314.16(A); with a device and an 8 or 6 AWG conductor entered, only boxes whose trade-size depth is at least the 2-1/16 in. (52.4 mm) NEC 314.24(B)(3) requires hold it.
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(A)
- The box volumes every recommendation is drawn from, all 24 printed rows including the round and octagonal boxes. NFPA 70-2023, p. 70-196. These are the volumes the code prints for standard boxes; 314.16(A) also permits any box durably marked with its own cubic-inch capacity, which is how a box larger than the largest printed row is sized.
- NEC 314.16(B)(1)
- The volume allowance per conductor, by size: 2.00 cubic inches for 14 AWG, 2.25 for 12, 2.50 for 10, 3.00 for 8 and 5.00 for 6. NFPA 70-2023. Each conductor is allowed at its own size; one passing through counts once, and a loop or coil at least twice the free length 300.14 requires counts twice. The table prints no allowance for anything larger than 6 AWG, so this tool does not offer one rather than applying a figure the table does not carry.
- NEC 314.16(B)(2) through (B)(6)
- The rest of what takes up room, each charged here at the largest conductor entered, where the code takes a yoke at the largest conductor connected to a device it supports, the clamps and each type of support fitting at the largest conductor present in the box, the grounds at the largest equipment grounding conductor entering the box, and a terminal block at the largest conductor terminated to it. A conductor no part of which leaves the box is not counted (314.16(B)(1)), so where a pigtail larger than every conductor entered is connected to a device, is in a box with clamps or a support fitting, or lands on a terminal block, add the difference for each allowance it raises; for a ground larger than every conductor entered, the reading names the box fill calculator where that calculator takes the make-up, and otherwise the difference to add. All internal cable clamps together take one allowance (314.16(B)(2)), a luminaire stud or hickey takes one per type (314.16(B)(3)), each device yoke takes TWO (314.16(B)(4)), up to four grounding conductors take one between them with a further quarter allowance for each one beyond four (314.16(B)(5)), and each terminal block takes one (314.16(B)(6)). NFPA 70-2023, pp. 70-195 and 70-196.
- NEC 314.24(B)(3)
- Boxes that enclose devices or utilization equipment supplied by 8, 6, or 4 AWG conductors shall have an internal depth that is not less than 52.4 mm (2-1/16 in.). 314.16 says outlet and device boxes shall also comply with 314.24. Where a device is entered and the largest conductor entered (the main size where none is) is 8 or 6 AWG, this tool assumes that conductor supplies the device and names only a box whose trade-size depth in Table 314.16(A) is at least that. A pigtail is never entered, so a device on an 8 or 6 AWG pigtail larger than every conductor entered is not held to this depth by the tool. The Exception: under any of the conditions specified in 314.24(B)(1) through (B)(5), devices or utilization equipment that is listed to be installed with specified boxes shall be permitted. NFPA 70-2023, pp. 70-195, 70-196 and 70-199.
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 edition | Section | Printed page |
|---|---|---|
| NEC 2023 | Table 314.16(A) | 70-196 |
| NEC 2023 | 314.16(B)(1) | 70-195 |
| NEC 2023 | 314.16(B)(2) | 70-195 |
| NEC 2023 | 314.24(B)(3) | 70-199 |
314.16 is a VOLUME rule, and this tool computes that and 314.24(B)(3)'s depth where a device is entered with an 8 or 6 AWG conductor entered. It does not check 314.24(C)'s clearances for side-wiring entrances, the 150 mm (6 in.) of free conductor NEC 300.14 requires at each outlet, whether the device yoke and the wirenuts physically clear the box, how the cable clamps take up the corners, or the depth of the ring you are mounting to. A box can pass every line of this arithmetic and still be a difficult make-up, which is why the ranking reports what each box leaves you and what happens when the next device goes in rather than printing a pass. Your AHJ has the final say.
The full receipt, with every source and how each is cross-checked, is on the interactive Box Size for Wires.
Ask your assistant
The one rule that makes it reliable: name Intry in your question. That is what tells Claude to run the box_size_for_wires tool and answer from the tool's own result, with its source where it has one. Leave Intry out and Claude may just guess from memory, which is exactly what you are trying to avoid. Type something like:
Inputs
Swipe the table sideways to see the rest of its columns. →
| Field | Required | Accepts | Range | What it is |
|---|---|---|---|---|
| s1 | yes | 18, 16, 14, 12, 10, 8, 6 | The main conductor size, an AWG size Table 314.16(B)(1) prints, as the page's menu lists it. Values: 18, 16, 14, 12, 10, 8, 6. Required. | |
| n1 | yes | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60 | How many conductors of the main size (s1). A whole number from 0 to 60, written as text as the page's link carries it. Required. | |
| s2 | yes | 18, 16, 14, 12, 10, 8, 6 | A second conductor size (a switch leg, a travellers pair), as the page's menu lists it. Values: 18, 16, 14, 12, 10, 8, 6. Required (the page's link always carries it; with n2 0 it moves nothing). | |
| n2 | yes | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60 | How many conductors of the second size (s2); 0 where there is none. A whole number from 0 to 60, written as text as the page's link carries it. Required. | |
| dy | yes | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 | Devices (yokes or straps: switches, receptacles); a device wider than a single 2 in. device box counts as one for each gang it needs (314.16(B)(4)). A whole number from 0 to 10, written as text as the page's link carries it. Required. | |
| egc | yes | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 | Equipment grounding conductors (one allowance for up to four, a quarter for each after, 314.16(B)(5)). A whole number from 0 to 20, written as text as the page's link carries it. Required. | |
| ic | yes | 0, 1, true, false | Internal cable clamps in the box (one allowance for all of them, 314.16(B)(2)). Required; true and false are taken as "1" and "0". Values: 1 = yes; 0 = no. | |
| tb | yes | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 | Terminal blocks (one allowance each, 314.16(B)(6)). A whole number from 0 to 10, written as text as the page's link carries it. Required. | |
| stud | yes | 0, 1, true, false | A luminaire stud in the box (one allowance, 314.16(B)(3)). Required; true and false are taken as "1" and "0". Values: 1 = yes; 0 = no. | |
| hky | yes | 0, 1, true, false | A hickey in the box (one allowance, 314.16(B)(3)). Required; true and false are taken as "1" and "0". Values: 1 = yes; 0 = no. |
Add Intry to your AI
One address and your assistant can run this tool and the other tools on Intry's MCP server. On Claude, the button below fills it in; once added, the Claude phone app runs it too.
- Claude opens with the Intry connector already filled in. Click Continue, review the settings and click Continue again, choose No sign in under Authentication, and click Add.
- (If a field is blank, paste the link below into the URL field.)
- 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/mcpNo login on our end and no API key, on every Claude plan. Once added, the Claude phone app runs it too.
Using another AI app?
Each one takes the same address, https://www.intrysys.com/api/mcp. Pick yours for its steps.
- ChatGPTChatGPT on the web only, on a Plus, Pro, Business, Enterprise or Edu plan.Set up ChatGPT
- GeminiThe Gemini web app in English, signed in with a personal Google Account, for people 18 or over in the US with History on. The Gemini phone app then runs it too.Set up Gemini
- GrokGrok on the web, at grok.com/connectors.Set up Grok
- PerplexityPerplexity on the web, or in its Mac app, under Plugins.Set up Perplexity
- Meta MuseMuse, which connects to Intry itself from its own cloud computer when you give it the address.Set up Meta Muse
- Your own agent or codeClaude Code, Cursor, Windsurf, VS Code and Claude Desktop, and any client that takes an MCP server.Developer setup
Each answer it can compute 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 each release ships, on the exact code that ships, for the cases the checks cover, not for every input you can enter.