Simulate circuits
Run .asc schematics and .cir netlists through LTspice. Sweep parameters, vary temperature, run Monte Carlo.
mcltspice is an MCP server that drives LTspice on Linux via Wine. It exposes 37 tools for circuit simulation, waveform extraction, signal analysis, and design automation --- all accessible from Claude Code or any MCP client.
Install prerequisites
You need Wine and an extracted copy of LTspice. Wine runs the LTspice binary in batch mode; no GUI required.
Install mcltspice
uvx mcltspiceOr install from source with uv pip install -e . for development.
Add to your MCP client
claude mcp add mcltspice -- uvx mcltspiceWorks with Claude Code out of the box. Other MCP clients use standard stdio transport.
Run your first simulation
Create a circuit from a template, simulate it, and extract waveforms --- all through tool calls.
Once installed, mcltspice gives your MCP client the ability to:
Simulate circuits
Run .asc schematics and .cir netlists through LTspice. Sweep parameters, vary temperature, run Monte Carlo.
Analyze results
Extract waveforms, measure bandwidth, compute FFT and THD, analyze noise, check stability margins.
Edit and generate
Read and modify schematics, build netlists from scratch, generate circuits from templates, run design rule checks.
Browse the library
Search 6500+ component symbols, 4000+ example circuits, and SPICE model/subcircuit definitions.