eecalc-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@eecalc-mcp How wide should a 3 A trace be on 2 oz copper with a 10 °C rise?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
eecalc-mcp
An MCP server that gives AI assistants exact electronics math.
Ask Claude "how wide should a 3 A trace be on 2 oz copper?" and it will often guess at the IPC-2221 exponents and get it wrong. With this server it calls a tool and gets the exact number. Built on eecalc.
Tools
Tool | What it does |
| Min trace width for a current and temperature rise (IPC-2221) |
| Max current for a trace width (IPC-2221) |
| DC resistance, plus voltage drop and power loss if you give a current |
| Microstrip Z0 (IPC-2141), warns when outside the formula's range |
| Snap to E3–E192 (IEC 60063) |
| Every standard value in a range |
| Best standard resistor pair for Vin → Vout |
| LED resistor, rounded up, with a power rating |
| Cutoff from R and C, or pick standard R and C for a cutoff |
| Resonant frequency and characteristic impedance |
| Xc and Xl at a frequency |
| Series / parallel |
| Any two of V, I, R → all of V, I, R, P |
All tools are read-only and work offline. Numbers can be sent as "4k7", "100n", "2M2".
Related MCP server: Campervan-mcp
Install
Needs uv (or use pip install git+https://github.com/aysel-elsh/eecalc-mcp
and run eecalc-mcp).
Claude Code
claude mcp add eecalc -- uvx --from git+https://github.com/aysel-elsh/eecalc-mcp eecalc-mcpClaude Desktop: add to claude_desktop_config.json
{
"mcpServers": {
"eecalc": {
"command": "uvx",
"args": ["--from", "git+https://github.com/aysel-elsh/eecalc-mcp", "eecalc-mcp"]
}
}
}Cursor / VS Code / others: same command and args in your MCP config.
Try asking
"I need to run 5 A on an inner layer of 1 oz copper with a 20 °C rise. How wide?"
"Pick E96 resistors to divide 12 V down to 3.3 V for an ADC."
"What resistor for three white LEDs in series on 12 V at 15 mA?"
"Give me standard parts for a 2.5 kHz RC low-pass."
Develop
pip install -e ".[test]" && pytestNew tools should wrap a tested function in eecalc. Ideas: stripline, IPC-2152, op-amp gain, 555 timer, battery life, buck converter inductor sizing.
MIT License.
Available Tools
13 toolscombine_componentsBRead-onlyIdempotent
Combine resistors (or inductors) in series or parallel. For capacitors, swap: caps in parallel add.
Inputs: how (required), values (required). Returns: object
design_voltage_dividerBRead-onlyIdempotent
Pick the best pair of standard resistors for a voltage divider (Vout = Vin * Rb / (Rt + Rb)).
Inputs: vin (required), vout (required), r_max, r_min, +1 more. Returns: object
lc_resonanceBRead-onlyIdempotent
Resonant frequency of an LC circuit: f = 1 / (2π√(LC)).
Inputs: c_farad (required), l_henry (required). Returns: object
led_series_resistorBRead-onlyIdempotent
Series resistor for an LED (or a string of LEDs). Rounds up to a standard value and suggests a power rating.
Inputs: supply_v (required), led_forward_v (required), series, led_current_a, +1 more. Returns: object
list_standard_valuesARead-onlyIdempotent
List every standard E-series value in a range, e.g. all E24 values between 1k and 10k.
Inputs: series, max_value, min_value. Returns: object
nearest_standard_valueARead-onlyIdempotent
Snap a resistor/capacitor/inductor value to the nearest standard E-series value (IEC 60063).
E12 is common 10% parts, E24 is 5%, E96 is 1%.
Inputs: value (required), series. Returns: object
ohms_lawARead-onlyIdempotent
Ohm's law and power. Give exactly two of voltage, current, resistance; returns all four (V, I, R, P).
Inputs: current_a, voltage_v, resistance_ohm. Returns: object
pcb_microstrip_impedanceARead-onlyIdempotent
Characteristic impedance of a surface microstrip trace (IPC-2141). FR-4 er is about 4.2-4.6.
Accurate to a few percent for 0.1 < width/height < 2.0.
Inputs: width_mm (required), dielectric_height_mm (required), er, copper_oz. Returns: object
pcb_trace_currentBRead-onlyIdempotent
Maximum current a PCB trace of a given width can carry for a temperature rise (IPC-2221).
Inputs: width_mm (required), layer, copper_oz, temp_rise_c. Returns: object
pcb_trace_resistanceBRead-onlyIdempotent
DC resistance of a copper PCB trace. If current_a is given, also returns voltage drop and power loss.
Inputs: width_mm (required), length_mm (required), temp_c, copper_oz, +1 more. Returns: object
pcb_trace_widthBRead-onlyIdempotent
Minimum PCB trace width to carry a current without exceeding a temperature rise (IPC-2221).
Returns width in mm and mil. Internal layers need roughly 2.6x the width of external ones.
Inputs: current_a (required), layer, copper_oz, temp_rise_c. Returns: object
rc_filterARead-onlyIdempotent
First-order RC filter. Give R and C to get the cutoff frequency and time constant, or give target_cutoff_hz (and optionally C) to pick standard R and C values.
Inputs: r_ohm, c_farad, target_cutoff_hz. Returns: object
reactanceBRead-onlyIdempotent
Reactance of a capacitor and/or inductor at a frequency, in ohms.
Inputs: frequency_hz (required), c_farad, l_henry. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Each tool targets a distinct calculation domain (combining, Ohm's law, PCB traces, E-series values, dividers, LED, RC, LC, reactance). The only real overlap risk is the inverse pair pcb_trace_width vs pcb_trace_current, but their descriptions clearly state opposite directions so an agent can pick correctly.
All names are snake_case, which is good, but the style is split roughly evenly between verb_noun (combine_components, list_standard_values, design_voltage_divider) and bare noun phrases (ohms_law, rc_filter, lc_resonance, reactance, pcb_trace_width). It is readable but not a predictable single convention.
13 tools sits comfortably in the well-scoped 3-15 range, and every tool corresponds to a genuine, commonly needed EE calculation. Nothing looks like filler or a redundant variant.
Core passive-component, Ohm's law, PCB trace, and filter/resonance calculations are all covered with both forward and inverse operations for traces. Minor gaps remain: no wire gauge/ampacity, capacitor/inductor energy or charge-discharge, or dB/unit conversions, but agents can work around these.
Maintenance
Related MCP Connectors
AI-callable calculators and engineering models with real formulas. No hallucinated math.
Verified physics and chemistry calculators for AI agents: search in plain English, run with units.
Design circuits with your AI agent: circuit blocks, simulation, checks and KiCad files.
251Free options calculators and the Optionscanner Learn library for any AI assistant. No account.
Related MCP Servers
- AlicenseAqualityBmaintenanceProvides AI agents with instant, structured access to electronic component datasheets, pinouts, and electrical specifications without requiring PDF uploads. It enables seamless part searching, design validation, and side-by-side component comparisons across major hardware providers.1496 npm14MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI assistants to perform campervan electrical calculations, payload checks, component spec lookups, and semantic search over van build manuals.-
- AlicenseBqualityBmaintenanceEnables AI agents to perform accurate local computations including arbitrary-precision math, date handling, unit conversion, subnet calculations, encoding, hashing, and text analysis, all without network calls or API keys.27MIT
- AlicenseNot gradedqualityCmaintenanceEnables an AI model to turn a described circuit into a checked KiCad schematic and board, calculating and simulating every voltage and current with cited sources, and marking anything unverified rather than guessing.1AGPL 3.0