API & MCP
Everything a person can do on Ohmforge Impedance Calculator, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://ohmforgeimpedancecalculator.usefulweb.site/api/v1/calculate– run Ohmforge Impedance CalculatorGET https://ohmforgeimpedancecalculator.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Ohmforge Impedance Calculator
Type a small network such as R100 + (L10m || C1u) and a frequency. The calculator returns the complex impedance (R + jX), magnitude and phase, the admittance G + jB, the equivalent inductance or capacitance at that frequency, Q, every resonance of the network, an |Z| and phase plot over frequency and the reactance of each part – checked against Ohmforge's AC simulator.
| Field | Type | Default | Description |
|---|---|---|---|
network | text | "R100 + (L10m || C1u)" | Network. Elements R<value>, L<value>, C<value>; + = series, || (or //) = parallel, parentheses group. || binds tighter than +. |
frequency | number | 1000 | Frequency |
Example request
R100 + (L10m || C1u) at 1 kHz
curl -X POST https://ohmforgeimpedancecalculator.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"network":"R100 + (L10m || C1u)","frequency":1000}'
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://ohmforgeimpedancecalculator.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
ohmforge_impedance_calculator - Local stdio connector:
node src/mcp-stdio.ts --tool=ohmforge-impedance-calculator
{
"mcpServers": {
"ohmforge-impedance-calculator": { "type": "http", "url": "https://ohmforgeimpedancecalculator.usefulweb.site/mcp" }
}
}