Skip to main content
MCP server CX Codex

Rigol Oscilloscope — Claude Code MCP server: what it does and setup

Controls Rigol oscilloscopes over SCPI via USB or LAN. Allows agents to adjust timebases, capture calibrated waveforms, read voltages and take screenshots.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env LABMCP_ADDRESS=<LABMCP_ADDRESS> --env LABMCP_SIMULATE=<LABMCP_SIMULATE> --env LABMCP_READ_ONLY=<LABMCP_READ_ONLY> --env LABMCP_LIMITS=<LABMCP_LIMITS> --transport stdio rigol-oscilloscope -- uvx labmcp-rigol-scope
Open on GitHub

What Rigol Oscilloscope does

This server connects coding agents directly to Rigol hardware, covering DS1000Z, MSO5000, DHO800, and DHO1000 series instruments. An agent can configure vertical channel scales, set edge triggers, trigger single-shot acquisitions, and read hardware measurements like frequency or peak-to-peak voltage. Waveform traces can be sampled and saved to CSV, while scope displays are captured as PNG or BMP images.

Communication runs over USB-TMC or local networks using VXI-11 and raw TCP sockets. For USB links on Linux and macOS, the host system requires libusb so the underlying PyVISA backend can identify the instrument. Windows setups rely on NI-VISA instead.

You can test workflows without physical hardware by launching the built-in emulator via --simulate. Setting --read-only restricts the agent to observation tools, safeguarding your physical bench setup from unexpected trigger or scale overwrites.

What it helps with

  • extract waveform data from an analog channel into CSV
  • adjust vertical scale, timebase, and edge trigger parameters
  • capture an oscilloscope screen image for visual inspection
  • automate peak-to-peak and frequency voltage readings

Example prompts for the agent

  • Capture a screenshot from the oscilloscope and report the current channel scales.
  • Arm a single acquisition on channel 1 and export the waveform data to CSV.
  • Measure the frequency and peak-to-peak voltage on channel 2.

How to install Rigol Oscilloscope

Platform CLI

claude mcp add --env LABMCP_ADDRESS=<LABMCP_ADDRESS> --env LABMCP_SIMULATE=<LABMCP_SIMULATE> --env LABMCP_READ_ONLY=<LABMCP_READ_ONLY> --env LABMCP_LIMITS=<LABMCP_LIMITS> --transport stdio rigol-oscilloscope -- uvx labmcp-rigol-scope

Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from labmcp-rigol-scope <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Rigol Oscilloscope

How do I install Rigol Oscilloscope in Claude Code?

Run claude mcp add labmcp-rigol-scope -- uvx labmcp-rigol-scope. To configure connection parameters upfront via environment variables, run `claude mcp add --env LABMCP_ADDRESS=<LABMCP_ADDRESS> --env LABMCP_SIMULATE=<LABMCP_SIMULATE> --env LABMCP_READ_ONLY=<LABMCP_READ_ONLY> --env LABMCP_LIMITS=<LABMCP_LIMITS> --transport stdio rigol-oscilloscope -- uvx labmcp-rigol-scope`.

What does the Rigol Oscilloscope MCP server do?

It issues SCPI commands to Rigol scopes over network or USB connections. AI agents use it to configure acquisitions, read automated measurements, retrieve waveform traces, and take screenshots.

What prerequisites are needed for USB connections?

The pure-Python VISA backend requires system-level libusb on Linux (apt install libusb-1.0-0) and macOS (brew install libusb). On Windows, NI-VISA must be installed.

Similar MCP servers

All MCP servers for Science and research →

From the same set28

SRS Residual Gas Analyzer This MCP server lets an AI agent inspect SRS residual-gas analyzers, read spectra and pressure, screen gas peaks, and run helium leak checks. CX Codex +1 ★ 23repo stars SRS Lock-in Amplifier Lets an agent drive Stanford Research Systems lock-ins: read X/Y/R/θ, set frequency, phase and sensitivity, run frequency sweeps. CX Codex +1 ★ 23repo stars SiLA 2 Bridge Connects AI agents to laboratory instruments via the SiLA 2 standard over gRPC. Useful for running automated pipetters and plate readers. CX Codex +1 ★ 23repo stars Generic SCPI Instrument Connect an AI agent to SCPI measurement equipment through VISA, TCP, or serial links. Use it to read instrument data or send commands from a chat. CX Codex +1 ★ 23repo stars Pfeiffer Vacuum Gauge Controller Read pressure and gauge status from Pfeiffer TPG controllers, log measurements, and control ionisation gauges. Useful for tracking a pump-down or checking a vacuum setup. CX Codex +1 ★ 23repo stars Opentrons OT-2 / Flex Connects Opentrons Flex and OT-2 liquid-handling robots to AI agents via HTTP API. Uploads protocols, inspects deck layouts, and tracks runs safely. CX Codex +1 ★ 23repo stars Ocean Insight Spectrometer Connect an Ocean Insight spectrometer to an AI agent to capture spectra and measure absorbance or transmittance. A simulator lets you try the server before connecting hardware. CX Codex +1 ★ 23repo stars NI-DAQmx DAQ Devices An MCP server that hands an AI agent control over National Instruments hardware through the NI-DAQmx driver: voltage and thermocouple reads, digital line reads, analog and digital writes. CX Codex +1 ★ 23repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor