API & MCP
Everything a person can do on Ohmforge Passive Filter Designer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://ohmforgefilterdesigner.usefulweb.site/api/v1/calculate– run Ohmforge Passive Filter DesignerGET https://ohmforgefilterdesigner.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Ohmforge Passive Filter Designer
Analyses or designs passive filters: first-order RC and RL low- and high-pass, the two-stage RC ladder and series RLC low-pass, high-pass, band-pass and notch. Gives the cutoff or centre frequency, Q, bandwidth and exact −3 dB points (also with a load), Bode magnitude and phase from the transfer function, suggested standard parts – and checks the curve against Ohmforge's AC simulator.
| Field | Type | Default | Description |
|---|---|---|---|
topology | select (rc-lowpass, rc-highpass, rl-lowpass, rl-highpass, rc2-lowpass, rc2-highpass, rlc-lowpass, rlc-highpass, rlc-bandpass, rlc-bandstop) | "rc-lowpass" | Filter |
mode | select (analyze, design) | "analyze" | Task |
r | text | "1k" | R / R1. Analyse: the resistor (first resistor of the RC ladder). Engineering notation: 1k, 4k7. |
l | text | "10m" | L. Inductance for RL and RLC filters, e.g. 10m = 10 mH. |
c | text | "100n" | C / C1. Capacitance, e.g. 100n = 100 nF. |
r2 | text | "10k" | R2 (RC ladder only) |
c2 | text | "10n" | C2 (RC ladder only) |
frequency | number | 1000 | Target frequency (design). Cutoff (−3 dB) for first-order filters and the RC ladder, centre/resonant frequency f0 for RLC. |
q | number | 0.7071 | Quality factor Q (design, RLC). 0.7071 gives the flattest (Butterworth) low/high-pass; higher Q = narrower band-pass/notch. |
anchor | text | "100n" | Part you choose (design). Design keeps this value and computes the rest: the capacitor for RC, RC ladder and RLC filters, the resistor for RL filters. |
rload | text | — | Load resistance (optional). Resistance across the output; changes the −3 dB points. Empty = unloaded. |
series | select (E6, E12, E24, E48, E96, E192) | "E24" | Standard resistor series. Resistors are rounded to this series; capacitors and inductors to E12. |
Example request
RC low-pass 1 kΩ / 100 nF
curl -X POST https://ohmforgefilterdesigner.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"topology":"rc-lowpass","mode":"analyze","r":"1k","c":"100n"}'
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://ohmforgefilterdesigner.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
ohmforge_filter_designer - Local stdio connector:
node src/mcp-stdio.ts --tool=ohmforge-filter-designer
{
"mcpServers": {
"ohmforge-filter-designer": { "type": "http", "url": "https://ohmforgefilterdesigner.usefulweb.site/mcp" }
}
}