Skip to content
Tresca

ngspice-mcp

MCP serverCommunity

An ngspice server written in D that loads the simulator as a shared library to run netlists and return vector data. By gtnoble.

19 starsUpdated 2 years agoGitHub data from 5 Nov 2026

At a glance

Type
MCP server
Works with
ngspice
How it connects
Drives a running copy of the tool
Access
Read-only
Tool versions
ngspice shared library (version not stated)
Operating systems
Not stated in its documentation
Needs a ngspice licence
No
Transport
Not stated in its documentation
AI clients documented
Not stated in its documentation
Licence
MIT
Language
D

What it can do

  • Loads netlists directly or from files and runs ngspice commands such as op, dc, ac and tran.
  • Lists plots and vectors and returns vector data in magnitude-phase or real-imaginary form, optionally over an interval.
  • Exposes ngspice's stdout and stderr as MCP resources, plus a usage guide.

Limitations

  • You build it yourself with a D compiler and dub, and it needs the ngspice shared library.
  • The README names no MCP clients or supported operating systems.
  • Last updated in April 2025.

Install

dub build --config=server

Source: github.com/gtnoble/ngspice-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.