universal-netlist
v1.16.0MCP server for netlist parsing and circuit analysis
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_designs List designs
List the design projects in a directory, one path each: a .DSN, a .PrjPcb, a .kicad_pro, or a Universal Netlist .netlist.json. That path is what every other tool takes; use this tool instead of searching the filesystem. `path` is optional. Omitted or blank, it searches the server's working directory, so check `root` for the directory actually searched. A misspelled argument name is refused with an error naming it. `designs` is paged: `max_results` entries (default 50) from `offset`, and `next_offset` is set when there are more. Notes about parts and nets cover the page only. `design_variants…
| Parameter | Type | Description |
|---|---|---|
max_depth | integer | Max directory recursion depth (0 = no recursion). Omit for unlimited. |
max_results | integer | Max designs entries to return. Default: 50. |
offset | integer | Index of the first designs entry to return, from next_offset. Default: 0. |
path | string | Path to directory to search for designs |
pattern | string | Regex pattern to filter design names |
list_components List components
List components of a specific type in a design. The type is the refdes prefix, matched whole and case-insensitively: "u" gives U1 and U2 but NOT USB1, whose prefix is USB, and "tp" gives the test points. Asking for a partial prefix returns nothing rather than everything starting with it, so if a part you expected is missing, look for it under its own prefix. Identical components are grouped for compact output: parts share a group only when their MPN, description, comment and value all agree, so every field a group reports is true of every part in it. `component_notes` names the parts with no M…
| Parameter | Type | Description |
|---|---|---|
design * | string | Path to design file, as returned by list_designs |
type * | string | Component prefix: U, C, R, L, etc. |
design_variant | string | Design variant name from list_designs' design_variants. Required when the design records named variants, which are its only builds. <Default> (alias: default) is the one build of a design that records… |
include_dns | boolean | Include DNS (Do Not Stuff) components, flagged dns=true. Pass false to list only fitted parts |
max_results | integer | Max components entries to return. Default: 50. |
offset | integer | Index of the first components entry to return, from next_offset. Default: 0. |
list_nets List nets
List all net names in a design, sorted alphabetically. Prefer search_nets for targeted queries. `nets` is paged: `max_results` entries (default 50) from `offset`, and `next_offset` is set when there are more. Notes about parts and nets cover the page only.
| Parameter | Type | Description |
|---|---|---|
design * | string | Path to design file |
design_variant | string | Design variant name from list_designs' design_variants. Required when the design records named variants, which are its only builds. <Default> (alias: default) is the one build of a design that records… |
max_results | integer | Max nets entries to return. Default: 50. |
offset | integer | Index of the first nets entry to return, from next_offset. Default: 0. |
search_nets Search nets
Search for nets matching a regex pattern. Matching is case-insensitive by default. Returns sorted results keyed by design name, with a notes field when nothing matches. KiCad nets declared inside a hierarchical sheet are sheet-path-prefixed (e.g. a "D0" data line on the Peripherals sheet is named "/Peripherals/D0", not "/D0"), so prefer unanchored patterns like "D0" over "^/D0$" or you may miss bussed/hierarchical nets. A name with leading or trailing whitespace also matches as trimmed, so "^SIG$" finds "SIG ". `net_properties` gives the design's own properties of the nets listed, such as DIFF…
| Parameter | Type | Description |
|---|---|---|
design * | string | Path to design file |
pattern * | string | Regex pattern |
design_variant | string | Design variant name from list_designs' design_variants. Required when the design records named variants, which are its only builds. <Default> (alias: default) is the one build of a design that records… |
max_results | integer | Max results entries to return. Default: 50. |
offset | integer | Index of the first results entry to return, from next_offset. Default: 0. |
search_components_by_refdes Search components by refdes
Search for components by refdes pattern. Matching is case-insensitive. Identical components are grouped for compact output, on MPN, description, comment and value together, so every field a group reports is true of every part in it. `component_notes` names the parts with no MPN. A notes field is returned when nothing matches. Rejects patterns that match all items; use list_components for full results. `results` is paged: `max_results` entries (default 50) from `offset`, and `next_offset` is set when there are more. Notes about parts and nets cover the page only.
| Parameter | Type | Description |
|---|---|---|
design * | string | Path to design file |
pattern * | string | Regex pattern for refdes |
design_variant | string | Design variant name from list_designs' design_variants. Required when the design records named variants, which are its only builds. <Default> (alias: default) is the one build of a design that records… |
include_dns | boolean | Include DNS components, flagged dns=true. Pass false for fitted parts only |
max_results | integer | Max results entries to return. Default: 50. |
offset | integer | Index of the first results entry to return, from next_offset. Default: 0. |
search_components_by_mpn Search components by MPN
Search for components by MPN (Manufacturer Part Number) pattern. Not all netlists include MPN data; if unavailable, fall back to search_components_by_refdes or search_components_by_description, or ask the user for a BOM. `component_notes` names the parts with no MPN. Rejects patterns that match all items; use list_components for full results. `results` is paged: `max_results` entries (default 50) from `offset`, and `next_offset` is set when there are more. Notes about parts and nets cover the page only.
| Parameter | Type | Description |
|---|---|---|
design * | string | Path to design file |
pattern * | string | Regex pattern for MPN |
design_variant | string | Design variant name from list_designs' design_variants. Required when the design records named variants, which are its only builds. <Default> (alias: default) is the one build of a design that records… |
include_dns | boolean | Include DNS components, flagged dns=true. Pass false for fitted parts only |
max_results | integer | Max results entries to return. Default: 50. |
offset | integer | Index of the first results entry to return, from next_offset. Default: 0. |
search_components_by_description Search components by description
Search for components by description pattern. Not all netlists include description data; if unavailable, fall back to search_components_by_refdes or search_components_by_mpn, or ask the user for a BOM. `component_notes` names the parts with no MPN. Rejects patterns that match all items; use list_components for full results. `results` is paged: `max_results` entries (default 50) from `offset`, and `next_offset` is set when there are more. Notes about parts and nets cover the page only.
| Parameter | Type | Description |
|---|---|---|
design * | string | Path to design file |
pattern * | string | Regex pattern for description |
design_variant | string | Design variant name from list_designs' design_variants. Required when the design records named variants, which are its only builds. <Default> (alias: default) is the one build of a design that records… |
include_dns | boolean | Include DNS components, flagged dns=true. Pass false for fitted parts only |
max_results | integer | Max results entries to return. Default: 50. |
offset | integer | Index of the first results entry to return, from next_offset. Default: 0. |
query_xnet_by_net_name Trace XNET from a net
Get full XNET (Extended Net) connectivity for a net. Traces through series components, so the result is the whole electrical node rather than the one net; `circuit_hash` identifies unique topologies. Traversal stops at power and ground nets: recognised by name (VCC*, VDD*, 3V3, GND, GND1, VSS, ...), by a supply or ground pin on the net (VDD, AVDD, VBUS, GND, PGND, ...), or by carrying more than 40 pins. `visited_nets` names every net the result crossed. `skip_types` leaves series passives out; `skip_types=['C','L','R']` removes all three from the result. Rejects a net named as a ground (GND, G…
| Parameter | Type | Description |
|---|---|---|
design * | string | Path to design file |
net_name * | string | Net name. An exact match wins; otherwise it is matched ignoring leading and trailing whitespace, and for Cadence as a 31-character PSTWRITER 16.6 name |
design_variant | string | Design variant name from list_designs' design_variants. Required when the design records named variants, which are its only builds. <Default> (alias: default) is the one build of a design that records… |
include_dns | boolean | Include DNS components |
max_results | integer | Max components_by_mpn entries to return. Default: 50. |
offset | integer | Index of the first components_by_mpn entry to return, from next_offset. Default: 0. |
skip_types | array | Component prefixes to exclude (e.g., ['C', 'L']) |
query_xnet_by_pin_name Trace XNET from a pin
Get full XNET connectivity starting from a component pin, named REFDES.PIN (e.g. U1.A5, R10.1). Traces through series components, so the result is the whole electrical node; `circuit_hash` identifies unique topologies. Traversal stops at power and ground nets, recognised by name (VCC*, VDD*, 3V3, GND, GND1, VSS, ...), by a supply or ground pin on the net, or by carrying more than 40 pins; `visited_nets` names every net the result crossed. `skip_types` leaves series passives out, for example `skip_types=['C','L','R']`. `components_by_mpn` is paged like query_xnet_by_net_name's. A pin on no net…
| Parameter | Type | Description |
|---|---|---|
design * | string | Path to design file |
pin_name * | string | Pin spec: REFDES.PIN (e.g., U2.10, U1.A5) |
design_variant | string | Design variant name from list_designs' design_variants. Required when the design records named variants, which are its only builds. <Default> (alias: default) is the one build of a design that records… |
include_dns | boolean | Include DNS components |
max_results | integer | Max components_by_mpn entries to return. Default: 50. |
offset | integer | Index of the first components_by_mpn entry to return, from next_offset. Default: 0. |
skip_types | array | Component prefixes to exclude |
query_component Get component details
Get full component details including all pin connections. Refdes lookup is case-insensitive. Returns MPN, description, value, and pin-to-net mappings when available. Each pin maps to its net name, or to {name, net, type, hidden} carrying whichever of these it has: a function name that differs from its number, the electrical type its symbol declares (input, output, bidirectional, tristate, open_collector, open_emitter, passive, power and the like), and hidden: true for a pin the symbol does not draw. A pin on no net reads as the net "NC", a marker and not a queryable net. If the schematic gives…
| Parameter | Type | Description |
|---|---|---|
design * | string | Path to design file |
refdes * | string | Component reference designator |
design_variant | string | Design variant name from list_designs' design_variants. Required when the design records named variants, which are its only builds. <Default> (alias: default) is the one build of a design that records… |
max_results | integer | Max pins entries to return. Default: 50. |
offset | integer | Index of the first pins entry to return, from next_offset. Default: 0. |
run_erc Run electrical rule checks
Run electrical rule checks (ERC) on a design's netlist and return findings grouped by severity (`errors`, `warnings`) then rule id. `findings` is paged: `max_results` entries (default 50) from `offset`, and `next_offset` is set when there are more. Notes about parts and nets cover the page only. Findings are counted across every rule, errors first; `totals` gives every rule's count. Rules: `net.single_pin` (error: one functional pin, no test point), `net.testpoint_orphan` (error: only test points), `net.testpoint_stub` (warning: one functional pin plus test points), `net.whitespace_in_name` (w…
| Parameter | Type | Description |
|---|---|---|
design * | string | Path to design file |
design_variant | string | Design variant name from list_designs' design_variants. Required when the design records named variants, which are its only builds. <Default> (alias: default) is the one build of a design that records… |
exclude_rules | array | Skip these rule ids |
include_dns | boolean | Include DNS (Do Not Stuff) components in the checks |
include_rules | array | Only run these rule ids (e.g., ['net.single_pin']). Omit for all |
max_results | integer | Max findings entries to return. Default: 50. |
offset | integer | Index of the first findings entry to return, from next_offset. Default: 0. |
list_pages List pages
List the schematic pages of a Cadence .DSN, KiCad or Altium design: a .DSN in the order the netlist reads it, a KiCad design in page-number order (one page per sheet instance), an Altium project in its document order (a repeated sheet once per channel, named `<sheet> (<room>)`). Each page has its name, schematic, sheet size, title and page number from its title block, and counts of parts, nets, ports and off-page connectors. A Cadence schematic placed by several hierarchical blocks appears once per placement, named `<page> (block <path>)`; a KiCad sheet is named by its sheet path, such as `Pow…
| Parameter | Type | Description |
|---|---|---|
design * | string | Path to a .DSN design, as returned by list_designs |
get_page Get page
One schematic page of a Cadence .DSN, KiCad or Altium design as drawn: its parts (refdes, value, symbol, location, rotation, mirror, box, and pins with their electrical types and nets), wires with their nets, net labels, hierarchical ports with their direction, globals (power and ground symbols, and KiCad global labels), off-page connectors, bus entries, hierarchical blocks, the title-block fields, text_notes (free text the designer placed on the page, such as jumper defaults and current ratings), and erc_markers (messages Capture's own design rules check left on the page; KiCad and Altium sav…
| Parameter | Type | Description |
|---|---|---|
design * | string | Path to a .DSN design, as returned by list_designs |
page * | string | Page as list_pages names it; its plain name, or <schematic>/<page>, when only one page has that name |
search_notes Search notes
Search the notes on every schematic page of a Cadence .DSN, KiCad or Altium design: free text the designer placed on a page, such as default jumper settings, current ratings, assembly options and references to other sheets, which no netlist carries. Returns each note matching a regex pattern (case-insensitive) with its page, as list_pages names it, and its position in mils. Search a net or part name to find the notes that mention it. `text_notes` is paged: `max_results` entries (default 50) from `offset`, and `next_offset` is set when there are more. Notes about parts and nets cover the page o…
| Parameter | Type | Description |
|---|---|---|
design * | string | Path to a .DSN design, as returned by list_designs |
pattern * | string | Regex pattern, matched case-insensitively against each note |
max_results | integer | Max text_notes entries to return. Default: 50. |
offset | integer | Index of the first text_notes entry to return, from next_offset. Default: 0. |
render_page Render page
Render one schematic page of a Cadence .DSN, KiCad or Altium design as a PNG image, drawn from the design files: symbols, pins with their numbers and names, wires, junctions, net labels, ports, power and ground symbols, off-page connectors, text and the title block (Cadence). Pass focus to crop to one part (a refdes) or everything on one net, with a margin. Name the page as list_pages reports it.
| Parameter | Type | Description |
|---|---|---|
design * | string | Path to a .DSN design, as returned by list_designs |
page * | string | Page as list_pages names it |
focus | string | A refdes or net name on the page: crop to that part, or to everything on that net. Omit for the whole page |