MCP.so
Sign In

analog-circuit-simulate-mcp-server

@abelzhao

About analog-circuit-simulate-mcp-server

the mcp server to run circuit simulation with ngspice

Basic information

Category

Other

Runtime

python

Transports

stdio

Publisher

abelzhao

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "analog_circuit_simulate_mcp_server": {
      "command": "uv",
      "args": [
        "venv",
        ".venv"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is analog-circuit-simulate-mcp-server?

This MCP server provides tools for running analog circuit simulations using ngspice as the simulation backend. It exposes a REST API interface, supports parameterized circuit simulations, and returns results in JSON format. It is intended for users who need to simulate analog circuits within an MCP-enabled environment.

How to use analog-circuit-simulate-mcp-server?

Install ngspice (Linux only), Python 3.8+ and the uv tool. Create a virtual environment with uv venv .venv and activate it. Install dependencies via uv pip install -e .. Start the server with uv run analog-circuit-simulate-mcp-server or via uvx. Add an NPX configuration entry pointing to http://${server_ip}:4044/mcp/. Server ports and JSON response can be configured via the environment variables FASTMCP_PORT (default 4044) and FASTMCP_JSON_RESPONSE.

Key features of analog-circuit-simulate-mcp-server

  • Provides MCP tools for analog circuit simulation
  • REST API interface for simulation control
  • Supports parameterized circuit simulations
  • Returns simulation results in JSON format
  • Backed by the ngspice circuit simulator

Use cases of analog-circuit-simulate-mcp-server

  • Running analog circuit simulations from MCP clients
  • Automating parameterized circuit analysis
  • Integrating ngspice simulation into development workflows

FAQ from analog-circuit-simulate-mcp-server

What are the runtime dependencies?

Python 3.8+, the uv package manager, and ngspice installed on the system.

How is the server configured?

Server configuration is set via environment variables: FASTMCP_PORT (default 4044) and FASTMCP_JSON_RESPONSE (set to True for JSON output).

Where can I find an example circuit file?

The repository includes high_pass_filter.cir as an example circuit file for simulation demos.

How do I start the server?

Run uv run analog-circuit-simulate-mcp-server from the project root, or use uvx with the Git repository URL.

What transport method is used?

The server provides a REST API on port 4044 at the /mcp/ endpoint. No authentication mechanisms are mentioned.

Comments

More Other MCP servers