API & MCP
Everything a person can do on Ohmforge, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
GET https://ohmforge.usefulweb.site/api/v1/tools– catalogGET https://ohmforge.usefulweb.site/api/v1/tools/{id}– inputs, output schema, examplesPOST https://ohmforge.usefulweb.site/api/v1/tools/{id}/calculate– run a toolGET https://ohmforge.usefulweb.site/api/v1/workflows·POST https://ohmforge.usefulweb.site/api/v1/workflows/{id}/run- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Tools on Ohmforge
- Ohmforge DC Operating Point – SPICE netlist in, node voltages, branch currents, power and overload warnings out.
ohmforge_dc_operating_point - Ohmforge Transient Simulation – Simulate a circuit over time: waveforms, Vpp/RMS/frequency, CSV and a chart.
ohmforge_transient - Ohmforge AC Sweep (Bode plot) – Frequency response of a circuit: Bode magnitude/phase, −3 dB corner and unity gain.
ohmforge_ac_sweep - Ohmforge LED Resistor Calculator – Series resistor for LEDs, rounded to a standard value and checked with a real diode model.
ohmforge_led_resistor - Schematic Connectivity Review – Find common schematic connection issues
ohmforge_connectivity_review - Schematic Output Conflict Review – Find classified outputs sharing a schematic net
ohmforge_output_conflict_review - Schematic Input and Ground Review – Review inputs without catalogued outputs and outputs connected to ground
ohmforge_input_ground_review - Resistor Color Code – Decode and encode resistor bands
ohmforge_resistor_color_code - Capacitor Code – Decode and encode capacitor value codes
ohmforge_capacitor_code - PCB Trace Estimator – Estimate trace width or current capacity
ohmforge_pcb_trace_estimator - PCB Via Estimator – Estimate plated via resistance and power loss
ohmforge_pcb_via_estimator - Battery Power Budget Planner – Estimate average current and battery runtime from duty cycles.
ohmforge_power_budget - Resistor Tolerance Analysis – Sample resistor tolerances and inspect the spread of a DC node voltage.
ohmforge_component_tolerance - Ohmforge Voltage Divider Calculator – Solve Vout, Vin, R1 or R2 of a divider, with load, power per resistor and E-series pairs.
ohmforge_voltage_divider - Ohmforge Passive Filter Designer – RC, RL and RLC low/high/band-pass filters: cutoff, Q, bandwidth, Bode plot, E-series parts.
ohmforge_filter_designer - Ohmforge Impedance Calculator – Complex impedance of R, L, C series/parallel networks: |Z|, phase, admittance, resonance.
ohmforge_impedance_calculator - Ohmforge Resistor Network Calculator – Series/parallel resistor networks: total resistance, power per part, best E-series combinations.
ohmforge_resistor_network - Ohmforge Truth Table & Logic Minimiser – Boolean expression or minterms → truth table, minimal SOP/POS, Karnaugh map and a gate circuit.
ohmforge_truth_table - Ohmforge Oscilloscope Capture Analyzer – Scope CSV or WAV in: Vpp, RMS, frequency, duty, rise time, FFT, THD and SNR out.
ohmforge_capture_analyzer - Ohmforge UART, I²C and SPI Protocol Decoder – Decode UART (auto baud), I²C and SPI from logic-analyzer or scope CSV captures.
ohmforge_protocol_decoder - Ohmforge RF Calculator: Antenna, Link Budget & VSWR – Dipole and quarter-wave lengths, free-space path loss and link margin, VSWR ↔ return loss.
ohmforge_rf_calculator - Ohmforge Microstrip & Stripline Impedance Calculator – PCB trace impedance Z0, εeff and delay (Hammerstad–Jensen, Wheeler), or the width for 50 Ω.
ohmforge_microstrip_impedance - Ohmforge L-Network Impedance Matching (Smith Chart) – Match a load to 50 Ω with two parts: every L-network solution, part values, Q and a Smith chart.
ohmforge_impedance_matching - Ohmforge Wire Gauge, Voltage Drop & Harness Calculator – Wire size from current, length and voltage drop; AWG ↔ mm²; harness cut list, BOM and netlist check.
ohmforge_wire_gauge - Ohmforge Microcontroller Timing Calculator – UART baud error (UBRR, BRR), timer prescalers, PWM resolution, ADC LSB/ENOB and RC delays.
ohmforge_mcu_timing - Ohmforge Logic Simulator (VCD) – Gate-level netlist + stimuli → event-driven waveforms, timing diagram, VCD and truth table.
ohmforge_logic_simulator - Ohmforge PCB Enclosure Generator (STL) – Board outline, holes, parts and connectors in – a verified, printable base and lid STL out.
ohmforge_enclosure_generator - Ohmforge Thermal Calculator: Junction, Heatsink, Board Map, Fan & Duct – Junction temperature, heatsink size, PCB temperature map, fan operating point and duct losses.
ohmforge_thermal_calculator - Ohmforge Serial Log to Capture – Paste a serial monitor log: numbers become channels with frequency, Vpp, RMS and rise time.
ohmforge_serial_log_to_capture - Ohmforge Gerber & Drill Viewer with DRC-lite – Gerber X2 and Excellon files in – board render, drill table, trace and clearance checks out.
ohmforge_gerber_viewer - KiCad Netlist Exporter – Turn an Ohmforge schematic into a KiCad netlist (.net)
ohmforge_kicad_netlist - Schematic Electrical Rules Check (Typed Pins) – Check pin types on every net: output conflicts, undriven inputs, unpowered supply pins
ohmforge_pin_erc - KiCad Netlist Importer – Turn a KiCad netlist (.net) into an Ohmforge schematic you can simulate
ohmforge_kicad_netlist_import
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://ohmforge.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
ohmforge_dc_operating_point,ohmforge_transient,ohmforge_ac_sweep,ohmforge_led_resistor,ohmforge_connectivity_review,ohmforge_output_conflict_review,ohmforge_input_ground_review,ohmforge_resistor_color_code,ohmforge_capacitor_code,ohmforge_pcb_trace_estimator,ohmforge_pcb_via_estimator,ohmforge_power_budget,ohmforge_component_tolerance,ohmforge_voltage_divider,ohmforge_filter_designer,ohmforge_impedance_calculator,ohmforge_resistor_network,ohmforge_truth_table,ohmforge_capture_analyzer,ohmforge_protocol_decoder,ohmforge_rf_calculator,ohmforge_microstrip_impedance,ohmforge_impedance_matching,ohmforge_wire_gauge,ohmforge_mcu_timing,ohmforge_logic_simulator,ohmforge_enclosure_generator,ohmforge_thermal_calculator,ohmforge_serial_log_to_capture,ohmforge_gerber_viewer,ohmforge_kicad_netlist,ohmforge_pin_erc,ohmforge_kicad_netlist_import - Local stdio connector:
node src/mcp-stdio.ts
{
"mcpServers": {
"usefulweb": { "type": "http", "url": "https://ohmforge.usefulweb.site/mcp" }
}
}