Spicelib
БесплатноНе проверенA thin MCP server that wraps spicelib for circuit simulation. Exposes tools for running AC, transient, DC op, and parameter sweep analyses, enabling behavioral
Описание
A thin MCP server that wraps spicelib for circuit simulation. Exposes tools for running AC, transient, DC op, and parameter sweep analyses, enabling behavioral model fitting through iterative simulation and measurement comparison.
README
A thin MCP server that wraps spicelib for circuit simulation. The heavy lifting, such as simulator invocation, .raw file parsing, and multi-simulator abstraction, is done by spicelib, which deserves most of the credit. This project is purely a transport layer that exposes spicelib's functionality as MCP tools for use with Claude Code (and other coding agents).
Primary use case: behavioral model fitting — run simulations, compare against real measurements, iterate on SPICE models.
Tools
run_ac_analysis— AC frequency sweep, returns magnitude/phase datarun_transient— transient simulation, returns time-domain waveformsrun_dc_op— DC operating point analysisrun_sweep— run multiple simulations in parallel, sweeping component values
Results are saved as .npz files alongside the netlist for further analysis and plotting.
Supported simulators
| Simulator | SPICE_SIMULATOR value |
Install |
|---|---|---|
| ngspice | ngspice (default) |
sudo apt install ngspice |
| LTspice | ltspice |
Download from Analog Devices |
| Qspice | qspice |
Download from Qorvo |
Set the SPICE_PATH environment variable to override the simulator binary location.
Setup
Copy .mcp.json.template to .mcp.json in your project directory and adjust SPICE_SIMULATOR if needed:
{
"mcpServers": {
"spicelib": {
"type": "stdio",
"command": "uvx",
"args": ["spicelib-mcp"],
"env": {
"SPICE_SIMULATOR": "ngspice"
}
}
}
}
Requirements
- Python 3.10+
- A supported simulator installed and on PATH
License
GPL-3.0-or-later
Установка Spicelib
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/lucasgerads/spicelib-mcpFAQ
Spicelib MCP бесплатный?
Да, Spicelib MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Spicelib?
Нет, Spicelib работает без API-ключей и переменных окружения.
Spicelib — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Spicelib в Claude Desktop, Claude Code или Cursor?
Открой Spicelib на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Spicelib with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
