CL

clanker-lover/spicebridge

API development

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

43 stars 10 forks 품질 65 트렌드 12GPL-3.0

MCP 서버는 ngspice 회로 시뮬레이션에 직접 액세스를 제공 - 디자인, 시뮬레이션 및 자연 언어를 통해 회로를 확인

개요

시뮬레이션을 통해 AI 전원 회로 설계 - ngspice를 통해 SPICE 회로 시뮬레이션에 언어 모델을 직접 액세스를 제공하는 MCP 서버. 일반 영어의 회로를 설명하고 AI 핸들 netlist 생성, 시뮬레이션, 측정 및 spec 검증을 할 수 있습니다. - 전체 회로 설계 워크플로를 커버 - 자동 구성 요소 값 계산 (E24 시리즈) - : AC 스윕, 일시적, DC 운영 지점 - : 대역폭, 이득, DC 레벨, 일시적 메트릭, 전력 - 구성 요소 허용 오차 아래 - - - - 자동 포트 매핑과 회로 스테이지를 연결 - — SPICE .lib 모델 datasheet 매개 변수 - — output .kicad sch schematics - — interactive schematic viewer in the browser - - - One-commands deploys-cloud-s-bridge-s-sspices-s-ssschematics. - Python 3.10+ - ngspice 설치 및 PATH에 로컬 설치에서 공공 MCP 엔드포인트로 이동하려면 하나의 명령: 마법사는 전체 배포 파이프라인을 처리: 1. 명세.

개요(AI 번역)

시뮬레이션을 통해 AI 전원 회로 설계 - ngspice를 통해 SPICE 회로 시뮬레이션에 언어 모델을 직접 액세스를 제공하는 MCP 서버. 일반 영어의 회로를 설명하고 AI 핸들 netlist 생성, 시뮬레이션, 측정 및 spec 검증을 할 수 있습니다.

특징

  • 28 도구 전체 회로 설계 워크플로우 처리
  • **11 내장 템플릿 ** 자동 구성 요소 값 계산 (E24 시리즈)
  • Simulation: AC 스윕, 일시적, DC 작동 지점
  • **측정 **: 대역폭, 이득, DC 수준, 일시적인 미터, 힘
  • **Monte Carlo 및 최악의 케이스 분석 ** 구성 요소의 허용 오차
  • 멀티 스테이지 구성 - 자동 포트 매핑 회로 스테이지 연결
  • 모델 마법사 — SPICE .lib] 모델을 datasheet 매개변수로 생성합니다.
  • **KiCad 수출 ** - 출력 .kicad_sch schematics
  • **웹 뷰어 ** - 브라우저에서 상호 작용하는 schematic 뷰어
  • **클라우드 설정 마법사 ** - Cloudflare 터널과 함께 한 대의 배포 ([T2]])
  • Specification - 디자인 대상에 대한 결과를 비교

설치

요구 사항

  • 파이썬 3.10+
  • ngspice 설치 및 PATH에

빠른 시작

지역 (Claude Code / stdio)

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

SPICEBridge

AI-powered circuit design through simulation — an MCP server that gives language models direct access to SPICE circuit simulation via ngspice. Describe a circuit in plain English and let the AI handle netlist generation, simulation, measurement, and spec verification.

Features

  • 28 tools covering the full circuit design workflow
  • 11 built-in templates with automatic component value calculation (E24 series)
  • Simulation: AC sweep, transient, DC operating point
  • Measurement: bandwidth, gain, DC levels, transient metrics, power
  • Monte Carlo & worst-case analysis under component tolerances
  • Multi-stage composition — connect circuit stages with automatic port mapping
  • Model wizard — generate SPICE .lib models from datasheet parameters
  • KiCad export — output .kicad_sch schematics
  • Web viewer — interactive schematic viewer in the browser
  • Cloud setup wizard — one-command deployment with Cloudflare tunnels (spicebridge setup-cloud)
  • Spec verification — compare results against design targets

Install

pip install spicebridge

Requirements

  • Python 3.10+
  • ngspice installed and on PATH

Quick Start

Local (Claude Code / stdio)

Add to your .mcp.json:

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

Cloud (Streamable HTTP)

spicebridge --transport streamable-http --port 8000

Cloud Setup Wizard

One command to go from a local install to a public MCP endpoint:

spicebridge setup-cloud          # interactive (named tunnel, permanent URL)
spicebridge setup-cloud --quick  # quick tunnel (temporary URL, no account needed)

The wizard handles the full deployment pipeline:

  1. Installs cloudflared automatically (macOS via Homebrew, Linux via APT) if not found
  2. Authenticates with Cloudflare (browser-based OAuth, named tunnel mode only)
  3. Creates or reuses a tunnel — prompts to pick an existing one or make a new one
  4. Configures DNS routing for your custom domain (named tunnel mode)
  5. Generates an API key for authentication
  6. Starts the SPICEBridge server and tunnel together
  7. Prints connection info with a ready-to-paste JSON config for Claude.ai

Quick tunnels give you a temporary trycloudflare.com URL instantly — no Cloudflare account required. Named tunnels give you a permanent custom domain (e.g. spicebridge.example.com).

Additional options:

spicebridge setup-cloud --domain mcp.example.com  # specify custom domain
spicebridge setup-cloud --port 9000                # custom port
spicebridge setup-cloud --no-install               # skip cloudflared installation

Example

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

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