Show HN: SPICE simulation → oscilloscope → verification with Claude Code
by _fizz_buzz_ on 4/17/2026, 12:37:47 AM
I built MCP servers for my oscilloscope and SPICE simulator so Claude Code can close the loop between simulation and real hardware.
https://lucasgerads.com/blog/lecroy-mcp-spice-demo/
Comments
by: iterateoften
Beware. I had Claude code with opus building boards and using spice simulations. It completely hallucinated the capabilities of the board and made some pretty crazy claims like I had just stumbled onto the secret hardware billion dollar project that every home needed.<p>None of the boards worked and I had to just do the project in codex. Opus seemed too busy congratulating itself to realize it produced gibberish.
4/17/2026, 3:13:12 AM
by: dharma1
this kind of thing is super cool to close the loop.<p>waiting for FPAA to get better so we can vibecode analog circuits<p><a href="https://www.eetimes.com/podcasts/making-analog-chip-designs-without-analog-designers/" rel="nofollow">https://www.eetimes.com/podcasts/making-analog-chip-designs-...</a>
4/17/2026, 10:09:57 AM
by: walski
> SPICE (Simulation Program with Integrated Circuit Emphasis) is a general-purpose, open-source analog electronic circuit simulator. [1]<p>1: <a href="https://en.wikipedia.org/wiki/SPICE" rel="nofollow">https://en.wikipedia.org/wiki/SPICE</a>
4/17/2026, 9:03:44 AM
by: Scene_Cast2
I've found that having LLMs work with mermaid diagrams makes describing and modifying circuits less annoying.
4/17/2026, 3:42:16 AM
by: andrewklofas
Hit this exact wall six months back building Claude Code stuff for KiCad review[1]. First pass let Claude read .kicad_sch directly via grep/read. It happily invented pin numbers that didn't exist. Rewrote it with Python analyzers that spit out JSON, now Claude just reads the JSON, problem mostly went away.<p>Curious how spicelib-mcp handles models that aren't in the bundled library. Do you pass the .lib path as a tool arg, or does the server own a registry?<p>[1] <a href="https://github.com/aklofas/kicad-happy" rel="nofollow">https://github.com/aklofas/kicad-happy</a>
4/17/2026, 4:54:08 AM
by: kleene_op
Really nice. My mother is an applied Physics teacher, and she told me they had a hard time at work figuring out how they could connect their teaching material to LLM in a relevant way. This should be useful to her.
4/17/2026, 6:42:40 AM
by: vomayank
Very cool idea closing the loop between simulation and real hardware.<p>Have you found the MCP-driven workflow reliable enough for repeated testing cycles, or does it still need manual verification at key steps?
4/17/2026, 12:44:37 AM
by: Archit3ch
Nice! Doing something similar with a Jumperless so that the model can reconfigure the circuit on the fly.
4/17/2026, 3:06:10 AM
by: hulitu
Measure with a micrometer, mark with a pencil, cut with an axe.
4/17/2026, 5:07:29 AM
by: hexo
Heh, this is like the last thing you need claude for. I mean, you have eyes and brain.
4/17/2026, 8:52:24 AM
by: yashjadhav2102
[dead]
4/17/2026, 10:20:33 AM
by: redoh
[dead]
4/17/2026, 9:49:35 AM
by: alex1sa
[flagged]
4/17/2026, 6:46:50 AM