ltspice-mcp
Active·★ 65·GPL-3.0·Updated 2026-10-22
This project provides an MCP server that bridges LLM assistants with powerful circuit simulators like LTspice and ngspice, along with direct editing capabilities for LTspice schematics. It allows AI assistants to design, verify, and iterate on circuits by interpreting simulation results as structured data and interacting with circuit files directly, avoiding manual rawfile parsing.
#LLM Integration#Circuit Simulation#LTspice#ngspice#SPICE#Schematic Editing#Hardware Design#Python
01
Features
01Simulation and structured measurement results: Runs LTspice/ngspice, parses binary output directly, and returns precise measurements (e.g., cutoff frequencies, operating points, stability margins) as structured numbers.
02Schematic and netlist editing: Supports creation and modification of LTspice `.asc` schematics and SPICE `.cir`/`.net` netlists with built-in validation.
03Advanced analysis capabilities: Enables multi-dimensional parameter sweeps and Monte Carlo simulations with component tolerances and process variations.
04Robust job management: Simulations run as cancellable jobs with timeouts and concurrency limits, and results report facts with simulator warnings for agent interpretation.
05Co-design workflow: Facilitates iterative design by allowing assistants and human users to collaboratively edit and verify circuits using standard LTspice and SPICE files.
02
Compatibility
Python
Runtime
Verified via docs
Windows
OS
Verified via docs
Linux
OS
Verified via docs
macOS
OS
Verified via docs
WSL
Environment
Verified via docs
LTspice
Simulator
Verified via docs
03
Quick start
1
$ uv tool install ltspice-mcp
04
Use cases
↳Automated circuit biasing and characterization: Automatically bias an NMOS stage into saturation, or characterize device parameters like gm/ID versus VGS.
↳Performance analysis: Measure transient responses (overshoot, settling time), frequency responses (cutoff, Q factor), or harmonic distortion (THD).
↳Design verification and stability analysis: Evaluate loop stability, phase/gain margins, or run Monte Carlo analyses for worst-case scenarios.
↳Interactive schematic design: Construct and modify LTspice schematics through natural language commands, with real-time validation.
↳Model and library management: Find specific models in loaded libraries or load/unload SPICE libraries for use in designs.
05
Alternatives
perplexity-webui-scraper★ 137
An advanced, high-performance Python client, MCP server, and REST API for reverse-engineering Perplexity AI's WebUI.
tbank-mcp★ 37
Unofficial MCP server for T-Bank (Т-Банк, ex-Tinkoff) mobile banking: accounts, cards, transfers, bill pay, grocery ordering, tickets & travel — for Claude Code and any MCP client.
gopher-mcp★ 15
A modern, cross-platform Model Context Protocol (MCP) server that enables AI assistants to browse and interact with both Gopher protocol and Gemini protocol resources safely and efficiently.
mendeley-mcp★ 46
MCP server for Mendeley reference manager - search, retrieve, and manage your academic library from Claude and other MCP clients
Comments
Log in to leave a comment
No comments yet. Be the first!