Skip to main content
Glama
Universal Netlist MCP Server

Universal Netlist MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Netlist MCP Server

Tools to query EDA netlists for circuit design review.

Supported formats:

  • Cadence OrCAD/CIS: .DSN binary schematics, parsed directly.

  • Altium Designer: .SchDoc schematics, found through their .PrjPcb project.

  • KiCad: .kicad_pro projects, or a root .kicad_sch.

  • Universal Netlist: .netlist.json files in a supported schema version, validated on load.

Example Workflow

  1. list_designs first: the designs, the path to query for each, and its design_variants

  2. search_nets and search_components_by_* to find things by pattern

  3. query_component and query_xnet_* for detail and connectivity

  4. run_erc for electrical rule checks

  5. list_pages and get_page to read a Cadence, KiCad or Altium page as drawn: what sits where, and its nets; render_page to see it as an image

Conventions

  • Read designs only through these tools. The universal-netlist binary is this server; its command line is for agents without MCP, so do not run it from a shell

  • Pass absolute design paths: a relative one resolves against this process's working directory, which a plugin may set to its own folder

  • Every result describes, and echoes, one design_variant of a design. A design with named variants requires design_variant on every query, one of the names list_designs lists: those are its only builds, and <Default> is refused. A design with no variants has one build, <Default> (alias default), with each part's own Do Not Stuff state

  • DNS (Do Not Stuff) parts are flagged dns: true: listing and search include them, traversal and ERC only with include_dns=true

  • A part the selected variant substitutes for the base part is flagged alternate_part: true

  • A result with an error field failed; its message names the tool that finds what you wanted

  • A net named with leading or trailing whitespace comes with net_name_warnings; its netlist_name is the name an Allegro export or another board uses

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_designsA

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 lists each design's builds: its native variants (Altium, Cadence CIS, KiCad; fabrication where the vendor marks one a build assembly), or <Default> alone when it records none. A design with variants requires design_variant on every query, and <Default> is refused on it.

Cadence: query the .DSN; it carries properties, connectivity, and CIS stuffing. KiCad: query the .kicad_pro; a committed .net export is read directly, otherwise the schematics are read themselves (no KiCad install needed), with kicad-cli as the last resort; a design none of them can read is reported in error.

A design marked unsupported: true cannot be read (for example an OrCAD design saved in an older Capture format); error says why and what to do, and every query on it returns that error, so do not query it.

list_componentsA

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 MPN. If no components match, the error lists the prefixes the same query would return, and names apart any prefix whose components are all DNS. A prefix whose components are all DNS returns an empty list with a note saying so; pass include_dns=true to list them. components 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.

list_netsA

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.

search_netsA

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 DIFFERENTIAL_PAIR (the pair a net belongs to: Capture's own property, an Altium Differential Pair directive on both nets, or KiCad's +/- or P/N pair naming less pairs carrying a supply pin) and VOLTAGE, where the design sets them. Rejects patterns that match all items; use list_nets 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.

search_components_by_refdesA

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.

search_components_by_mpnA

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.

search_components_by_descriptionA

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.

query_xnet_by_net_nameA

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, GND1, AGND, VSS, ...; not GND_SW) with an error. components_by_mpn 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. A name that matches no net exactly is matched ignoring leading and trailing whitespace, then as the 31-character name a PSTWRITER 16.6 Allegro export gives a longer net; notes says when that happened, and a name that could mean several nets returns them. component_notes names the parts with no MPN. net_properties gives the design's own properties of the nets listed, such as DIFFERENTIAL_PAIR (the pair a net belongs to: Capture's own property, an Altium Differential Pair directive on both nets, or KiCad's +/- or P/N pair naming less pairs carrying a supply pin) and VOLTAGE, where the design sets them. If the net is not found, search_nets finds the name.

query_xnet_by_pin_nameA

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 reads as the net NC and returns an empty result. component_notes names the parts with no MPN. net_properties gives the design's own properties of the nets listed, such as DIFFERENTIAL_PAIR (the pair a net belongs to: Capture's own property, an Altium Differential Pair directive on both nets, or KiCad's +/- or P/N pair naming less pairs carrying a supply pin) and VOLTAGE, where the design sets them. Rejects pins on a net named as a ground (GND, GND1, AGND, VSS, ...) with an error.

query_componentA

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 the refdes to several different parts, the result lists every part under components, each carrying error: "Reference designator is duplicated". pins 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. A duplicated refdes counts its parts' pins together. If the refdes is not found, search_components_by_refdes finds it; errors include guidance and suggestions.

run_ercA

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 (warning: leading or trailing whitespace in a net name), net.whitespace_name_collision (error: separate nets whose names match once trimmed), refdes.duplicate (error: one refdes on several parts; keyed by refdes, {part_count, pages}), refdes.section_repeated (error: a part drawing a section twice; keyed by refdes, [{section, placements, pages}]), net.unnamed (warning: an auto-generated name on a 2+-pin net), and from pin electrical types (an untyped pin never conflicts and may drive): pin.output_conflict (error: drivers that short, such as two outputs), pin.output_contention (warning: a possible fight, such as a three-state pin on a driven net), pin.input_undriven (error: inputs nothing can drive), pin.power_unconnected (error: a power_in pin alone on its net, or under NC), pin.power_undirected_unconnected (warning: the same for an undirected power pin), and capture.erc_error / capture.erc_warning (Capture's saved ERC markers by level, keyed by page). Test points have the TP refdes prefix. Findings key each net to its REFDES.PIN endpoints (always arrays); net.unnamed lists bare net names. checked lists the rules that ran; skipped counts parts left out, such as Do-Not-Stuff ones. include_rules/exclude_rules scope the run, include_dns counts Do-Not-Stuff parts; an unknown rule id returns an error. Other unconnected pins are not checked: they cannot be told apart from intentional no-connects.

list_pagesA

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 Power/LDO, and the root sheet by its name. Use get_page for one page's contents.

get_pageA

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 save none). Net names match list_nets. Coordinates are in mils (1/1000 inch), x to the right and y down from the sheet's top-left corner. Name the page as list_pages reports it.

search_notesA

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 only.

render_pageA

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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 15 tools

Disambiguation5/5

Each tool has a clearly distinct role: listing versus searching, page listing versus page detail/rendering, component lookup versus pattern search, and XNET lookup by net versus by pin are all explicitly separated. The only near-overlaps are intentional list/search pairs, and the descriptions make the boundary clear.

Naming Consistency5/5

All names use snake_case with consistent verb_noun or verb_target_by_field patterns such as list_nets, search_nets, query_component, get_page, render_page, and search_components_by_mpn. There is no mixing of camelCase or vague verb styles.

Tool Count5/5

Fifteen tools is well within the appropriate range for a netlist and schematic analysis server. The variants such as XNET by net versus pin and component search by refdes, MPN, or description each serve a distinct query path.

Completeness4/5

The surface covers designs, pages, nets, components, searches, connectivity, ERC, rendering, and notes, which is strong lifecycle coverage for read-only netlist inspection. A minor gap is the lack of a direct 'list all components' operation independent of a refdes prefix, though search and prefix-discovery workflows provide workarounds.

Maintenance

ActivityActive
ResponsivenessUsually handled