Spicebridge

v1.0.0Developer Toolsstable

MCP server that gives AI assistants direct access to ngspice circuit simulation — design, simulate, and verify circuits through natural language

ai-circuit-designanalog-electronicsautomationcircuit-designcircuit-simulation
Share:
19
Stars
0
Downloads
0
Weekly
0/5

What is Spicebridge?

Spicebridge is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server that gives ai assistants direct access to ngspice circuit simulation — design, simulate, and verify circuits through natural language

MCP server that gives AI assistants direct access to ngspice circuit simulation — design, simulate, and verify circuits through natural language

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP server that gives AI assistants direct access to ngspice

Use Cases

Circuit simulation with ngspice
AI-driven circuit design and verification
clanker-lover

Maintainer

LicenseGPL-3.0
Languagepython
Versionv1.0.0
UpdatedMay 11, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx spicebridge

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Spicebridge

Spicebridge is a Python-based MCP server that gives AI assistants direct access to ngspice, the open-source circuit simulator, enabling the full design-simulate-verify workflow for analog and digital circuits through natural language. It exposes 28 tools covering circuit creation from templates, component value calculation, SPICE netlist validation, AC/transient/DC analysis, Monte Carlo and worst-case simulations, bandwidth and gain measurement, schematic drawing, and KiCad export. Electrical engineers and students use it to design and verify circuits conversationally with Claude or other MCP clients without writing SPICE netlists by hand.

Prerequisites

  • Python 3.10 or later installed
  • ngspice installed and available on your system PATH (ngspice.sourceforge.io)
  • pip package manager
  • An MCP-compatible client such as Claude Desktop or Claude Code
  • No external API keys required
1

Install ngspice

Install ngspice for your operating system. It must be accessible on your PATH for Spicebridge to invoke it.

# macOS (Homebrew):
brew install ngspice

# Ubuntu/Debian:
sudo apt install ngspice

# Windows: download installer from ngspice.sourceforge.io
2

Install Spicebridge via pip

Install the spicebridge package from PyPI.

pip install spicebridge
3

Add to your MCP client configuration

Add spicebridge to your MCP client config. The command is simply 'spicebridge' since it installs as a console script.

{
  "mcpServers": {
    "spicebridge": {
      "command": "spicebridge"
    }
  }
}
4

Restart your MCP client

Restart Claude Desktop or your MCP client to load the Spicebridge server.

5

Optionally set up cloud access via Cloudflare tunnel

To expose the server for remote or cloud-based AI clients, run the Spicebridge cloud setup command. This uses Cloudflare's OAuth flow to create a tunnel.

spicebridge setup-cloud          # Permanent named tunnel
spicebridge setup-cloud --quick  # Temporary quick tunnel

Spicebridge Examples

Client configuration

Minimal configuration block for .mcp.json or claude_desktop_config.json using the installed spicebridge console script.

{
  "mcpServers": {
    "spicebridge": {
      "command": "spicebridge"
    }
  }
}

Prompts to try

Sample prompts covering circuit creation, simulation, measurement, and export using Spicebridge's 28 tools.

- "Create a first-order RC low-pass filter with a 1 kHz cutoff frequency and run an AC analysis from 1 Hz to 1 MHz"
- "Load the rc_lowpass_1st template, calculate component values for a 3 dB frequency of 500 Hz"
- "Run a transient simulation on my current circuit and plot the output voltage over 10 milliseconds"
- "Measure the bandwidth and gain of this amplifier circuit"
- "Run a Monte Carlo analysis with 100 samples using 5% resistor tolerance"
- "Export my filter design as a KiCad schematic file"
- "Validate this SPICE netlist and tell me if there are any errors"

Troubleshooting Spicebridge

Spicebridge fails with 'ngspice not found' or FileNotFoundError

Ensure ngspice is installed and on your system PATH. Run 'ngspice --version' in your terminal to verify. If installed via Homebrew on macOS, the binary is typically at /opt/homebrew/bin/ngspice — add this directory to your PATH.

pip install spicebridge fails with Python version error

Spicebridge requires Python 3.10 or later. Check your version with 'python --version'. On systems with multiple Python versions, use 'pip3.10 install spicebridge' or create a virtual environment with 'python3.10 -m venv venv' first.

Simulation runs but returns empty or unexpected results

Validate your circuit's SPICE netlist using the validate_netlist tool before running simulations. Ensure all node names are consistent and that the circuit has a ground node (node 0). Check that component values are within realistic ranges for the simulation type.

Frequently Asked Questions about Spicebridge

What is Spicebridge?

Spicebridge is a Model Context Protocol (MCP) server that mcp server that gives ai assistants direct access to ngspice circuit simulation — design, simulate, and verify circuits through natural language It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Spicebridge?

Follow the installation instructions on the Spicebridge GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Spicebridge?

Spicebridge works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Spicebridge free to use?

Yes, Spicebridge is open source and available under the GPL-3.0 license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "spicebridge": { "command": "npx", "args": ["-y", "spicebridge"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Spicebridge?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides