--- title: mcnanovna description: MCP servers for NanoVNA control and antenna positioner automation template: splash hero: tagline: Give your AI direct control of RF test equipment image: file: ../../assets/hero.svg actions: - text: Get Started link: /getting-started/quickstart/ icon: right-arrow - text: View on Gitea link: https://git.supported.systems/rf/mcnanovna icon: external variant: minimal --- import { Card, CardGrid, Tabs, TabItem } from '@astrojs/starlight/components'; import { Image } from 'astro:assets'; import smithChart from '../../assets/screenshots/smith-chart.png'; import swrTrace from '../../assets/screenshots/swr-trace.png'; import lcMatch from '../../assets/screenshots/measure-lc-match.png'; import multiTrace from '../../assets/screenshots/multi-trace.png'; import nanoVNA from '../../assets/hardware/NanoVNA-H-2.jpg'; ## What is this? Two MCP servers that let AI assistants control RF test equipment: Controls NanoVNA-H vector network analyzers over USB serial. 78 tools for sweeps, calibration, analysis, and 3D radiation patterns. Controls ESP32 dual-axis antenna positioners over WiFi. 5 tools for stepper motor positioning and automated measurement grids. Both servers work together for automated 3D antenna pattern measurement. The AI orchestrates positioning and VNA measurements across the grid. Optional Three.js 3D viewer for radiation patterns. Real-time visualization as measurements are taken. ## What Can It Do? Your AI assistant gains direct access to professional RF measurement capabilities: ## Quick Install ```bash # Add both servers to Claude Code claude mcp add mcnanovna -- uvx mcnanovna claude mcp add mcpositioner -- uvx mcpositioner ``` Then ask Claude to analyze your antenna, measure a filter, or run a 3D pattern sweep. ## Hardware

NanoVNA-H

The NanoVNA-H (or H4) connects via USB serial and is auto-detected. No drivers needed on Linux — just plug in and go.

ESP32 Positioner

Optional dual-axis antenna positioner for automated 3D pattern measurement:

NanoVNA-H vector network analyzer
NanoVNA-H — 50kHz to 1.5GHz VNA
## Example Prompts Once installed, try asking your AI: - *"Connect to my NanoVNA and sweep 7.0-7.3 MHz to check my 40m dipole"* - *"Measure the insertion loss of this BPF from 144-148 MHz"* - *"What's the impedance at the resonant frequency? Suggest an LC match."* - *"Run a 3D radiation pattern sweep at 15° resolution"* - *"Export the S11 data as a Touchstone file"*