ltspice-mcp-addon
Provides add-on tools for LTspice workflows: validating LTspice 26 decks for simulation-stopping errors and silent behavioural warnings before a run, reviewing batch LTspice logs and .meas outcomes after a run, and offering offline LTspice/circuit know-how such as netlist and schematic conversion, topology comparison, measurement log summaries, and review gates.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ltspice-mcp-addon check my buck converter deck for LTspice 26 .meas errors before I run it"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ltspice-mcp-addon
An add-on to ltspice-mcp. It is a second MCP server that runs beside ltspice-mcp and adds what ltspice-mcp and LTspice's own MCP bridge do not offer. It does not replace or patch ltspice-mcp: simulation, schematic editing and waveform reading stay there.
Tool | What it adds |
| Before a run: LTspice 26 behaviours that ltspice-mcp's lint does not catch, each recorded on LTspice 26.1. Errors LTspice stops on (a |
| After a run: what a batch's LTspice logs say together. Runs that wrote results although their log has an |
| Offline circuit know-how: ASC / CIR / Schemdraw conversion, node-name-invariant topology comparison, |
Install
Not on PyPI. Install from a checkout; ltspice-mcp comes in as a dependency.
python -m pip install -e ".[schemdraw]"Related MCP server: KiCadMCP
Use with an MCP client
Register both servers:
{
"mcpServers": {
"ltspice": { "command": "ltspice-mcp" },
"ltspice-addon": { "command": "ltspice-mcp-addon" }
}
}--allowed-path DIR (repeatable) or LTSPICE_MCP_ADDON_ALLOWED_PATHS
limits the folders the add-on's tools read. Without either there is no
sandbox, as with ltspice-mcp's default.
A typical round: check_deck on the deck, run_experiments in
ltspice-mcp, then review_job on the job's output folder.
Develop
python -m pip install -e ".[test]"
python -m pytesttests/ holds the add-on's own tests; check_deck and review_job are
tested on decks and logs recorded on LTspice 26.1.1 (tests/fixtures/lt26).
knowhow/tests is the know-how package's suite.
Scope
Only what ltspice-mcp and LTspice's own bridge lack. A tool that either of them gains is dropped here.
Only the latest LTspice.
Fixes to ltspice-mcp itself go to ltspice-mcp as pull requests, not here.
Licence
GPL-3.0-or-later (it builds on ltspice-mcp). The know-how package
src/ltspice_knowhow/ is also available under the MIT licence in
src/ltspice_knowhow/LICENSE-MIT.
Available Tools
3 toolscheck_deckCheck DeckARead-onlyIdempotent
Check a SPICE deck for LTspice 26 behaviours that ltspice-mcp's own lint does not catch, each recorded on LTspice 26.1: errors LTspice stops on before the run (a .step that makes one step; a .meas WHEN/TRIG/TARG given FROM or TO) and warnings where it runs but gives another number than meant (db() of a complex value in an AC .meas; MAX/MIN/PP/AVG of a signed AC expression; two .step lines beside .op). Give the netlist text or a path to it. Runs nothing; use it before ltspice-mcp's run_experiments.
Inputs: path, netlist. Returns: object
knowhowCircuit Know-HowARead-onlyIdempotent
Offline circuit know-how, called by op with keyword args: ASC/CIR/Schemdraw conversion, lint and info, node-name-invariant topology comparison, .measure log summaries, operation reading of a netlist (blocks, probe coverage, waveform-shape checks, review and EDA handoff packets), solver-neutral review gates and drills, design seeds and forge drills, prior-art search plans, Lcapy symbolic analysis, and SPICE simulator theory with MNA demos. op='list' (the default) names every op with its signature. Published ops start no simulator and write no files. Path args obey the add-on's allowed folders.
Inputs: op, args. Returns: object
review_jobReview Job LogsARead-onlyIdempotent
Review the LTspice logs a batch of runs left (a job's output folder or log files), for what shows only across runs: runs that wrote results although their log has an ERROR line (LTspice 26 solves a circuit with a floating node and says so only there), and .meas that failed in every run or in some. Use it after ltspice-mcp's run_experiments; it runs nothing.
Inputs: paths (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
check_deck (pre-run deck validation) and review_job (post-run log review) have clear, distinct phases, but knowhow is a catch-all whose advertised scope includes lint/info, netlist reading, review gates, and handoff packets — overlapping both other tools. The descriptions do disambiguate (check_deck explicitly covers what ltspice-mcp's lint misses; review_job covers cross-run patterns only), but agents must read carefully to avoid routing a review or lint task into knowhow instead.
check_deck and review_job follow a clean verb_noun pattern, but knowhow is a vague bare noun that breaks the convention and gives no hint of its verb or resource. Mixed but still readable; two of three names are predictable.
Three tools is thin for a surface that must cover deck checking, log review, and a very broad know-how domain. Effectively, knowhow bundles dozens of operations (op='list' required for discovery) behind one entry point, which makes the nominal count of 3 misleading.
As an add-on that deliberately delegates simulation runs to ltspice-mcp, it covers the sensible pre-run (check_deck), post-run (review_job), and knowledge/analysis (knowhow) phases. The main gap is discoverability: what knowhow actually offers is opaque until op='list' is called, so agents can't assess coverage from the tool list alone.
Maintenance
Related MCP Connectors
Design circuits with your AI agent: circuit blocks, simulation, checks and KiCad files.
Check, simulate and design electronic circuits, with a link to run each one live in the browser.
Design, route, check, review and export manufacturable PCBs from plain language; KiCad import.
Turn datasheets into source-backed JSON contracts, pinout matrices, and KiCad CAD for AI agents.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenanceEnables debugging LTspice circuits through natural language by exposing netlists as structured text, including components, nodes, directives, static checks, and simulation logs, so LLMs can reason over circuit topology instead of screenshots.-
- AlicenseNot gradedqualityCmaintenanceEnables inspection of existing KiCad boards and schematics — layer/component/net reading, native DRC and ERC, XML netlist generation, Gerber/Excellon export, and GND continuity auditing — plus running LTspice or ngspice simulations with RAW waveform summaries and CSV export. It checks existing designs and preserves artifacts and evidence rather than performing GUI editing, auto-placement, or auto-routing.Apache 2.0
- AlicenseBqualityBmaintenanceEnables building wire-connected native schematics, visually checking them, editing values, and running native frequency/transient analyses plus symbolic formulas and plots, with results saved as CSV/PNG and openable in the separately installed application.29MIT
- AlicenseNot gradedqualityBmaintenanceEnables native editing of NI Multisim circuits and analog analysis through 44 tools covering components, wires, sheets, subcircuits, and SPICE models. Supports editable .ms14 projects with named-pin connections, batch edits, undo/redo, DC operating point and transient analysis, and schematic export to PNG, BMP, RAW, and CSV.3MIT