CL

clanker-lover/spicebridge

API development

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

43 stars 10 forks 品質 65 トレンド 13GPL-3.0

AI アシスタントが ngスパイス回路シミュレーションに直接アクセスできる MCP サーバー — 自然言語による回路の設計、シミュレート、検証

概要

シミュレーションによるAI搭載回路設計 — MCPサーバーで、言語モデルを直接NGSPICE回路シミュレーションへアクセス可能。 普通の英語の回路を記述し、AIはネットリストの生成、シミュレーション、測定およびspecの証明を扱います。 - 完全な回路設計ワークフローをカバー - 自動コンポーネント値の計算(E24シリーズ) - : AC sweep、transient、DC の動作ポイント - : 帯域幅、ゲイン、DC レベル、一時的なメトリック、電源 - コンポーネントの許容下 - - - 自動ポートマッピングで回路のステージを接続 - - - データシートパラメータからSPICE .libモデルを生成 - - - 出力 .kicad sch 回路図 - - ブラウザ内のインタラクティブな回路比較ビューア - クラウド構造のセットアップ (クラウドファンクション) - - - クラウドファンディング - - クラウドファンディング - - クラウドファンディング - クラウドファンクション - クラウドファンクション - - クラウドファンクション - クラウドファンクション - クラウドファンクション - クラウドファンクション - クラウドファンクション - - クラウドファンクション - - クラウドファンクション - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Python 3.10 + - ngスパイスインストールとPATH ローカル インストールからパブリック MCP エンドポイントに移動する 1 つのコマンド: wizard はフル展開パイプラインを処理します。 1.

概要(AI 翻訳)

シミュレーションによるAI搭載回路設計 — MCPサーバーで、言語モデルを直接NGSPICE回路シミュレーションへアクセス可能。 普通の英語の回路を記述し、AIはネットリストの生成、シミュレーション、測定およびspecの証明を扱います。

##特徴

  • *28ツール*フル回路設計ワークフローをカバーする -11 内蔵型テンプレート コンポーネントの自動値計算(E24シリーズ)
  • シミュレーション: ACスイープ、過渡、DCの作動ポイント
  • 測定:帯域幅、利益、DCレベル、一時的なメトリック、電力
  • Monte Carlo & 最悪のケース解析 コンポーネントの許容下
  • 多段構成 —自動ポートマッピングで回路ステージを接続
  • モデルウィザード — データシートパラメータからSPICE [.libモデルを生成する
  • KiCad export — 出力[[.kicad_sch] 回路図 -Webビューア — ブラウザのインタラクティブなスキーマビューア
  • Cloud setup wizard — Cloudflareトンネル([spicebridge setup-cloud)でワンコマンド展開
  • Spec 検証 — 設計目標に対する結果を比較する

インストール

要件

  • Python 3.10 +
  • ngスパイスがインストールされ、PATH

クイックスタート

ローカル(クロードコード/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" } } }