Metadata-Version: 2.4
Name: fritzing-mcp
Version: 0.1.1
Summary: MCP server that builds Fritzing breadboard sketches step by step; Fritzing itself draws breadboard, schematic and PCB views.
Author: Steve Spence (KK4HFJ)
License-Expression: GPL-3.0-only
Project-URL: Homepage, https://github.com/KK4HFJ/fritzing-mcp
Project-URL: Issues, https://github.com/KK4HFJ/fritzing-mcp/issues
Keywords: mcp,fritzing,breadboard,electronics,schematic,kicad,claude
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: mcp>=2
Requires-Dist: lxml
Requires-Dist: svgelements
Requires-Dist: pyyaml
Requires-Dist: resvg-py
Dynamic: license-file

# fritzing-mcp

<!-- mcp-name: io.github.KK4HFJ/fritzing-mcp -->

An MCP server that lets Claude (or any MCP client) build **Fritzing** breadboard sketches step by step. Claude
picks parts and puts each pin in a breadboard hole, and **Fritzing draws the result**: the breadboard, a routed
schematic and the PCB view. It writes a normal `.fzz` file that opens in Fritzing as if you had built it by hand.

![USB-C LED board on a half breadboard, drawn by Fritzing](https://raw.githubusercontent.com/KK4HFJ/fritzing-mcp/main/fritzing-mcp/docs/images/led-usb_breadboard.png)

*Created with Fritzing.*

- **Parts:** searches Fritzing's ~2,100 parts; `part_number` maps real parts (2N3904, IRL520, L7805...) to a
  Fritzing part with the same package **and the same leg order**, and refuses lookalikes.
- **Checking:** after every edit it reports the nets plus a breadboard layout check (part bodies over holes that
  are needed, wires over parts, crossings, wires that look connected but aren't).
- **Schematic:** signal-flow layout with routed wires, labels and a shorted-net check; or place symbols by hand.
- **Rendering:** runs Fritzing's own headless export and returns PNGs so the model can look at the result.
- **KiCad add-on (optional):** start from a `.kicad_pcb` or netlist and check the breadboard against KiCad's nets.

## Install

You need **Fritzing 1.0.8** installed yourself (fritzing.org); this package does not include it.

```
pip install fritzing-mcp
claude mcp add fritzing -s project -- fritzing-mcp
```

Set `FRITZING_EXE` and `FRITZING_PARTS` if Fritzing isn't in `C:\Program Files\Fritzing`. Sketches go to a
per-user data folder unless `FRITZING_SKETCHES` says otherwise. No Fritzing install? The Docker image has one:
`docker run -i --rm -v fz:/data ghcr.io/kk4hfj/fritzing-mcp`.

Full documentation, tool list and limits: <https://github.com/KK4HFJ/fritzing-mcp>

Not affiliated with or endorsed by the Fritzing project. GPL-3.0, the same licence as Fritzing.
