siglent-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
siglent-mcp
Lets Claude use a bench oscilloscope: set it up, trigger, capture, measure and look at the result, over the LAN. It is an MCP server for the Siglent SDS1104X-E (SDS1000X-E series), written in Python.
The scope's own screen | The same acquisition, captured and plotted by siglent-mcp |
|
|
One acquisition of the scope's 1 kHz probe-compensation signal. Left: the screen, read with screenshot. Right: the full 1.4-million-sample record, saved by capture and drawn by plot with the minimum and maximum of every pixel column, so even a one-sample glitch stays visible.
Why
Bringing up a new circuit board means hours at the oscilloscope: set the time base, find a trigger that catches the event, read the numbers, change one thing, repeat. An AI assistant could do much of that loop, but two problems get in the way.
A waveform is too big to read. One capture is 1.4 million samples. Putting that into a language model's context would fill it and tell the model nothing. Here the record never enters the context: it is saved to a file, and Claude gets back measurements, a summary and pictures.
The scope fails silently. The SDS1104X-E reports no SCPI errors. It ignores a command it doesn't like, and firmware R17 sometimes misreads a command outright, with no error at all. So every setting this server writes is read back and compared, and anything that didn't take is reported.
Related MCP server: Rigol DHO824 MCP Server
Where it stands
Works | 19 tools, all tested against a real SDS1104X-E on firmware 8.3.6.1.37R8 and 8.3.6.1.37R17 (December 2026). 173 automated tests run against a simulated scope |
Untested | Other SDS1000X-E models and other firmware versions. The tools may work on them; check the first results against the scope's screen, and please report what you find |
Next | Board bring-up checks ( |
What it does
Look: the scope's full setup, its own measurements with statistics, and its screen as an image
Set up: channels, time base, memory depth and acquire mode, and six trigger types (edge, slew, glitch, interval, runt, dropout)
Capture and measure: save full records, then get edges, frequency, jitter, duty cycle, rise and fall times, overshoot, glitches and delays between channels, all computed on every sample
Watch for rare events: take frame after frame in the background, and keep only the ones that meet a condition (a wrong edge, a voltage out of range, a pulse too narrow or too wide, a frequency out of range)
Save and restore setups: compare the scope with a saved setup, then put back only what differs, with an undo snapshot first
Anything else: raw SCPI queries, and raw commands at the highest permission tier
Every tool is listed in docs/TOOLS.md.
What Claude sees
After capture and analyze on the signal above, Claude gets numbers rather than samples (trimmed):
{
"frequency_hz": 1000.0,
"period_jitter_rms_s": 2e-09,
"duty_cycle_pct": 50.0003,
"levels": { "base_v": 0.0, "top_v": 3.0, "amplitude_v": 3.0 },
"rise_time_10_90_s": { "mean": 9.46667e-07, "min": 9.44e-07, "max": 9.5e-07, "count": 3 },
"fall_time_90_10_s": { "mean": 9.71e-07, "min": 9.64e-07, "max": 9.78e-07, "count": 2 },
"overshoot_pct": 1.33333,
"edges": { "rising": 3, "falling": 2, "first_rising_s": [-0.001000002, 0.0, 0.000999998] }
}The scope's own readout for the same signal was 1.00 kHz and Pk-Pk 3.06 V. Times are seconds from the trigger, and the rising edge at the trigger comes out at exactly t = 0.
How it works
Waveforms stay in files.
capturesaves every channel's raw samples and scaling as a compressed NumPy file, and returns its path and a short summary.analyzeandplotwork from that file.Every write is checked. After each command the server waits for the scope to finish (
*OPC?), reads the setting back and compares it. A refused, clamped or misread value comes back as a plain warning, and a misread is retried once.Permission tiers.
readcan only observe,config(the default) can change settings, andfulladds raw SCPI commands.Safe by default. It connects only to private-LAN addresses, rejects command chaining and control characters, and logs every command to an audit file.
One client at a time. The scope serves a single TCP connection, so the server holds a file lock per scope. A second process gets a clear message naming the process that holds the scope, not a silent hang.
Results say what to doubt. A probe setting that looks wrong, clipped samples, too few samples per period, or a stale frame each add a warning sentence to the result.
More in docs/ARCHITECTURE.md.
Quick start
You need uv, Python 3.11 or later, and the scope on the same LAN subnet as your computer (DHCP or a fixed address in the scope's LAN settings).
git clone https://github.com/mndxc/siglent-mcp.git
claude mcp add --scope user siglent -- uv run --project /path/to/siglent-mcp siglent-mcpThen ask Claude something like "What's on the scope? Capture channel 1 and tell me the rise time." The server finds the scope by scanning the local subnet, or you can set SIGLENT_HOST.
Use --project, not --directory: --project keeps Claude's working directory, so captures are saved in the project you are working on (./scope-captures/). Any other MCP client can start the server the same way, over stdio.
Settings
All optional, as environment variables:
Variable | Default | What it sets |
| scan the local /24 | The scope's address |
|
|
|
|
| Where captures, watches and setups are saved |
|
| The probe setting you normally use; others get a warning. |
|
| The log of every command sent |
|
| The per-scope lock files |
Documentation
Every tool and its arguments, the warnings, and the capture file format | |
How the server is built, and why: modules, write checking, locking, safety, tests | |
What the SDS1104X-E really does over SCPI: errors in its programming guide, a firmware bug, timings. Useful even without this server | |
Running the tests, and the rules a change must keep |
Credits
Design ideas came from other oscilloscope MCP servers; no code was copied.
MagnusJohansson/siglent-sds-mcp (MIT): the set of tools, query-only raw SCPI, input checks on commands, the audit log, and converting the screenshot BMP to PNG
Bruce Perens'
scope_mcpin hams_open: permission tiers, and refusing to read a stale framelfhohmann (
scope_claim): the undo snapshot before a restore, and the per-scope lockmasahiro (
caveats[]): one list of warnings in every resulta PicoScope MCP server: the aliasing warning
License
MIT. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Create RF signal projects from prompts, inspect graphs, and export IQ data.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Let ChatGPT and Claude read and edit files, search and run commands on your own computer.
Shared notes, logs, issues and secrets for Claude, ChatGPT and local models.
Related MCP Servers
- FlicenseAqualityCmaintenanceEnables LLMs like Claude to interact with PicoScope oscilloscopes for signal acquisition, measurement, and analysis. Supports device management, data capture, triggering, and signal generation through natural language commands.249-
- AlicenseNot gradedqualityDmaintenanceEnables control and querying of Rigol DHO824 oscilloscopes, allowing users to capture waveforms, take screenshots, and interact with oscilloscope settings through natural language.7MIT
- FlicenseNot gradedqualityDmaintenanceControl an OWON VDS1022/VDS1022i USB oscilloscope from Claude: configure channels, capture waveforms with images, measure signals, export data, and decode serial protocols.-
- AlicenseAqualityBmaintenanceEnables LLMs to control RIGOL oscilloscopes over SCPI via LAN or USB, including configuring channels/timebase/trigger, taking measurements, capturing waveforms and screenshots, decoding serial protocols, running FFT analysis, and controlling the built-in AFG.64MIT

