# Multisim MCP

Lets an AI agent drive Multisim: build a circuit from a spec, run DC/AC/TRAN, and get a report with waveforms.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 24
- Author: yxy050208
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/yxy050208/multisim-mcp
- Updated: 2026-10-08
- HTML: https://affpapa.org/en/nevibecode/mcp/multisim-mcp

## What it does

The server takes a circuit description plus a constrained SPICE netlist from the agent. It validates the commands, writes an editable `.ms14` file, opens it in Multisim, enumerates the parts back for a cross-check, and saves a PNG of the schematic. Simulation output comes back as raw data, CSV, SVG plots and a command log.

Tools cover a single run, batch experiments with pass/fail checks on gain, bandwidth, ripple or THD, and sweeps across parameters, tolerances, temperature or Monte Carlo. Long runs become background jobs with a `job_id` you can list, cancel or retry. All COM work sits in a separate 32-bit process, so a crashed worker restarts without taking the server down.

You need a licensed Multisim 14+ on the same machine and the `MULTISIM_MCP_TEMPLATE_DIR` variable pointing at a local template pack; the pack is built with `tools/bootstrap_local_component_pack.py` from your own Multisim install. The stable package is `v1.2.0`, and some analog workflow features live only in the pre-release branch.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `MULTISIM_MCP_TEMPLATE_DIR` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env MULTISIM_MCP_TEMPLATE_DIR=<MULTISIM_MCP_TEMPLATE_DIR> --transport stdio multisim-mcp -- uvx multisim-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from multisim-mcp <command>

### Codex

**Platform CLI**
```bash
codex mcp add multisim-mcp --env MULTISIM_MCP_TEMPLATE_DIR=<MULTISIM_MCP_TEMPLATE_DIR> -- uvx multisim-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from multisim-mcp <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "multisim-mcp": {
            "command": "uvx",
            "args": [
                "multisim-mcp"
            ],
            "env": {
                "MULTISIM_MCP_TEMPLATE_DIR": "<MULTISIM_MCP_TEMPLATE_DIR>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from multisim-mcp <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "multisim-mcp": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "multisim-mcp"
            ],
            "env": {
                "MULTISIM_MCP_TEMPLATE_DIR": "<MULTISIM_MCP_TEMPLATE_DIR>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from multisim-mcp <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e MULTISIM_MCP_TEMPLATE_DIR=<MULTISIM_MCP_TEMPLATE_DIR> multisim-mcp uvx multisim-mcp
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from multisim-mcp <command>

## When to use it
- turn a SPICE netlist into an editable Multisim schematic
- run operating point, DC, AC or transient sweeps hands-free
- check gain, bandwidth and ripple against stated requirements
- try different resistor and capacitor values in one sweep
- export schematic, CSV and a report together

## Example prompts
- Build this voltage divider from the netlist, run a DC sweep and show me the plot
- Verify that gain is 0.5 within 1 percent and write the report to `C:\experiments\divider-verified`
- Sweep the capacitor values and rank the runs by ripple

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
