Downloads · 30 days
289
35% of all-time downloads
21world/KiCAD-MCP-Qwen3.5-4B-GGUF
KiCAD-MCP-Qwen3.5-4B-GGUF is a text generation model from 21world. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
A fine-tuned Qwen3.5-4B model specialized for KiCAD PCB design assistance via the Model Context Protocol (MCP). Trained to select and invoke the correct tools from a 159-tool KiCAD MCP server covering schematic captur…
Downloads · 30 days
289
35% of all-time downloads
All-time downloads
821
Public
Repo size
8.4 GB
Likes
3
Public
Click a slice to open those files.
.gguf8.4 GB · 100%
From the Hugging Face model README
A fine-tuned Qwen3.5-4B model specialized for KiCAD PCB design assistance via the Model Context Protocol (MCP). Trained to select and invoke the correct tools from a 159-tool KiCAD MCP server covering schematic capture, PCB layout, DRC, export, library management, and more.
The model was trained on a KiCAD MCP server with tools across these categories:
| Category | Tools | Examples |
|---|---|---|
| Project | 5 | create_project, open_project, save_project |
| Schematic | 22+ | add_schematic_component, add_wire, connect_to_net, annotate_schematic |
| Board | 12 | set_board_size, add_layer, add_board_outline, get_board_2d_view |
| Component | 17 | place_component, move_component, rotate_component, find_component |
| DRC | 8 | run_drc, set_design_rules, get_drc_violations, check_clearance |
| Export | 8 | export_gerber, export_pdf, export_bom, export_3d |
| Routing | 14 | route_trace, add_via, add_copper_pour, route_differential_pair |
| Library | 8 | search_footprints, get_footprint_info, list_libraries |
| And more | ... | Symbol creation, JLCPCB integration, freerouting, UI management |
See tool_schema.json for the complete 159-tool schema with descriptions and parameter definitions.
# Download the model
huggingface-cli download empulse/KiCAD-MCP-Qwen3.5-4B-GGUF --local-dir ./model
# Run with llama-server (requires Qwen3.5 support — llama.cpp build from Feb 2026+)
llama-server \
-m model/kicad-mcp-4b-sft-v3-bf16.gguf \
-ngl 99 \
--cache-type-k bf16 --cache-type-v bf16 \
-c 4096 \
--port 8080
# Query via OpenAI-compatible API
curl http://localhost:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"messages": [
{"role": "system", "content": "You are a KiCAD PCB design assistant with MCP tools."},
{"role": "user", "content": "Run a DRC check on the board"}
],
"temperature": 0.1
}'
llama-quantize if needed.--cache-type-k bf16 --cache-type-v bf16 with llama.cpp. The Gated Delta Network architecture produces incorrect results with f16 cache.<think>...</think> blocks for reasoning by default. Use /nothink prefix to disable.| Category | Score |
|---|---|
| Tool Selection (10 tests) | 10/10 |
| No-Tool Response (2 tests) | 2/2 |
| Refusal (1 test) | 1/1 |
| Domain Knowledge (1 test) | 1/1 |
| Total | 14/14 (100%) |
Apache 2.0