
Microcap Mcp
io.github.monoxide-xenPublished by GitHub account monoxide-xenv0.1.1Updated Oct 24, 2026
Simulate, generate and draw analog circuits in Micro-Cap 12: SPICE analyses, sweeps and schematics
Overview
Lets an assistant build, simulate, and draw analog circuits in Micro-Cap 12 through its batch mode.
- What you can do
- The server drives Micro-Cap 12's documented batch mode to run SPICE analyses such as transient, AC, DC, distortion, and stability, plus operating points and sweeps. It can generate circuits from scratch using eight amplifier and network templates with automatic biasing, and it renders .CIR files to SVG in a layout matching Micro-Cap, optionally annotated with operating-point voltages. It also searches and simulates roughly 490 example circuits shipped with Micro-Cap.
- When to use it
- Use it when an assistant needs to design or check analog circuits, run SPICE simulations, sweep parameters, or produce schematic drawings and plots without opening the Micro-Cap GUI. It suits electronics work where Micro-Cap 12 is already the tool of choice.
- Requirements
- Windows, Python 3.11 or newer, and an installed copy of Micro-Cap 12. The package is distributed on PyPI and can be launched with uvx. The optional environment variable MICROCAP_HOME points to the folder containing mc12_64.exe when automatic discovery fails. No accounts or API keys are declared.
Installation
In SourceWeft
- Open Microcap Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
microcap-mcp
ИИ-агент строит, считает и рисует аналоговые схемы в Micro-Cap 12.
[tests] [License: MIT] [Python 3.11+] [Windows] [MCP]
Русский · English
[Сгенерированный каскад с общим эмиттером, отрисованный 1:1 с Micro-Cap, с наложенной рабочей точкой] [АЧХ, посчитанная Micro-Cap]
Схему нарисовал сам сервер (1:1 с Micro-Cap, с рабочей точкой) · график посчитал Micro-Cap
Работает через штатный batch-режим Micro-Cap (MC12 @batch.bat) — headless, без GUI-автоматизации и без модификации программы.
Что делает
🔧 Строит схемы с нуля — 8 генераторов каскадов (общий эмиттер, повторитель, MOSFET, дифпара, токовое зеркало, каскод, ОУ, RLC) с авто-смещением. Каждый сверен с теорией: усиление, рабочая точка, резонанс.
📊 Считает — transient / AC / DC / искажения / устойчивость, рабочая точка, свипы. Комплексный вывод как {re, im}, диагностика солвера.
🎨 Рисует — сам рендерит .CIR в SVG 1:1 с Micro-Cap: родные символы из библиотеки MC, сетка, все повороты и отражения, раскладка подписей. Накладывает напряжения рабочей точки. /IC в batch-режиме MC этого не умеет — а сервер умеет.
Установка
Нужен Windows, Python 3.11+ и установленный Micro-Cap 12 (фримварь). Клонировать ничего не надо — укажи в MCP-клиенте, и uvx сам скачает пакет:
Драйвер сам ищет Micro-Cap в типовых местах; MICROCAP_HOME укажи на папку с mc12_64.exe, если он лежит нестандартно.
Из исходников
Инструменты
Плюс ресурсы microcap://guide и microcap://domains и промпт analyse_circuit — чтобы агент не дал MC молча соврать.
Тесты
Без Micro-Cap интеграционные пропускаются — CI остаётся зелёным.
Как это устроено
- Особенности Micro-Cap — поведение, которого нет в мануале (а местами оно мануалу противоречит).
eval/harness.py— прогон всех ~490 схем поставки с раскладкой провалов по причинам (сейчас 88% отвечают).
Лицензия
MIT на код репозитория. Micro-Cap 12 принадлежит Spectrum Software — не включён, не перезалит, не модифицирован: используется его документированный CLI.
Source: README.md at commit db9c4d0
Tools
0Version history
1- v0.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts