io.github.antonpogrebenko-public/rftools

编码与调试

by antonpogrebenko-public

197 RF & electronics calculators for AI agents: microstrip, link budget, filters, power and more.

什么是 io.github.antonpogrebenko-public/rftools

197 RF & electronics calculators for AI agents: microstrip, link budget, filters, power and more.

README

rftools-mcp

npm version License: MIT MCP

MCP server for rftools.io — 213 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. For simulation tools, sign up at rftools.io and generate an API key from your dashboard.

Setup

Without API key — calculators only

All 210 calculators run locally with no sign-up required.

With API key — calculators + simulation tools

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.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{
  "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

bash
claude mcp add rftools-mcp -- npx -y rftools-mcp

To add your API key:

bash
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:

json
{
  "mcpServers": {
    "rftools": {
      "command": "npx",
      "args": ["-y", "rftools-mcp"],
      "env": {
        "RFTOOLS_API_KEY": "rfc_your_key_here"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

json
{
  "mcpServers": {
    "rftools": {
      "command": "npx",
      "args": ["-y", "rftools-mcp"],
      "env": {
        "RFTOOLS_API_KEY": "rfc_your_key_here"
      }
    }
  }
}

Tools

Calculator tools — no API key required

list_calculators

List available calculators, optionally filtered by category.

code
"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

get_calculator_info

Get detailed info about a calculator — inputs with units/defaults, outputs, and the formula used.

code
"What inputs does the microstrip impedance calculator need?"
"Show me the buck converter calculator parameters"

Parameters:

  • slug (required): Calculator identifier (e.g. "microstrip-impedance")

run_calculation

Run a calculator with specific inputs. Returns results with units and a link to the interactive version on rftools.io. Runs locally — instant, no quota consumed.

code
"Calculate microstrip impedance for a 0.3mm trace on 0.2mm Rogers RO4003C"
"What's the link budget for a 2.4 GHz link over 500m?"
"Size a buck converter: 12V in, 3.3V out, 2A"

Parameters:

  • slug (required): Calculator identifier
  • inputs (required): Object with input values, e.g. {"traceWidth": 0.3, "substrateHeight": 0.2}

Simulation tools — API key required

Server-side jobs that are too heavy for in-browser computation. Jobs run on shared compute (free tier) or a priority queue (Pro/API tier). Simulations typically complete in 15–120 seconds; queue wait may add additional time.

Quota: Free: 5 runs/month · Pro: 100/month · API tier: 10,000/month

list_simulation_tools

List all 13 available simulation tools with their jobType identifiers and parameter reference.

code
"What simulation tools are available?"
"Show me the RF simulation tools"

run_simulation

Submit a simulation job and wait for the result. Returns the full result JSON along with a link to the interactive results page on rftools.io.

code
"Synthesize a broadband matching network from 50Ω to 200Ω between 800–1200 MHz"
"Run a Monte Carlo tolerance analysis on a 2nd-order Butterworth low-pass filter at 1 GHz"
"Simulate a 3-element Yagi antenna at 144 MHz"
"Estimate radiated emissions from a 10cm trace carrying 50mA at 100 MHz"
"Run SMPS control loop stability analysis on my buck converter"

Parameters:

  • jobType (required): Job type identifier — use list_simulation_tools to see all valid values
  • params (required): Simulation parameters — use list_simulation_tools to see required params per job type

Available simulation tools:

TooljobType
Broadband Impedance Matching Synthesizerimpedance_match
RF Filter Monte Carlo Tolerance Analysisfilter_monte_carlo
Eye Diagram Generatoreye_diagram
NEC2 Wire Antenna Simulatorantenna_sim
S-Parameter Analysis Pipelinesparam_pipeline
FDTD S-Parameter Simulatorfdtd_sparam
SMPS Control Loop Stability Analyzersmps_control_loop
EMI Radiated Emissions Estimatoremi_radiated
Magnetics Optimizer (NSGA-II)magnetics_optimizer
Radar Detection Probability Calculatorradar_detection
PDN Impedance Analyzerpdn_impedance
Satellite Link Budget (ITU-R)sat_link_budget
RF Cascade Budget with Monte Carlorf_cascade

Example Conversations

PCB Design

You: I need a 50-ohm microstrip on 1.6mm FR4 with 1oz copper. What trace width?

AI: Calls run_calculation with microstrip-impedance → A trace width of ~2.9mm gives you 50.2 Ω on 1.6mm FR4 (εr=4.2). View on rftools.io →

RF Link Budget

You: Will my 100mW 915 MHz LoRa link work at 2km with 3dBi antennas?

AI: Calls run_calculation with rf-link-budget → Received power: -72 dBm. With LoRa sensitivity at -137 dBm, you have 65 dB of link margin. Easily workable. View on rftools.io →

Power Electronics

You: Design a buck converter: 24V input, 5V output, 3A load, 500kHz switching.

AI: Calls run_calculation with buck-converter → Duty cycle: 20.8%, inductor: 17.4 μH, output cap: 22 μF. View on rftools.io →

All 213 Calculators

CategoryCountExamples
RF & Microwave28Microstrip impedance, VSWR/return loss, Smith chart, link budget, noise figure cascade, radar range, free-space path loss, mixer spur
PCB Design13Trace width for current, differential pair, controlled impedance, via calculator, crosstalk, decoupling capacitor
Power Electronics21Buck converter, boost converter, flyback, LDO thermal, battery life, MOSFET dissipation, solar panel sizing
Signal Processing13Filter designer, ADC SNR, FFT bin resolution, PLL loop filter, BER/SNR, Johnson noise
Antenna Design8Dipole, patch, Yagi-Uda, horn, parabolic dish, loop, EIRP, beamwidth
General Electronics23Ohm's law, op-amp gain, 555 timer, BJT bias, MOSFET operating point, Schmitt trigger, crystal load capacitance
Motor Control22DC motor speed, stepper, BLDC, servo, PID tuning, gear ratio, H-bridge selection, torque converter
Communications11UART baud rate, I2C pull-up, SPI timing, CAN bus, USB termination, RS-485, Ethernet, Modbus, LIN bus
EMC/EMI16Shielding effectiveness, EMI filter, ferrite bead, ESD/TVS diode, radiated emission estimate, common-mode choke
Thermal6Heatsink calculator, junction temperature, thermal via array, PCB trace temperature
Sensor Interface17NTC thermistor, RTD, thermocouple, Wheatstone bridge, load cell, photodiode, 4-20 mA loop transmitter
Unit Conversion17dBm↔Watts, frequency↔wavelength, AWG wire, capacitor code, temperature, inductance, data rate
Audio Electronics18Speaker crossover, room modes, headphone power, class-D efficiency, audio transformer, equalizer Q

Why Use This Instead of Asking the AI to Calculate?

LLMs are unreliable at arithmetic. They may:

  • Use simplified formulas that omit corrections (e.g. copper thickness in microstrip)
  • Confuse units (mils vs mm, dBm vs dBW)
  • Accumulate rounding errors
  • Confidently present wrong answers

This MCP server calls the exact same validated calculator code that runs on rftools.io. Hammerstad-Jensen for microstrip, Friis for path loss, exact dB/linear conversions — real engineering formulas, not LLM approximations.

How It Works

Calculators are bundled as pure TypeScript functions — no API calls, no network latency, no rate limits. The AI calls the function directly and gets instant results.

code
AI Agent ←stdio→ rftools-mcp ←direct call→ calculator function

Simulation tools run server-side on rftools.io infrastructure (AWS Lambda + SQS + Fargate). The MCP server submits the job and polls until the result is ready, then returns the full result JSON inline.

code
AI Agent ←stdio→ rftools-mcp ←HTTPS + API key→ rftools.io API → SQS → worker
                                ←poll /jobs/{id}←
                                ←result JSON←

Machine-Readable Documentation

Links

License

MIT

常见问题

io.github.antonpogrebenko-public/rftools 是什么?

197 RF & electronics calculators for AI agents: microstrip, link budget, filters, power and more.

相关 Skills

前端设计

by anthropics

Universal
热门

面向组件、页面、海报和 Web 应用开发,按鲜明视觉方向生成可直接落地的前端代码与高质感 UI,适合做 landing page、Dashboard 或美化现有界面,避开千篇一律的 AI 审美。

想把页面做得既能上线又有设计感,就用前端设计:组件到整站都能产出,难得的是能避开千篇一律的 AI 味。

编码与调试
未扫描165.3k

网页应用测试

by anthropics

Universal
热门

用 Playwright 为本地 Web 应用编写自动化测试,支持启动开发服务器、校验前端交互、排查 UI 异常、抓取截图与浏览器日志,适合调试动态页面和回归验证。

借助 Playwright 一站式验证本地 Web 应用前端功能,调 UI 时还能同步查看日志和截图,定位问题更快。

编码与调试
未扫描165.3k

网页构建器

by anthropics

Universal
热门

面向复杂 claude.ai HTML artifact 开发,快速初始化 React + Tailwind CSS + shadcn/ui 项目并打包为单文件 HTML,适合需要状态管理、路由或多组件交互的页面。

在 claude.ai 里做复杂网页 Artifact 很省心,多组件、状态和路由都能顺手搭起来,React、Tailwind 与 shadcn/ui 组合效率高、成品也更精致。

编码与调试
未扫描165.3k

相关 MCP Server

GitHub

编辑精选

by GitHub

热门

GitHub 是 MCP 官方参考服务器,让 Claude 直接读写你的代码仓库和 Issues。

这个参考服务器解决了开发者想让 AI 安全访问 GitHub 数据的问题,适合需要自动化代码审查或 Issue 管理的团队。但注意它只是参考实现,生产环境得自己加固安全。

编码与调试
89.1k

by Context7

热门

Context7 是实时拉取最新文档和代码示例的智能助手,让你告别过时资料。

它能解决开发者查找文档时信息滞后的问题,特别适合快速上手新库或跟进更新。不过,依赖外部源可能导致偶尔的数据延迟,建议结合官方文档使用。

编码与调试
60.0k

by tldraw

热门

tldraw 是让 AI 助手直接在无限画布上绘图和协作的 MCP 服务器。

这解决了 AI 只能输出文本、无法视觉化协作的痛点——想象让 Claude 帮你画流程图或白板讨论。最适合需要快速原型设计或头脑风暴的开发者。不过,目前它只是个基础连接器,你得自己搭建画布应用才能发挥全部潜力。

编码与调试
49.5k

评论