MCP server for rftools.io — 255 RF & electronics calculators + 13 server-side simulation tools for AI agents.
Give Claude, Cursor, or any MCP-compatible AI assistant access to validated engineering calculators and heavy server-side simulations. Microstrip impedance, link budgets, filter design, converter sizing, antenna patterns, and 200+ more calculators — plus NEC2 antenna simulation, FDTD, Monte Carlo, SMPS analysis, EMI estimation, and more, all callable as MCP tools.
Quick Start
Calculators work with no API key, and so do the simulation tools: without one, a job runs on the free lane. A key raises the limits — sign up at rftools.io and generate one from your dashboard. The one thing a key is required for is a file: uploading a file needs an API key; set RFTOOLS_API_KEY.
Setup
Without API key
All 255 calculators run locally with no sign-up required, and every simulation tool that takes no file still submits — on the free lane, with the free limits and the free-lane parameter bounds stated on the response.
A job type that takes a file is the exception. Uploading a file needs an API key; set RFTOOLS_API_KEY. Without one, a call carrying inputFiles or inputPaths is refused here, with that sentence, before the file is read and before any request leaves this machine.
With API key
Sign up at rftools.io and generate an API key from your dashboard. Free accounts include 5 simulation runs/month. Pro: 100/month. API tier: 10,000/month. A paid key also unlocks the modes the free lane cannot run: the antenna optimiser and the FDTD normal and fine meshes.
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"rftools": {
"command": "npx",
"args": ["-y", "rftools-mcp"],
"env": {
"RFTOOLS_API_KEY": "rfc_your_key_here"
}
}
}
}
Omit the env block to use calculators only. Restart Claude Desktop after saving.
Claude Code
claude mcp add rftools-mcp -- npx -y rftools-mcp
To add your API key:
claude mcp add rftools-mcp -e RFTOOLS_API_KEY=rfc_your_key_here -- npx -y rftools-mcp
Cursor
Add to .cursor/mcp.json in your project:
{
"mcpServers": {
"rftools": {
"command": "npx",
"args": ["-y", "rftools-mcp"],
"env": {
"RFTOOLS_API_KEY": "rfc_your_key_here"
}
}
}
}
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"rftools": {
"command": "npx",
"args": ["-y", "rftools-mcp"],
"env": {
"RFTOOLS_API_KEY": "rfc_your_key_here"
}
}
}
}
Tools
24 tools: six for calculators, one simulate_* tool for each of the 13 job
types, and five for the job lifecycle; plus the site's reference tables as
resources.
What changed in 2.5.7
No tool changed. Results follow rftools.io's trace thermal model (changelog, 2026-10-14):
trace-width-currentgainswidthBoardMmandpcb-trace-tempgainstempRiseBoardandmaxTempBoard: the width and rise for this board, from rftools' own thermal model (never labelled IPC-2152), withinModelRangeand a 15 % margin. New optional inputs:boardThickness,planeDistance,planeCopperWeight(andisExternalonpcb-trace-temp).provenance.validRange.modelslists both fitted models on these two calculators, each with its owninside.- Both calculators refuse a zero or negative current, rise, copper weight or length, as the API does.
What changed in 2.5.6
No tool changed. simulate_emi_radiated's fields now use the exact π·µ₀/c and
µ₀ (once the worker deploys), and calculator results follow the rftools.io
formula follow-up (changelog, 2026-10-13):
- Seven outputs are removed (breaking): differential-via's five
impedances (a field solution showed they depend on the plane pitch, which
is not an input), usb-termination
eyeOpeningand parabolic-dish-antennanoiseTemperature. - Values that do not exist are null (breaking): USB 3.0 rise time, crosstalk above the weak-coupling limit, sealed subwoofer at Qts ≥ 0.707, spiral Q at or above resonance, a lossless LC circuit's Q, a via with no stub; and a refused input returns no values instead of zeros.
- Models corrected: the planar spiral's self-resonance and Q, Paul's two-end crosstalk with a far-end output, Margolis & Small port tuning, coupled-microstrip pcb-crosstalk, Balanis' slot model for the patch, LC Q in parallel mode plus the impedance at resonance, microvia arrays, via self-heating, BGA escape rows, IPC-2222 aspect ratios.
- Exact constants: one η₀ = µ₀·c, η₀/2π in every microstrip impedance (−0.069 %), and IEC 60028 copper.
- New inputs: planar-spiral-inductor
frequency, pcb-crosstalkdielectricConst, aperture-diagonalrouterBit.
What changed in 2.5.5
No tool or argument changed. Calculator inputs and outputs follow the rftools.io input audit (changelog, 2026-10-12):
- Twelve inputs that never changed a result are retired: a call that
still sends one is computed and answered with the warning "Input 'X' is
not read by this calculator and was ignored." (
get_calculator_schemano longer lists them). - Eight inputs now drive new outputs: patch-antenna's feed resistance at
the inset, flyback's primary inductance, solar autonomy, the RS-485 baud
rate against the cable's maximum, the ADC's Nyquist zone and alias,
bldc-thermal's share of the rating, bldc-winding's no-load speed, and the
ISM band. Yagi reports
assumedBoomLength. - Four constant outputs are removed (breaking): balun-transformer
vswrandinsertionLoss, opamp-bandwidthslewLimited, capacitor-codevoltageCode. loop-antenna's gain includes its radiation efficiency (it always read 1.76 dBi); aradiationEfficiencyoutput is added.
What changed in 2.5.4
No tool or name changed. trace-width-current's IPC-2152 width
(width2152mm) is now IPC-2152 Figure 5-1 (the conservative chart, by its
published closed form) instead of IPC-2221 × 0.75/0.85, which erred on the
unsafe side: 5 A at a 10 °C rise in 1 oz copper needs 7.19 mm, not 2.09 mm.
A new optional traceWidth input sets the width that resistance, voltage
drop and power are computed at. pcb-trace-temp adds the Figure 5-1 rise
and maximum temperature (rftools.io changelog, 2026-10-12).
What changed in 2.5.3
No tool, argument or name changed. Twelve calculators now compute the model they cite (rftools.io changelog, 2026-10-12):
mosfet-operating-pointsolves the drain load line (11.96 mA at the defaults, not 450 mA;biasMode1 keeps the entered V_DS);radar-range-equationtakes the range at the required SNR (Albersheim, newpd,pfaandpulsesinputs);cable-shield-effectivenessrefers the shielding to a 50 Ω line;ferrite-beaduses a complex bead model (AN-1368);bldc-motorsolves the loaded speed;ethernet-cableuses TIA-568-C.2 insertion loss at each PHY's signalling frequency (Category 8 on IEEE 802.3bq draft coefficients);bldc-efficiencyandbldc-thermaltake I²·R copper loss, and bldc-thermal's hot resistance (it is null above the runaway current);class-d-efficiencyandmotor-driver-powercount two conducting FETs;coax-impedanceandvia-calculatoruse η₀/2π.
What changed in 2.5.2
No tool, argument or name changed. bldc-winding now counts both coil sides
in each slot (a double-layer winding), so its fill factor is
2·N·A_wire/A_slot and is no longer capped at 100 %. Its distribution factor
comes from the star-of-slots method (12N14P: 0.933, not 0.966), and its
default maximum current is 5 A, a winding that builds (rftools.io
changelog, 2026-10-11).
What changed in 2.5.1
No tool, argument or name changed. Thirty-one calculators that computed
something other than their cited reference now compute it, with the same
numbers as the website and the REST API (rftools.io changelog, 2026-10-07).
Among them: shielding-effectiveness (reflection loss carries η₀, 45.5 dB
was missing; multiple reflections added), ground-plane-impedance (µ₀·h·l/w,
with a new optional separation input, default 1 mm), speaker-crossover
(2nd-order inductors √2·R/ω_c), esd-tvs-diode (IEC 61000-4-2's 3.75 A/kV
first peak), common-mode-choke (a 50 Ω/50 Ω system), minimum-conductor-spacing
(IPC-2221B Table 6-1 by band), radiated-emission-estimate (CISPR 32
Class B at the distance; no margin below 30 MHz or above 6 GHz) and
via-thermal-resistance (IPC-2221 current capacity, new optional tempRise).
What changed in 2.5.0
No tool was added, removed or renamed, and no tool's arguments changed.
- Fourteen new calculators (255 in all), each checked against a cited
textbook, standard or datasheet value:
- antennas:
helical-antenna,monopole-antenna,antenna-downtilt; - RF:
line-of-sight,wilkinson-power-divider,directional-coupler,circular-waveguide,microstrip-mitered-bend,5g-nr-band-lookup(3GPP Release 18 band table) and5g-nr-link-budget; - power:
rc-snubber,rcd-clamp-snubber.
- antennas:
- A new category,
iot("IoT & LPWAN"), holdinglora-link-budgetandble-link-budget.list_calculatorswithcategory: "iot"lists them. - Corrected outputs:
filter-designer: its Chebyshev prototype values were wrong from order 4 (g3 1.5733, now 2.3661), a first-order Butterworth gave g1 = 1 (now 2), and the band-pass element values were ten times too small at Q = 10. The values are now computed, not tabulated.waveguide-cutoff,free-space-path-loss,rf-link-budget,fresnel-zone,link-marginandradar-range-equationuse the exact speed of light, not 3×10⁸. Lengths move by about 0.07 % and path loss by 0.006 dB.radar-range-equationalso uses the exact Boltzmann constant.planar-spiral-inductorrefuses an inner diameter at or above the outer one instead of returning NaN.
What changed in 2.4.0
No existing tool was removed or renamed, and no existing tool's arguments changed: every name and every argument 2.3.0 accepted is accepted the same way.
- New tool:
search_calculators. Finds calculators by words — "trace impedance on FR4 microstrip" — instead of listing all 255. It matches English titles, keywords, input and output names and descriptions, and the German, Spanish, French, Japanese, Korean and Portuguese titles and keywords, so "マイクロストリップ インピーダンス" finds the microstrip calculator too. - New tool:
get_calculator_schema. One calculator's inputs as a JSON Schema (2020-12): each a number with its unit, minimum, maximum, default and description, with the outputs, the formula and its reference, and the page URL. A misspelt identifier is refused with the closest ones. run_calculationlists what it assumed. A newdefaultedInputsfield names every declared input the call left out, which therefore took its default. An undeclared input key is still computed around and named in a warning, in the REST API's wording; it is not refused.- Every tool carries annotations: a
titleandreadOnlyHint,destructiveHint,idempotentHintandopenWorldHint, so a host can tell what it may run without asking (see Annotations below). - Every description says what the tool answers, its inputs' units and
ranges (or which tool states them), one complete example call and what it
returns. The 13
simulate_*descriptions are generated from the website's tool registry, so they change when the tool does. - Reference tables as resources: frequency bands, RF connectors, standard
values, component marking codes and PCB specifications, at
rftools://reference/{domain}/{id}(see Reference resources below). --manifest:npx rftools-mcp --manifestprints what this build lists — tools, resources, templates, counts — as JSON, and exits.run_calculation'swebUrlis now the page's canonical address, with its trailing slash.
Annotations
| Tools | read-only | destructive | idempotent | open world |
|---|---|---|---|---|
list_calculators, search_calculators, get_calculator_info, get_calculator_schema, run_calculation, list_simulation_tools, get_simulation_status, get_simulation_result |
yes | no | yes | no |
solve_calculation, submit_simulation, run_simulation, every simulate_* |
no | no | no | no |
A tool that starts a job or makes a metered call spends the account's monthly allowance, so it is not marked read-only — a host that runs read-only tools without asking would otherwise spend a free account's five runs unprompted — and it is not idempotent, because a repeat spends again (identical job submissions merge only inside 60 seconds). Nothing deletes or overwrites anything, and every tool talks only to rftools.io, so no tool is destructive or open-world.
What changed in 2.2.0
- New tool:
solve_calculation. Finds the value of one calculator input that makes an output equal a target — the trace width for 50 Ω, the gap for 90 Ω — instead of an agent guessing values and callingrun_calculationin a loop. Unlike every other calculator tool, this runs the search server-side on rftools.io and requires an API key and spends one metered call — seesolve_calculationbelow.
What changed in 2.1.0
- Calculator results carry provenance.
run_calculationreturns aprovenanceobject beside the values: the method (calculator:<slug>), the engine (mcp@<version>), the published formula source, the calculator's stated assumptions, the inputs it computed from, whether they lie inside the range the calculator is stated for (and, for a fitted model, its validated range and worst-case error), when it was computed and how long it took. It is the same object the rftools.io API returns. - An input left out takes its default, as on the website and the API; it
used to reach the calculator as undefined. An input the calculator does not
read is named in
warnings, and so is an input outside its stated range — the value is still computed. - A simulation result's
provenanceis returned whole in the default summary. Series are still described rather than listed.
What changed in 2.0.0
- One typed tool per job type. Each of the 13 simulation job types now has
its own
simulate_<jobType>tool (e.g.simulate_impedance_matching) with a real input schema — name, type, unit, range, options and default per parameter — generated from the job type's parameter contract.run_simulationstill exists as a compatibility form that takesjobTypeandparams, but prefer the typed tool: it is the one an agent can read the schema of. - Uploads go through this server, inline (
inputFiles: [{name, content}]) or by path on this machine (inputPaths); a file-input job type needsRFTOOLS_API_KEY— see Files below. submit_simulation/get_simulation_status/get_simulation_resultare the fire-and-forget primitives underneathrun_simulationand the typed tools, for a caller that wants to submit, do other work, and poll later.run_simulationis now bounded bywaitSeconds(default 90, maximum 600): it submits, polls, and if the job has not finished by the bound it returns the job id, status, progress and stage rather than blocking further — the job keeps running, and a laterget_simulation_status/get_simulation_resultcall picks it up.- Results are summarised by default —
summary,warnings,provenance, every scalar value, and long series described by length and extremes rather than listed in full. Passfull: truefor the whole payload. - No defaults are posted. A
simulate_*call sends only the parameters you name; it no longer fills in the contract's defaults itself. Since a sampling job type's random seed is derived from the request body, omitting a parameter and sending it at its default are the same request to the solver but not the same body, and can draw a different sample. SetrandomSeedto pin a run exactly. - Typed errors. Failures are classified by the service's
errorKind, not by matching message text — see When something goes wrong below.
Breaking:
list_simulation_toolsno longer carries a hand-written sentence describing each job type's parameters; it lists them as a plain array of names (params: string[]). Read asimulate_*tool's own input schema for the type, unit, range, options and default of each parameter.- Unknown parameter keys are now refused locally, before any request leaves this machine — the same contract the service validates against, checked here first.
Calculator tools
list_calculators, search_calculators, get_calculator_info,
get_calculator_schema and run_calculation need no API key — they run
locally, for free. solve_calculation is the exception: it runs on rftools.io
itself and needs a key, exactly as run_calculation needs none — see its own
section below.
list_calculators
List available calculators, optionally filtered by category.
"List all RF calculators"
"What antenna calculators are available?"
"Show me power electronics calculators"
Parameters:
category(optional):rf,pcb,power,signal,antenna,general,motor,protocol,emc,thermal,sensor,unit-conversion,audio,iot
search_calculators
Find calculators by words, in English or in any of the site's other six languages, ranked by how well they match.
"Which calculator gives trace impedance on FR4 microstrip?"
"Find a calculator for battery charge time"
Parameters:
query(required): the words to matchcategory(optional): restrict to one category; an unknown one is refused with the listlimit(optional): 1 to 25 results, default 10
Each result carries slug, title, category, a one-line description, the
page url and its score; matched says how many calculators matched in all.
A search that matches nothing is returned as an error saying so, not as an
empty list.
The ranking is deterministic, so the hosted endpoint can reproduce it exactly:
text is NFKC-normalised and lower-cased; Latin text splits into words (accents
folded, one plural s dropped), Japanese and Korean into character bigrams;
each calculator field has a weight (English title 10, translated title 8,
keywords 6, translated keywords 5, input and output names 3, description 2);
a calculator scores the sum over the query's words of its best field weight
times ln(1 + N/df); ties keep registry order. The rules are written out in
src/calculator-search.ts.
get_calculator_info
Get detailed info about a calculator — inputs with units/defaults, outputs, and the formula used.
"What inputs does the microstrip impedance calculator need?"
"Show me the buck converter calculator parameters"
Parameters:
slug(required): Calculator identifier (e.g."microstrip-impedance")
Each input carries its stated min/max (the same bounds run_calculation's
provenance.validRange checks against). An input with neither is unbounded —
solve_calculation needs an explicit range to solve for one of those.
get_calculator_schema
The same inputs as a JSON Schema (draft 2020-12) — what a call to
run_calculation may send — with the outputs, the formula and the page URL.
Parameters:
slug(required): Calculator identifier. A misspelt one is refused, naming the three closest (microstrip-impedence→microstrip-impedance, …).
Returns inputSchema (each property a `n