Skip to main content
Glama

Electrician Calc: NEC & IEC wire calculator

Server Details

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

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
andronaft/electrician-calc-mcp
GitHub Stars
0
Server Listing
electrician-calc-mcp
ChatGPT
–
Claude
–

TDQS

A4/5.0

Scored across 5 tools

Disambiguation4/5

Each tool has a distinct core: box fill, conduit fill, voltage drop, unit conversion, and load-based wire sizing. The one blurry boundary is between calculate_voltage_drop and size_wire_for_load, since both can return a 'smallest wire size' recommendation; the descriptions do differentiate them via ampacity/breaker sizing versus pure drop, but an agent could still pick the wrong one for a sizing question.

Naming Consistency5/5

All names follow a verb_noun snake_case pattern: calculate_box_fill, calculate_conduit_fill, calculate_voltage_drop, convert_wire_size, size_wire_for_load. The varied verbs (calculate/convert/size) are semantically appropriate rather than inconsistent.

Tool Count5/5

Five tools is well-scoped for a code-calculation server and each maps to a real, non-redundant task. Nothing feels padded or missing at the count level.

Completeness4/5

The surface covers the major NEC/IEC wire and raceway calculations (fill, drop, ampacity sizing, unit/equivalency conversion) without dead ends. Gaps exist for adjacent electrician workflows such as panel/service load calculations, pull-box sizing (314.28), and standalone ampacity/derating lookups, but these can be worked around or are outside the stated calculator scope.

Available Tools

5 tools
calculate_box_fillCalculate electrical box fill (NEC 314.16)A
Read-onlyIdempotent
Inspect

NEC 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 2.00 in³, 12 AWG 2.25 in³, 10 AWG 2.50 in³), against the box volume. Says whether it fits, how many more wires fit and the smallest metal box of Table 314.16(A) that holds it.

Inputs: box_volume_in3 (required), insulated_conductors (required), devices, ground_wires, +3 more. Returns: more, steps, passes, warnings, +7 more

calculate_conduit_fillCalculate conduit fill (NEC Chapter 9)A
Read-onlyIdempotent
Inspect

Conduit 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 Table C.1 (e.g. 16 × 12 AWG or 22 × 14 AWG in 3/4" EMT). Mixes sizes (circuit wires plus a ground), says how many more fit and the smallest conduit. Or, for any round cable (IEC practice), fill from the cable's outer diameter and the conduit's inner diameter in mm.

Inputs: conductors, trade_size, cable_count, conduit_type, +2 more. Returns: more, steps, method, passes, +11 more

calculate_voltage_dropCalculate voltage drop (NEC or IEC)A
Read-onlyIdempotent
Inspect

Voltage 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 metres (IEC). Formula of IEC 60364-5-52 Annex G: ΔU = b · (ρ · L / S · cos φ + x · L · sin φ) · I with b = 2 (DC, single phase) or √3 (three phase), x = 0.08 mΩ/m, ρ = 0.0225 Ω·mm²/m copper at operating temperature (IEC) or 1.25 × ρ20 (NEC, the same as the K factor 12.9 Ω·cmil/ft). NEC mode also checks the wire carries the current (Table 310.16 75 °C, 240.4(D)).

Inputs: amps (required), length (required), wire_size (required), volts, +8 more. Returns: more, wire, steps, length, +17 more

convert_wire_sizeConvert wire gauge: AWG, kcmil and mm²; aluminum ↔ copperA
Read-onlyIdempotent
Inspect

AWG 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 back (ρ20 0.028264 vs 0.017241 Ω·mm²/m), rounded up to the next standard size, for the same voltage drop and losses.

Inputs: size (required), conversion (required). Returns: more, note, input, steps, +7 more

size_wire_for_loadSize wire and breaker for a load (NEC 310.16 / IEC 60364)A
Read-onlyIdempotent
Inspect

Wire 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 60364-5-52 current-carrying capacity (Ib ≤ In ≤ Iz) for installation methods A1–E, PVC or XLPE, with temperature (B.52.14) and grouping (B.52.17) factors. Then the wire is upsized until the voltage drop is within the limit, and the result says whether ampacity or voltage drop decided it. Also gives the equipment grounding conductor (NEC 250.122) or protective conductor (IEC 60364-5-54).

Inputs: length (required), kw, amps, volts, +15 more. Returns: more, basis, steps, method, +19 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides electrical pricing, cable sizing, and profitability analysis tools for construction estimating, integrating with Claude to answer pricing queries based on a US-market-calibrated price list and NEC standards.
      5
      -
    • A
      license
      A
      quality
      D
      maintenance
      Enables users to search generator guidance, check connector and receptacle compatibility, and calculate cord sizing based on distance and voltage drop.
      3
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides professional-grade data center engineering calculations including cooling, power, GPU thermal optimization, UPS/battery sizing, tier classification, and commissioning workflows, compliant with ASHRAE and Uptime Institute standards.
      8
      64 npm
      1
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Provides deterministic, standards-based calculations for data center critical power infrastructure. Enables site selection, generator sizing, UPS sizing, NFPA 110 compliance, and more via 50+ AI agents and 8 compound chains.
      -
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.