Skip to content

BOM Management

The BOM tools let you analyze component usage in your KiCad projects, export BOMs from schematics, estimate project costs, and view BOM data in multiple formats.

TaskExample prompt
Analyze componentsAnalyze the BOM for my KiCad project at /path/to/project.kicad_pro
Export a BOMExport a BOM for my KiCad project at /path/to/project.kicad_pro
View formatted reportShow me the BOM report for /path/to/project.kicad_pro
Please analyze the BOM for my KiCad project at /path/to/project.kicad_pro

The analyze_bom tool:

  • Searches for existing BOM CSV files in the project directory
  • Parses and analyzes the component data
  • Generates a report with component counts, categories, and cost estimates (if available)

If you do not have a BOM yet, export one directly:

Export a BOM for my KiCad project at /path/to/project.kicad_pro

The export_bom tool:

  • Finds the schematic file in your project
  • Runs kicad-cli sch export bom to generate a CSV
  • Saves the BOM alongside the project
  • Returns the path to the generated file
Show me the BOM report for /path/to/project.kicad_pro

Loads the kicad://bom/project_path resource, showing total component count, breakdown by type, cost estimates (if available), component table, and optimization suggestions.

Show me the raw CSV BOM data for /path/to/project.kicad_pro

Returns the raw CSV data from the BOM file, suitable for importing into spreadsheets.

Show me the JSON BOM data for /path/to/project.kicad_pro

Returns a structured JSON representation for programmatic processing.

CategoryDescriptionExample refs
ResistorsCurrent-limiting, voltage-dividingR1, R2, R3
CapacitorsEnergy storage, filteringC1, C2, C3
ICsIntegrated circuitsU1, U2, U3
ConnectorsBoard-to-board, board-to-wireJ1, J2, J3
TransistorsSwitching, amplifyingQ1, Q2, Q3
DiodesUnidirectional current flowD1, D2, D3

The analysis extracts cost information if it is available in the BOM file. To include costs, add a “Cost” or “Price” column to your KiCad component fields before exporting.

  1. Use descriptive component values
  2. Add meaningful component descriptions
  3. Include footprint information
  4. Add supplier part numbers where possible
  5. Include cost information for better estimates

Based on BOM analysis, consider:

  • Standardizing component values (e.g., using the same resistor values across the design)
  • Reducing the variety of footprints
  • Selecting commonly available components
  • Using components from the same supplier where possible
  1. Re-export after significant schematic changes
  2. Compare with previous versions to identify changes
  3. Verify component availability
  4. Update cost estimates regularly
Looking at the BOM for my project, can you suggest ways to reduce
the variety of resistor values while maintaining the same functionality?
Compare the BOMs between my projects at /path/to/project_v1.kicad_pro
and /path/to/project_v2.kicad_pro
  1. Ensure the BOM file is in CSV, XML, or JSON format
  2. Check that the file is not corrupted or empty
  3. Verify the file is in the project directory
  4. Try exporting a fresh BOM from the schematic
  1. Make sure KiCad is properly installed
  2. Verify the schematic file exists and is valid
  3. Check write permissions in the project directory
  4. Look for kicad-cli in your PATH or set KICAD_CLI_PATH