Skip to content
Tresca

LTspice MCP (HAbedini)

MCP serverCommunity

A Windows LTspice server that treats the .asc schematic as the source of truth, with JSON tools for edits, runs and waveforms. By kh6570.

11 starsUpdated 12 days agoGitHub data from 5 Nov 2026

At a glance

Type
MCP server
Works with
LTspice
How it connects
Drives a running copy of the tool
Access
Can modify models
Tool versions
LTspice XVII (XVIIx64.exe) or later (LTspice.exe)
Operating systems
Windows
Needs a LTspice licence
No
Transport
Local (stdio)
AI clients documented
Cursor, VS Code
Licence
MIT
Language
Python

What it can do

  • Edits .asc schematics, runs LTspice and reads the .net, .log and .raw files it produces.
  • Keeps waveform reads within a 2,000-point budget to protect the model's context.
  • Returns stable error codes on tool failures and has a documented sandbox.
  • A setup script registers the server in Cursor and VS Code under the name ltspice-mcp.

Limitations

  • Windows only.
  • LTspice offers no GUI command channel, so the server can launch LTspice with a schematic but can't drive the open window.
  • GitHub can't classify the licence; MIT is stated in the README.

Install

py -3.12 -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e ".[dev]"

Source: github.com/kh6570/HAbedini-ltspice-mcp

MCP servers and skills run code on your computer. Review the source before installing.

AI-generated models, drawings and results must be checked by a qualified engineer before use.