Skip to content

Installation

mcsigrok wraps sigrok-cli, so you need it installed on the host system. The server can start without it (offline mode for browsing decoders), but capture and decode require the binary.

Terminal window
sudo pacman -S sigrok-cli
Terminal window
sudo apt install sigrok-cli
Terminal window
sudo dnf install sigrok-cli
Terminal window
brew install sigrok-cli
Terminal window
sigrok-cli --version

You should see version and driver information. If the command isn’t found, ensure the install location is in your PATH.

Terminal window
pip install mcsigrok

Or with uv:

Terminal window
uv tool install mcsigrok

Register mcsigrok as an MCP server so Claude can access it:

Terminal window
claude mcp add mcsigrok -- uvx mcsigrok

Or if installed via pip:

Terminal window
claude mcp add mcsigrok -- mcsigrok

Start Claude Code and ask it to scan for devices:

> Scan for connected logic analyzers

If no hardware is connected, Claude will report no devices found — that’s expected. The server is working. You can still browse the decoder catalog and use offline mode without hardware.

On Linux, logic analyzers accessed via USB need udev rules so your user can access them without root. Most sigrok-supported devices use the fx2lafw driver (Saleae Logic clones, Cypress FX2-based analyzers).

Create a udev rule:

Terminal window
sudo cp /usr/share/sigrok-cli/udev-rules/*.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger

If your distribution doesn’t ship udev rules with sigrok, download them from the sigrok wiki.

Unplug and re-plug your device after adding rules.