Electrician Calc: NEC & IEC wire calculator

io.github.andronaft/electrician-calc-mcp · v0.1.0 · productivity

Electrician Calc: NEC & IEC wire calculator is healthy: it completed an MCP handshake in 2118 ms and exposes 5 tools.

Voltage drop, wire and breaker size (NEC 310.16, IEC 60364), conduit and box fill, AWG to mm².

Endpoint: https://mcp.zhukovskyi.space/electrician-calc/mcp (streamable-http)

Repository · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count5
Latency2118 ms
Last checked (UTC)2026-12-04T05:25:16.409Z

Health history

Checked (UTC)StatusLatencyError
2026-12-04T05:25:16.409ZHealthy2118

Tools (5)

calculate_voltage_dropVoltage drop in volts and percent, the voltage at the load, the power lost in the wire, the smallest wire size that stays within the limit (3 % by default) and the longest run for this wire, for copper or aluminum, DC, single-phase or three-phase, in AWG/kcmil and feet (NEC) or mm² and metre
size_wire_for_loadWire size and breaker size for a load by amps (or kW) and distance: NEC 310.16 ampacity with 310.15(B)(1) ambient correction and 310.15(C)(1) bundling adjustment, 240.4(D) small-conductor limits, 125 % for continuous loads (210.19(A)(1)), 75 °C / 60 °C terminations, NM-B at 60 °C; or IEC 603
calculate_conduit_fillConduit fill percent and how many wires fit: THHN/THWN-2 in EMT or PVC Schedule 40 from NEC Chapter 9 Table 1 (53 % for one wire, 31 % for two, 40 % for three or more), Table 4 (conduit area) and Table 5 (wire area), with Note 7 rounding for wires of one size, so the counts equal Annex C Tab
calculate_box_fillNEC 314.16 box fill: volume allowances (each insulated conductor 1, all internal clamps 1, each fixture stud or hickey 1, each device yoke 2, equipment grounds 1 for up to four plus ¼ for each additional, NEC 2023) times the Table 314.16(B)(1) volume per conductor of the largest wire (14 AWG
convert_wire_sizeAWG to mm² and mm² to AWG (d = 0.127 mm × 92^((36 − n) / 39), A = π/4 · d²), kcmil (MCM) to mm² (1 kcmil = 0.5067 mm²), with the next standard size in the other system (IEC metric sizes 0.5–300 mm², AWG 24 to 4/0 and NEC kcmil). Also the aluminum size equal in resistance to a copper one and