Skip to content
MCP server

rigol-mcp MCP Server

MCP server for controlling Rigol oscilloscopes over USB or Ethernet

rigol-mcp scores 46 (Fair), licensed MIT and written in Python. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. GitHub shows 46 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by erebusnzMITPython46 stars
Trust score
46Fair
Trust score 46 of 100, Fair

Fair trust

46 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 46 comes from

0 + 20 + 5 + 10 + 4 + 7 = 46. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity5 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 5 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "erebusnz-rigol-mcp": {      "command": "uvx",      "args": [        "rigol-mcp"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

rigol-mcp

Control a Rigol oscilloscope from Claude, Codex, Cursor, or another Model Context Protocol (MCP) client. You can configure the scope, take measurements, inspect the displayed waveform, and save a triggered acquisition for offline analysis.

Choose how to connect

Your MCP client connects to the rigol-mcp server, and the server connects to the oscilloscope. Choose each connection independently. For example, a laptop can reach a bench computer over HTTPS while that computer reads the scope over USB.

Client to server

You can use a single PC connected directly to your scope, or where you wish to have multiple clients, use a remote shared server (e.g. Raspberry Pi with 1GB RAM) to manage requests.

SetupHow it worksInstructions
Local server (stdio)Your MCP client launches rigol-mcp on the same computer that's connected to the scope.Install the server · Configure your local client
Remote shared server (Streamable HTTP)One server stays running for one or more clients. To use an existing server, configure your client with the server's HTTP or HTTPS /mcp URL and any required token.Connect to an existing server · Host a shared server

Server to scope

If you host rigol-mcp, configure the instrument connection on the server computer.

ConnectionOn the scopeIn the server's settings fileInstructions
Ethernet (LAN)Connect Ethernet and find the scope's IP in its LAN settings.Set RIGOL_USB=0 and RIGOL_IP to the scope's IP address.LAN setup
USBConnect the scope's USB Device port to the server computer.Set RIGOL_USB=1. A single Rigol scope is discovered automatically.USB drivers and scope selection

Installation

Install uv on the computer that will run rigol-mcp. The server requires Python 3.11 or later. The examples select Python 3.13 to use the project's bundled USB backend.

Run a published release

Save your USB or LAN settings in a file such as rigol.env on the server computer. For one USB scope, the file needs just RIGOL_USB=1. Use the file's absolute path when launching the pinned package with uvx.

uvx --python 3.13 --env-file "/absolute/path/to/rigol.env" rigol-mcp@0.1.0 --transport stdio

For a local MCP client, put this command in the client configuration below so the client starts the server itself. If you supply the connection settings in the process environment, you can omit --env-file and its path.

Run from a checkout

git clone https://github.com/erebusnz/rigol-mcp.git
cd rigol-mcp
uv sync --locked

Create a .env file beside pyproject.toml with the settings for your scope connection. You can also copy .env.example, which starts with USB selected. Variables already set in the server process take precedence over the file.

Before starting the server, check the instrument connection from the checkout. The connection example prints the instrument's manufacturer, model, serial number, and firmware, then releases the connection.

uv run python examples/check_connection.py

MCP client setup

The examples below launch a local server over stdio. For a running HTTP or HTTPS server, use the client configurations for connecting by URL.

Replace /absolute/path/to/rigol.env with your settings file. On Windows, forward slashes work in paths such as C:/config/rigol.env. If a desktop client cannot find uvx, use its absolute executable path. To launch from a checkout, use uv as the command and ["--directory", "/absolute/path/to/rigol-mcp", "run", "rigol-mcp", "--transport", "stdio"] as its arguments.

Claude Desktop and Cursor

Both clients accept the following JSON. Merge the rigol entry into mcpServers if you already have other servers configured.

ClientConfiguration file
Claude DesktopOn macOS, ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows, %APPDATA%\Claude\claude_desktop_config.json. Claude Desktop setup
Cursor.cursor/mcp.json in the project, or ~/.cursor/mcp.json for all projects. Cursor MCP guide
{
  "mcpServers": {
    "rigol": {
      "command": "uvx",
      "args": ["--python", "3.13", "--env-file", "/absolute/path/to/rigol.env", "rigol-mcp@0.1.0", "--transport", "stdio"]
    }
  }
}

Restart Claude Desktop after saving. In Cursor, open MCP settings and check that rigol is enabled.

Claude Code

Run this in the project where you want to use the scope, then check the server with /mcp. Claude Code MCP guide

claude mcp add --transport stdio rigol -- uvx --python 3.13 --env-file "/absolute/path/to/rigol.env" rigol-mcp@0.1.0 --transport stdio

Codex

Add this table to ~/.codex/config.toml. You can check the entry with codex mcp list. Codex MCP guide

[mcp_servers.rigol]
command = "uvx"
args = ["--python", "3.13", "--env-file", "/absolute/path/to/rigol.env", "rigol-mcp@0.1.0", "--transport", "stdio"]

From your client, ask “Use idn to identify the scope, then show me which channels are enabled.”

Tools

TaskToolsWhat you can do
Inspect the instrumentidn, get_scope_state, get_acquisition_infoIdentify the scope, read channel and trigger settings, and check acquisition status and available transfer modes.
Control acquisitionrun, stop, single, autoscale, wait_for_triggerRun continuously, freeze the record, arm a single capture, autoscale, or wait for a running scope to report a trigger.
Set channels and timebaseset_channel, set_timebaseSet channel scale, offset, coupling and probe ratio, or change the time per division and horizontal offset.
Configure triggering and acquisitionset_trigger, set_trigger_options, set_acquisitionConfigure the edge trigger, sweep, holdoff and coupling. Choose the acquisition type, average count and memory depth. Capture settings
Take measurementsmeasure, measure_betweenRead voltage, frequency, rise time, and other single-channel measurements, or measure delay and phase between channels.
Displayed waveform (Screen)get_waveformGet a text analysis of one channel. Set return_points=true for its times_s and voltages_v arrays. Older clients can use the raw_data alias.
Acquisition record (Memory)export_acquisitionSave the full stopped record for enabled channels as binary files and a JSON manifest on the server. Acquisition export and Python example
Use cursorsset_cursors, get_cursor_valuesPosition cursors in seconds and read their time and amplitude differences.
Capture the displayscreenshotReturn a PNG image and save it under RIGOL_SCREENSHOT_DIR (default screenshots/).
Manage the connectioncheck_error, disconnectRead the SCPI error queue or release the server's VISA connection. A later tool call can reconnect.
Send a SCPI commandsend_rawEnable this optional tool with RIGOL_ENABLE_SEND_RAW=1 in the server environment.

Supported hardware

Support is selected by exact model name and covers analog channels.

Rigol seriesAnalog channelsSupported operations
DS1000Z / MSO1000Z4Control, measurements, screenshots, displayed waveforms, acquisition information, and full memory export
DHO800 / DHO900 / DHO1000 / DHO1000U / DHO40002 or 4Control, measurements, screenshots, displayed waveforms, acquisition information, and full memory export
MHO900 / MHO984Control, measurements, screenshots, displayed waveforms, and acquisition information
DS2000A / MSO2000A, MHO2000, DHO5000 / MHO5000, MSO/DS90002, 4, 6, or 8Model and channel information only (pending hardware testing)

Find your exact model in the hardware catalog. If you have access to a Rigol scope, we welcome pull requests with hardware test results.

Example prompts

Measure the frequency and peak-to-peak voltage on channel 1. Adjust the timebase until two complete cycles are visible, then describe the waveform.

Channel 1 is the input to an amplifier and channel 2 is the output. Measure the gain in dB.

The rising edge on channel 1 rings. Place the cursors on two adjacent peaks and measure the ringing period.

Oscilloscope trace with cursors on adjacent peaks of a damped oscillation

Testing

Run the offline suite from the checkout. It uses simulated VISA instruments.

uv run --locked --extra test pytest

Maintainers can find the publishing steps in the release guide.

License

MIT

Frequently asked questions

What is rigol-mcp MCP Server?

MCP server for controlling Rigol oscilloscopes over USB or Ethernet

How do I install rigol-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. rigol-mcp MCP Server runs locally from the PyPI package rigol-mcp with the command uvx rigol-mcp.

Is rigol-mcp MCP Server free and open source?

Yes. rigol-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does rigol-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for rigol-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is rigol-mcp MCP Server's trust score calculated?

rigol-mcp MCP Server scores 46 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server