sigrok-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@sigrok-mcp-serverdecode the I2C traffic from logic capture file"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
sigrok-mcp-server
A Model Context Protocol (MCP) server for sigrok — enables AI agents like Claude Code, Codex, and Cursor to capture, decode, and analyze signals from logic analyzers and measurement devices. Supports I2C, SPI, UART, CAN, and 100+ protocols via sigrok-cli.
Documentation | Getting Started
Tools
Tool | Description |
| List all supported hardware drivers |
| List all supported protocol decoders |
| List all supported input file formats |
| List all supported output file formats |
| Show detailed info about a protocol decoder (options, channels, documentation) |
| Show detailed info about a hardware driver (functions, scan options, devices) |
| Show sigrok-cli and library version information |
| Scan for connected hardware devices |
| Capture communication data from a device and save to file |
| Decode protocol data from a captured file using protocol decoders |
| Check firmware file availability in sigrok firmware directories |
Related MCP server: Logic Analyzer AI MCP
Quickstart
Docker
docker pull ghcr.io/kenosinc/sigrok-mcp-server
docker run -i ghcr.io/kenosinc/sigrok-mcp-serverFrom source
Requires Go 1.25+ and sigrok-cli installed on your system.
go build -o sigrok-mcp-server ./cmd/sigrok-mcp-server
./sigrok-mcp-serverThe server communicates over stdio (stdin/stdout JSON-RPC).
Configuration
Configuration is via environment variables:
Variable | Default | Description |
|
| Path to the sigrok-cli binary |
|
| Command execution timeout in seconds |
| (empty) | Working directory for sigrok-cli execution |
MCP Client Configuration
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"sigrok": {
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/kenosinc/sigrok-mcp-server"]
}
}
}To access USB devices from the container:
{
"mcpServers": {
"sigrok": {
"command": "docker",
"args": ["run", "-i", "--rm", "--privileged", "ghcr.io/kenosinc/sigrok-mcp-server"]
}
}
}To also provide firmware files for devices that require them (e.g. Kingst LA2016):
{
"mcpServers": {
"sigrok": {
"command": "docker",
"args": [
"run", "-i", "--rm", "--privileged",
"-v", "/path/to/sigrok-firmware:/usr/local/share/sigrok-firmware:ro",
"ghcr.io/kenosinc/sigrok-mcp-server"
]
}
}
}Claude Code
claude mcp add sigrok -- docker run -i --rm ghcr.io/kenosinc/sigrok-mcp-serverWith USB access and firmware:
claude mcp add sigrok -- docker run -i --rm --privileged -v /path/to/sigrok-firmware:/usr/local/share/sigrok-firmware:ro ghcr.io/kenosinc/sigrok-mcp-serverFirmware
Some hardware drivers require firmware files that cannot be bundled with this server due to licensing restrictions. The server works without firmware for devices that don't need it (e.g. demo, protocol-only analysis). For devices that require firmware (e.g. Kingst LA2016, Saleae Logic16), mount your firmware directory into the container at /usr/local/share/sigrok-firmware.
Use the check_firmware_status tool to verify firmware availability and diagnose device detection issues.
See the sigrok wiki for firmware extraction instructions for your device.
Architecture
MCP Client (LLM)
| stdio (JSON-RPC)
v
sigrok-mcp-server (Go)
| exec.Command
v
sigrok-cli
|
v
libsigrok / libsigrokdecodeTransport: stdio (stdin/stdout JSON-RPC)
No C bindings: sigrok-cli is the sole interface to sigrok
Capture & decode:
capture_dataacquires data from devices; all other tools are read-only queriesStructured output: Raw sigrok-cli text output is parsed into JSON
Workflow Example
A typical signal analysis workflow using Claude:
scan_devices— Discover connected hardwareshow_driver_details— Check driver capabilitiescapture_data— Capture communication data to filedecode_protocol— Decode captured data with protocol decodersClaude analyzes the decoded output and explains the communication
Development
# Build
go build ./...
# Test
go test ./... -race
# Lint
golangci-lint run ./...Project Structure
cmd/sigrok-mcp-server/ Entry point
internal/
config/ Environment-based configuration
sigrok/
executor.go sigrok-cli command execution with timeout
parser.go Output parsing (list, decoder, driver, version, scan)
testdata/ Real sigrok-cli output fixtures
tools/
tools.go MCP tool definitions and registration
handlers.go Tool handler implementationsLicense
MIT (Kenos, Inc.)
This server cannot be deployed
Maintenance
Related MCP Connectors
PDF, image, video, OCR, screenshot, SQL, QR and text tools for agents. No API key, no signup.
SEO & marketing toolkit for AI agents: GA4, Search Console, AdSense, GTM, PageSpeed, Trends.
Direct access to 60+ scraping and search tools. Extract structured data from Google (Search, Maps, Trends), Amazon, Airbnb, Social Media, and any web page directly into your AI agent.
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables 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.245-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control Saleae Logic analyzers, capture and analyze digital/analog signals, and export data via MCP.MIT
- AlicenseNot gradedqualityBmaintenanceAI-driven USB logic analyzer control via FastMCP. Captures digital traces, decodes UART/I2C/SPI, and exports VCD for PulseView, supporting sigrok hardware and built-in simulator.2MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to communicate with UART/serial devices, offering tools for port management, data read/write, and protocol handling.MIT