How yoelbassin/gr-mcp works
Marconi is a simulation-first RF toolkit exposed to Claude Code through MCP tools and guided by task-specific skills. The main workflow is to describe a simulated RF scene, register it as a device, capture IQ, analyze or visualize the capture, then build, validate, run, and save a receiver pipeline. The library also supports pipeline export to GNU Radio Companion and closed-loop transmit experiments. The graph combines documented capabilities with relationships visible in sampled sources; unsampled implementation details are not inferred.
Main entry points: tools.py MCP tools · pipeline.py Pipeline runner · devices.py Simulated devices · capture.py IQ capture
Components 24
Claude workflows
- Survey spectrum
skills/survey-spectrum/SKILL.md - Simulate scene
skills/simulate-scene/SKILL.md - Build receiver
skills/build-receiver/SKILL.md - Debug receiver
skills/debug-no-signal/SKILL.md - TX experiment
skills/tx-experiment/SKILL.md - Library escape hatch
skills/escape-hatch/SKILL.md
MCP interface
- MCP server
src/marconi/mcp/server.py - MCP tools
src/marconi/mcp/tools.py - Server state
src/marconi/mcp/state.py
RF operations
- Simulated devices
src/marconi/devices.py - Scene rendering
src/marconi/ops/simulate.py - IQ capture
src/marconi/ops/capture.py - Signal analysis
src/marconi/ops/analyze.py - Signal visualization
src/marconi/ops/render.py - Transmit experiment
src/marconi/ops/transmit.py
DSP execution
- Pipeline runner
src/marconi/ops/pipeline.py - DSP vocabulary
src/marconi/vocabulary.py - GNU Radio backend
src/marconi/backends/gnuradio_backend.py - Domain models
src/marconi/models.py
Project artifacts
- SigMF capture files
src/marconi/sigmf.py - Workspace artifacts
src/marconi/workspace.py - Scene and pipeline specs
src/marconi/specs.py - GNU Radio export
src/marconi/ops/export_grc.py
Other components
- Claude Code user
Connections 33
- Claude Code user → Survey spectrum: requests task
README.md - Claude Code user → Simulate scene: requests task
README.md - Claude Code user → Build receiver: requests task
README.md - Claude Code user → Debug receiver: requests task
README.md - Claude Code user → TX experiment: requests task
README.md - Claude Code user → Library escape hatch: requests task
README.md - Simulate scene → Simulated devices: registers scene
README.md - Survey spectrum → Signal analysis: surveys capture
README.md - Build receiver → Pipeline runner: builds and runs
README.md - Debug receiver → Signal analysis: diagnoses signal
README.md - TX experiment → Transmit experiment: runs experiment
README.md - Library escape hatch → MCP tools: uses library
README.md - MCP server → MCP tools: registers tools
src/marconi/mcp/server.py - MCP server → Server state: initializes state
src/marconi/mcp/server.py - MCP tools → Simulated devices: registers device
src/marconi/mcp/tools.py - MCP tools → IQ capture: captures IQ
src/marconi/mcp/tools.py - MCP tools → Signal analysis: analyzes capture
src/marconi/mcp/tools.py - MCP tools → Pipeline runner: runs pipeline
src/marconi/mcp/tools.py - MCP tools → Signal visualization: renders plots
src/marconi/mcp/tools.py - Pipeline runner → DSP vocabulary: validates against
src/marconi/ops/pipeline.py - Pipeline runner → GNU Radio backend: dispatches run
src/marconi/ops/pipeline.py - Pipeline runner → Scene and pipeline specs: saves pipeline
src/marconi/ops/pipeline.py - Scene rendering → Pipeline runner: runs generated graph
src/marconi/ops/simulate.py - Scene rendering → SigMF capture files: writes capture metadata
src/marconi/ops/simulate.py - Simulated devices → Scene and pipeline specs: persists scene
src/marconi/devices.py - Simulated devices → Workspace artifacts: chooses scene path
src/marconi/devices.py - Server state → Simulated devices: rebuilds registry
src/marconi/mcp/state.py - Server state → Scene and pipeline specs: loads scenes
src/marconi/mcp/state.py - IQ capture → Scene rendering: renders device scene
src/marconi/ops/capture.py - IQ capture → SigMF capture files: writes capture
src/marconi/ops/capture.py - IQ capture → Workspace artifacts: allocates capture path
src/marconi/ops/capture.py - Pipeline runner → Domain models: accepts pipeline spec
src/marconi/ops/pipeline.py - GNU Radio export → Workspace artifacts: writes flowgraph
src/marconi/ops/export_grc.py