Sigrok MCP server
MCP server exposing sigrok-cli functionality for logic analyzer hardware and protocol decoding
2 stars16 downloads/wk
Reviews
Write oneNobody has reviewed Sigrok yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Sigrok tools (13)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
captureCapture samples from hardware.
capture_for_timeCapture data for specified duration.
list_hardware_driversList available hardware drivers.
list_input_file_formatsList supported input file formats.
list_output_file_formatsList supported output file formats.
list_protocol_decodersList available protocol decoders.
list_supportedList all supported hardware drivers, file formats, and protocol decoders.
load_fileLoad and process input file.
scan_for_devicesScan for detectable hardware devices.
set_configSet driver configuration without acquisition.
show_decoder_docsShow protocol decoder documentation.
show_device_infoShow device information for a driver.
versionGet sigrok-cli version information.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 163 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Sigrok compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 63% of 48,273 servers
- Tools
- 13
- the typical server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 2
- more than 75% of 28,534 servers
- Downloads a week
- 16
- more than 4% of 11,915 servers with a package
What its tools let an agent do: 12 read · 1 change
Install Sigrok in Claude Code, Cursor or VS Code
claude mcp add mcp-sigrok -- uvx mcp-sigrok
What the publisher says
From the Sigrok repository's README, as published. We do not edit it. Read it on GitHub
mcp-sigrok — MCP server for sigrok-cli
MCP server that exposes all functionality of sigrok-cli as MCP tools. sigrok-cli is a cross-platform command-line utility for the sigrok software suite, used for hardware initialization, acquisition, protocol decoding, and saving logic analyzer sessions.
Install
pip install mcp-sigrokRequirements
- sigrok-cli must be installed on the system
Installing sigrok-cli
Debian/Ubuntu:
sudo apt install sigrok-climacOS:
brew install sigrok-cliFrom source:
git clone git://sigrok.org/sigrok-cli
cd sigrok-cli
./autogen.sh
./configure
make
sudo make installUsage
As MCP Server
# Run as stdio MCP server
mcp-sigrokOr configure in your MCP settings:
{
"mcpServers": {
"sigrok": {
"command": "mcp-sigrok"
}
}
}Python API
from mcp_sigrok import (
check_sigrok_cli,
get_version,
list_drivers,
scan_devices,
capture_samples,
load_input_file,
)
# Check if sigrok-cli is available
if cli_path := check_sigrok_cli():
print(f"Found sigrok-cli at: {cli_path}")
# Get version info
info = get_version()
# List available drivers
drivers = list_drivers()
# Scan for devices
devices = scan_devices()
# Capture samples
result = capture_samples("fx2lafw", samples=1000)MCP Tools
Examples
Capture from logic analyzer
# Capture 1000 samples from fx2lafw device
result = capture(
driver="fx2lafw",
samples=1000,
channels="0-7",
output_format="hex"
)Decode I2C protocol
# Load capture file and decode I2C
result = load_file(
input_file="capture.sr",
protocol_decoders="i2c",
output_file="decoded.txt"
)Scan for devices
# Find available devices
devices = scan_for_devices()
for device in devices.get("devices", []):
print(f"Found: {device}")Development
git clone https://github.com/daedalus/mcp-sigrok.git
cd mcp-sigrok
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/mcp-name: io.github.daedalus/mcp-sigrok
Nothing above is checked by us. What we check is on the safety report.
Sigrok: common questions
- Is Sigrok MCP server safe?
- Mostly: it is graded B (82/100). Read the Sigrok safety report
- How do I install Sigrok?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Sigrok need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Sigrok maintained?
- The last commit was 198 days ago (2026-04-17). The latest release is v0.1.0.
- How does Sigrok compare with other MCP servers?
- safety score 82/100 (higher than 63% of 48,273 servers); tools 13 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.