API & MCP
Everything a person can do on Ohmforge L-Network Impedance Matching (Smith Chart), a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://ohmforgeimpedancematching.usefulweb.site/api/v1/calculate– run Ohmforge L-Network Impedance Matching (Smith Chart)GET https://ohmforgeimpedancematching.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Ohmforge L-Network Impedance Matching (Smith Chart)
Enter a load impedance R + jX, the source or line impedance and the frequency. The tool returns every lossless two-element L-network that matches them — shunt-first and series-first, with inductor and capacitor values — the nodal Q, the VSWR ≤ 2 bandwidth and a Smith chart that shows each match path from the load to the centre. Each solution is verified by evaluating the network's input impedance.
| Field | Type | Default | Description |
|---|---|---|---|
loadR | number | 200 | Load resistance R |
loadX | number | -100 | Load reactance X. Positive = inductive, negative = capacitive. |
z0 | number | 100 | Source / line impedance Z0. Real impedance to match to, usually 50 Ω. |
frequencyMHz | number | 500 | Frequency |
Example request
Pozar example 5.1: 200 − j100 Ω to 100 Ω at 500 MHz
curl -X POST https://ohmforgeimpedancematching.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"loadR":200,"loadX":-100,"z0":100,"frequencyMHz":500}'
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://ohmforgeimpedancematching.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
ohmforge_impedance_matching - Local stdio connector:
node src/mcp-stdio.ts --tool=ohmforge-impedance-matching
{
"mcpServers": {
"ohmforge-impedance-matching": { "type": "http", "url": "https://ohmforgeimpedancematching.usefulweb.site/mcp" }
}
}