LAB GEAR / HM-LB-121
HM-LB-121 · datasheet
dslogic-tool
Python driver, CLI and MCP server for DreamSourceLab DSLogic U3Pro32 and U3Pro16 logic analyzers, ported from DSView's own driver, for capture, triggers, SPI/I2C/UART decoding and DSView .dsl files
01 · What it does
- List analyzers and capture with typed rate, channels, threshold and trigger settings
- Decode SPI, I2C and UART and return annotations as data
- Measure frequency, duty, pulses and edge timing over a window
- Render the waveform as an image into the chat
- Convert captures to .dsl, .sr, .vcd, .csv or .npz
02 · Install
$ git clone https://github.com/heng5411/dslogic-mcp && cd dslogic-mcp
$ uv venv --python 3.14 .venv && . .venv/bin/activate
$ uv pip install -e .[mcp]
$ claude mcp add dslogic -- .venv/bin/python -m dslogic mcp- sigrok and PulseView do not support the U3 series; this tool does
- Needs DreamSourceLab's FPGA bitstream from a DSView install, which is not in the repo; close DSView before use
- Linux needs a udev rule for USB vendor 2a0e; Windows needs the WinUSB driver DSView installs
- Set the client's tool timeout (Claude Code: MCP_TOOL_TIMEOUT) above the longest capture
- Repo name dslogic-mcp, package name dslogic-tool. Installed from a clone, no registry package
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.