Lucas Gerads demonstrates MCP servers for oscilloscope and SPICE simulator integration with Claude Code

Lucas Gerads has developed a workflow that integrates Claude Code with hardware development tools through MCP (Model Context Protocol) servers. The setup connects Claude Code to both a LeCroy oscilloscope and a SPICE simulator, creating a feedback loop between simulation and physical hardware verification.
Workflow and Approach
Gerads experimented with using Claude Code for hardware development, initially trying to describe circuits in natural language prompts. He found this approach worked for trivial circuits but became difficult for complex designs. The breakthrough came when he gave Claude Code access to his oscilloscope and SPICE simulator, allowing immediate feedback during development.
Specific Implementation Details
The system includes three main components:
lecroy-mcp: MCP server for LeCroy oscilloscopesspicelib-mcp: MCP server wrapping spicelibrc-filter-demo-files: Demo setup files from the accompanying video
Practical Lessons Learned
Gerads shares several specific implementation guidelines from his experience:
- Oscilloscope integration: Claude doesn't see your physical setup, so don't let it guess what's connected where. Ensure Claude never gets stale measurement data. Don't dump raw data into Claude's context - save it to a file and let Claude interact with it indirectly.
- Microcontroller workflow: Give Claude a pinout/pinmux map explicitly. Prepare a Makefile that exposes functions like build, flash, ping, and erase, and encourage Claude to rely on it. Claude should not construct these commands on the fly.
Use Cases Demonstrated
The setup has proven valuable for:
- Validating SPICE circuits and models
- Embedded programming tasks
- Data analysis automation (particularly time axis normalization and data alignment, which were previously tedious manual processes)
While the demo uses a trivial circuit and MCU to illustrate the approach, Gerads notes that the workflow scales well to more complex circuits and real embedded projects.
📖 Read the full source: HN AI Agents
👀 See Also

Claudebin: Export and Share Your Claude Code Sessions
Claudebin allows you to export entire Claude Code sessions, making them shareable and resumable through a single URL.

ClaudeHive: Web UI for Managing Parallel Claude Code Sessions
ClaudeHive is a web UI that handles parallel Claude Code sessions, allowing users to define prompt templates with placeholders, batch-run them across multiple inputs with configurable concurrency, and review all results in one place. It includes a CLI tool for manager agents to spawn and coordinate worker agents.

molequla: Continual Learning AI Organism Built from Scratch with ClaudeCode
molequla is a continual learning AI organism implemented from scratch in Go, C, JavaScript, and Rust with a Python orchestrator. Each element is a full transformer implementation with vector autograd, trained on raw text, that grows and develops a personality over time.

United States Code Available as Git Repository with Full Change History
The United States Code is available as a Git repository with the entire federal law stored as Markdown files. Each commit represents a point-in-time snapshot from 2013 to present, allowing developers to use git diff, git log, and git blame to track legal changes.