ngspice-mcp

ngspice-mcp

3.3

If you are the rightful owner of ngspice-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

ngspice-mcp is a Model Context Protocol server that provides access to ngspice circuit simulation functionality through a standardized protocol interface.

ngspice-mcp is a server that allows AI language models to interact with ngspice, a circuit simulation tool, in a structured and controlled manner. It integrates with ngspice's shared library interface and implements a standardized MCP protocol. The server supports synchronous operations, comprehensive output capture, and vector data handling in multiple formats. It can be used in both server and library modes and includes a built-in test suite to ensure functionality.

Features

  • Integration with ngspice's shared library interface
  • Standardized MCP protocol implementation
  • Synchronous operation with structured data access
  • Comprehensive output capture and redirection
  • Support for both server and library usage modes

Tools

  1. Circuit Loading

    Tools for loading circuit netlists directly or from files.

  2. Simulation

    Tools for executing simulation commands like DC operating point, AC analysis, and transient analysis.

  3. Data Access

    Tools for retrieving simulation data with options for different representations and interval selections.