AE5VG

Product · PolyForm Noncommercial

rs-scope-mcp

rs-scope-mcp puts an AI agent on a Rohde & Schwarz RTB2 or RTB2000 oscilloscope. Claude sets up the scope and captures what it measures. Every capture stays on your computer with the setup that produced it, and Claude answers in numbers: frequency and levels, decoded bus traffic, spectra, filter response, pass or fail. You do not need to know any programming or remote commands. You talk to Claude as you would to a colleague at the bench.

Version…
Released…
LicensePolyForm NC
Ships as.mcpb bundle · PyPI

What it does

rs-scope-mcp controls the scope and collects what it measures. It gives Claude the complete remote command set of the RTB2, checked before anything is sent, and task tools that turn a question into the right sequence of settings. Then it collects what the scope measured: samples in volts, logic levels, decoded frames, measurement results and screenshots. All of it lands in a local store. Claude sees a short summary and asks for detail only when your question needs it.

rs-scope-mcp in 15 seconds, no sound. The scope screens are real captures from the RTB2004. The chat card shows a real measurement: 1.20 Hz and 1.216 V peak to peak.

It was built for three kinds of bench work. On the ham-radio bench: transmitter checks through attenuators, AM depth, CW keying shape, harmonics, and filter sweeps. For hardware reverse engineering: find out what unknown pins carry, identify the bus and its rate, and build a census of addresses and commands. For microcontroller and drone development: rails and ripple, power-up sequence, PWM, servos and ESCs, sensor buses, and intermittent faults caught with a mask test and segmented memory.

RTB2004 screen with a UART decoded from the logic probe
A UART decoded from the logic probe. Claude gets the frames as data, with time, status and bytes.
Verified on this bench

Every feature was run on an RTB2004 with firmware 03.000 and every option installed. A 40-check acceptance test drives the installed connector through the same protocol Claude Desktop uses, and all 40 pass. The RTB2 is the rebranded RTB2000, with the same hardware and firmware, so both work. Options your scope does not have are not offered.

Features and benefits

FeatureWhat it gives you
The complete command setAll 962 remote commands the user manual documents, plus 408 command families the firmware reports but the manual does not. Each command is checked before it is sent: a wrong header, an out-of-range value or a command this firmware lacks is refused with a reason.
Bench rules built inFFT, Bode, XY and mask test are exclusive modes; decoders need the right bus type; full memory needs a stopped acquisition. The task tools handle this, so a request does not fail on one of these rules.
Capture once, ask many timesOne call acquires and stores analog channels in volts, logic pods and decoded buses, with the scope's own setup file. Follow-up questions are answered from the store: a window of samples, edge times, frames by filter, read-only SQL across captures.
Bus identificationFrom the edges of unknown logic lines alone, it tells apart I2C, SPI (with the chip select), UART (with the baud rate and polarity) and servo PWM, then sets up the decoder to confirm.
Measurements, spectra, BodeUp to eight automatic measurements as numbers; an FFT that sets the scope's coupled span and resolution for the requested range and reports the peaks; Bode sweeps with the -3 dB points; the envelope of a modulated carrier.
Pass/fail and rare faultsLearn a tolerance mask from a good signal, check it, run thousands of acquisitions, keep only the failures in segmented memory, and step through them one row per failure.
Leaves the scope as it wasA task saves the setup first and restores it at the end, with the generators switched off.
Demo modeThe scope plays the screen from every science-fiction lab scene, using its own generators: a heartbeat, a radar ping, FM sidebands, bus traffic decoded to text. One cable runs the analog show; the logic probe adds the rest.
Four skillsscope-operating, ham-bench, bus-reverse-engineering and embedded-bringup teach Claude the discipline and the procedures for each kind of bench work.

How it works

Claude Desktop rs-scope-mcp local store RTB2 scope MCP · summaries SCPI · LAN 5025
The server runs on your computer, reaches the scope over your network, and keeps the full captures. Claude receives compact summaries.

The scope answers nothing at all to a command it rejects, which leaves an ordinary client waiting for a timeout. rs-scope-mcp adds a check to every query and reads the error queue after every write, so a failure comes back in milliseconds with the scope's own reason. A capture at full memory holds up to 15 million samples per channel. They stay in the local store; Claude reads a summary of a few hundred tokens and drills into the stored data when it needs more.

FFT of an AM signal with carrier and sidebands
AM in the spectrum: carrier and sidebands at +/- 1 kHz.
Bode plot application
Bode plot, 100 Hz to 1 MHz.

Ask it

Connect to the scope and tell me which options are installed. connection: model, firmware, options such as logic probe, decoders, Bode What is the frequency and level on CH1? measure: FREQ, PEAK, RMS as numbers Something is talking on the logic probe. What is it? capture the pod, identify the lines, set up the decoder, read the frames Where is this filter's -3 dB point? bode, after you confirm what the generator is connected to This board resets once an hour. Catch it. mask from the good signal, test, keep failures, step through them with history

Tools

ToolWhat it does
connection / session / setupConnect and list options; group captures by task; show, save and restore the complete setup
captureOne acquisition, harvested and stored: analog channels in volts, logic pods, decoded buses, optionally a screenshot
dataDrill into stored captures: series, edges, envelope, identify, frames, read-only SQL
measure / spectrum / bodeAutomatic measurements; FFT with peaks and noise floor; Bode sweep with -3 dB points
mask / historyLearn and run pass/fail tests; step through segmented memory one row per acquisition
screenshot / demoThe screen as an image; the looping demo show
scpi / scpi_search / scpi_describe / scpi_blockAny command of the full set, validated; search and describe with bench notes; binary transfers

Install

You need the Claude desktop app, and the scope connected to your network through its LAN port (IP Port 5025). The connector links Claude to the scope. The skills teach Claude how to work the bench. The connector does not install the skills, so you add them as well.

  1. On Downloads, click rs-scope-mcp.mcpb and the four skill files. Your browser saves them in your Downloads folder.
  2. In Claude, open Settings → Desktop app, click Manage next to Extensions, and drag rs-scope-mcp.mcpb onto that page. If dragging does not work, click Advanced settings, then Install extension, and choose the file.
  3. Claude shows the connector's settings. Enter the scope's IP address. Leave the port at 5025 and the data folder as it is.
  4. In Claude, open Customize → Skills, click Add, then Upload skill, and choose scope-operating.skill, ham-bench.skill, bus-reverse-engineering.skill and embedded-bringup.skill all at once. Click Upload.

The Field Guide has the details, including the scope's network settings.

For other MCP clients, the server is also on PyPI: run it with uvx rs-scope-mcp and set RS_SCOPE_HOST to the scope's address. The same package installs the rs-scope command for quick checks from a terminal.

Safety

The generators drive real signals

The waveform generator, the pattern generator, Bode sweeps and the demo put signals into whatever is connected. The connector refuses to switch them on without an explicit confirmation, and the skills tell Claude to ask for it only after you have said what is connected. The same applies to resets, file deletion, network settings and setup restores. The inputs are 1 Mohm only; for 50 ohm systems use a feed-through terminator. Never connect a transmitter directly: use a dummy load and attenuators.

License and commercial use

Free for hobbyists. Personal use, amateur radio, education and nonprofit use are free under the PolyForm Noncommercial License 1.0.0.

Commercial use needs a license. Any use by or for a business, including internal use on a company test bench, needs a commercial license. Support for more instruments, test procedures written as skills for your products, integration with your test setup, and support plans are available too. Tell us about your bench at Westlake Professionals.

Documents

An independent project, not affiliated with or endorsed by Rohde & Schwarz. R&S and RTB2000 are trademarks of Rohde & Schwarz GmbH & Co. KG.