Skip to content

Getting Started

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.

  1. Install prerequisites

    You need Wine and an extracted copy of LTspice. Wine runs the LTspice binary in batch mode; no GUI required.

    Prerequisites details

  2. Install mcltspice

    Terminal window
    uvx mcltspice

    Or install from source with uv pip install -e . for development.

  3. Add to your MCP client

    Terminal window
    claude mcp add mcltspice -- uvx mcltspice

    Works with Claude Code out of the box. Other MCP clients use standard stdio transport.

    Claude Code setup details

  4. Run your first simulation

    Create a circuit from a template, simulate it, and extract waveforms --- all through tool calls.

    First simulation walkthrough

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.