Analyze KiCad schematic / BOM
analyze_kicadExtract a grouped BOM from KiCad schematic or CSV export, listing references, quantities, values, packages, LCSC part numbers, and DNP flags. Auto-follows hierarchical sheets. Start here to understand a design.
Instructions
Parse a KiCad schematic (.kicad_sch, KiCad 6-9) or a KiCad BOM CSV export (.csv) and return grouped BOM lines: references, quantity per board, value, JLC-style package derived from the footprint, component class, any pre-assigned LCSC part numbers, and DNP flags. Hierarchical sheets are followed automatically: sheet files referenced by the schematic are resolved relative to it, parsed recursively (each file once), and merged into the BOM; missing sheet files are skipped with a warning. Power symbols and #-references are excluded. Run this first to understand a design, then pass the same path to suggest_bom_parts for part suggestions.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "analyze_kicad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to a .kicad_sch schematic or a BOM .csv export. Relative paths resolve against the MCP server's working directory. |