LAB GEAR / HM-LB-144
HM-LB-144 · datasheet
tek-scope-mcp
Python control library and local stdio MCP server for the Tektronix TDS 1012C-EDU oscilloscope over USB (USBTMC through PyVISA), with a published map of which programmer-manual queries the scope answers
01 · What it does
- Read the scope identity, full settings (SET?) and the event queue
- Take one immediate measurement on CH1 or CH2
- Read a waveform as statistics plus a CSV path with all 2500 points
- Capture the screen as a PNG image
- Change channel, timebase, edge trigger and acquisition settings, run, stop, single or autoset, each with confirm=true
02 · Install
$ git clone https://github.com/FabioRueda/tek-scope-mcp
$ cd tek-scope-mcp
$ python -m venv .venv
$ pip install -r requirements.txt
$ claude mcp add --scope user tek-scope -- <path to .venv python> <path to server.py>- Read tools were tested by the author on a real TDS 1012C-EDU (firmware v25.11, Windows, NI-VISA); several setters are implemented but not yet run on hardware, per the README
- A blocklist (calibration, *RST, factory reset, SAVe/RECAll, filesystem writes) applies to every tool and cannot be lifted from the server. TEK_SCOPE_READONLY=1 hides the write tools
- One client at a time (lock file). Other models in the same programmer manual (TDS2000C, TDS1000B/2000B, TBS1000) are untested. Not affiliated with Tektronix
03 · Client config (from README)
{ "mcpServers": { "tek-scope": { "command": "<path to .venv python>", "args": ["<path to server.py>"] } } }
Install steps taken from the project README (its recommended path first). Placeholders are the maintainer's. Not bench-tested by HardwareMCP yet.
Weekly bulletin
New hardware MCP servers, notable releases and setup notes. One email, Mondays.