Skip to main content
Glama
Universal Netlist MCP Server

Universal Netlist MCP Server

Universal Netlist: connecting electronic schematics to AI-assisted circuit analysis

Universal Netlist MCP Server

The Universal Netlist MCP Server gives AI agents the tools to understand and analyze your electrical schematics, for powerful and comprehensive design reviews through natural conversations.

It reads Cadence, Altium, and KiCad design files directly on macOS, Linux, and Windows, with no Cadence or Altium installation and no EDA license required.

Supported Formats

Format

Input Files

Cadence (OrCAD / CIS)

.DSN schematic

Altium Designer

.SchDoc

KiCad

.kicad_pro (or root .kicad_sch)

Universal Netlist Format

.netlist.json

Related MCP server: KiCad MCP Server

Install

Installing takes two steps: the universal-netlist binary, then the plugin for your agent. The plugin connects the MCP server to the agent, so there is no configuration to write.

1. Install the binary

macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/IntelligentElectron/universal-netlist/main/install.sh | bash

Windows (PowerShell):

irm https://raw.githubusercontent.com/IntelligentElectron/universal-netlist/main/install.ps1 | iex

The installer provides:

  • No dependencies: a standalone binary, with no Node.js required

  • Auto-updates: the binary checks for updates on startup; universal-netlist update updates it on demand

  • Signed binaries: macOS binaries are notarized by Apple

It places the binary in the bin/ folder of ~/Library/Application Support/universal-netlist/ (macOS), ~/.local/share/universal-netlist/ (Linux) or %LOCALAPPDATA%\universal-netlist\ (Windows), and adds that folder to your PATH in both your shell's startup file and its login profile, so apps started outside a terminal, such as the Claude desktop app, find it too. Restart your agent afterwards. If you installed before the login-profile entry existed, run the installer again: it adds only what is missing.

npm install -g @intelligentelectron/universal-netlist

Requires Node.js 22.15+. Update with npm update -g @intelligentelectron/universal-netlist.

Install the binary one way only: the plugin runs the first universal-netlist on your PATH.

2. Install the plugin

Claude Code

/plugin marketplace add IntelligentElectron/universal-netlist
/plugin install universal-netlist@universal-netlist

Local sessions in the Code tab of the Claude desktop app use Claude Code's plugins, so the server is available there too.

OpenAI Codex

codex plugin marketplace add IntelligentElectron/universal-netlist --sparse .agents/plugins --sparse plugins
codex plugin add universal-netlist@universal-netlist

The --sparse paths fetch only the plugin; Codex otherwise clones the whole repository, test fixtures included, which takes minutes. The plugin works in the Codex CLI and the Codex app.

Then ask the agent to review a schematic, trace a net, or check a design.

Other agents

Open Customize, choose Browse Marketplace, then Add Marketplace → Import from GitHub. Enter IntelligentElectron/universal-netlist and add the universal-netlist plugin.

copilot plugin marketplace add IntelligentElectron/universal-netlist
copilot plugin install universal-netlist@universal-netlist

Add this to the project's .claude/settings.json:

{
  "extraKnownMarketplaces": {
    "universal-netlist": {
      "source": { "source": "github", "repo": "IntelligentElectron/universal-netlist" }
    }
  },
  "enabledPlugins": { "universal-netlist@universal-netlist": true }
}

and this to the project's .codex/config.toml:

[marketplaces.universal-netlist]
source_type = "git"
source = "https://github.com/IntelligentElectron/universal-netlist.git"
sparse_paths = [".agents/plugins", "plugins"]

[plugins."universal-netlist@universal-netlist"]
enabled = true

Each person still installs the binary once.

If you registered the server yourself before, remove that registration so the agent does not run two copies:

claude mcp remove --scope user universal-netlist
codex mcp remove universal-netlist

Every MCP tool is also a shell command, for an agent in a sandbox or container that cannot connect an MCP server:

universal-netlist search_nets board.DSN --pattern '^VCC'

The plugin carries a skill that teaches an agent those commands, their flags and exit codes, and the parse cache; the agent uses it only when the MCP server is not connected. Agents that read Agent Skills can install the skill alone through the GitHub CLI:

gh skill install IntelligentElectron/universal-netlist universal-netlist --agent github-copilot --scope user

--agent takes opencode, amp, goose and the other names gh skill install --help lists. See docs/cli.md for the command line itself.

Observability (OpenTelemetry)

The server and its command line can emit OpenTelemetry traces, metrics, and logs for every tool call and command, which report what is used, how long they take, and what fails. Any OTLP-compatible backend receives them (an OpenTelemetry Collector, Jaeger, Tempo, Prometheus, Honeycomb, Datadog, or a managed cloud tracing service).

OpenTelemetry is disabled by default and is enabled and configured through the standard OTEL_* environment variables, with no code changes. To keep telemetry on your own disk instead, set UNIVERSAL_NETLIST_OTEL_DIR.

See Observability (OpenTelemetry) for setup, configuration, and the full list of emitted spans, metrics, and logs.

Documentation

See docs/ for API documentation, response schemas and supported platforms, docs/cli.md for the binary's command line, docs/library.md for calling the tools in-process from your own code, docs/parse-cache.md for how parses are reused between queries, and docs/password-protected-designs.md for OrCAD designs saved with a password.

See CONTRIBUTING.md for development guidelines.

Privacy Policy

The server runs on your machine and sends the author nothing, and keeps no record of its use unless you turn telemetry on. The full policy is PRIVACY.md.

About

This project is hosted on GitHub under the IntelligentElectron organization.

Universal Netlist MCP Server and the universal netlist open standard are original works by Valentino Zegna.

Acknowledgments

The Cadence DSN binary parser is a TypeScript port of OpenOrCadParser by Dominik Wernberger. Their work reverse-engineering the OrCAD binary format made direct schematic parsing possible.

License

Apache License 2.0 - see LICENSE

Available Tools

15 tools
get_pageGet pageA
Read-onlyIdempotent

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.

Inputs: page (required), design (required).

list_componentsList componentsA
Read-onlyIdempotent

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.

Inputs: type (required), design (required), offset, include_dns, +2 more.

list_designsList designsA
Read-onlyIdempotent

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.

Inputs: path, offset, pattern, max_depth, +1 more.

list_netsList netsA
Read-onlyIdempotent

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.

Inputs: design (required), offset, max_results, design_variant.

list_pagesList pagesA
Read-onlyIdempotent

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.

Inputs: design (required).

query_componentGet component detailsA
Read-onlyIdempotent

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.

Inputs: design (required), refdes (required), offset, max_results, +1 more.

query_xnet_by_net_nameTrace XNET from a netA
Read-onlyIdempotent

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.

Inputs: design (required), net_name (required), offset, skip_types, +3 more.

query_xnet_by_pin_nameTrace XNET from a pinA
Read-onlyIdempotent

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.

Inputs: design (required), pin_name (required), offset, skip_types, +3 more.

render_pageRender pageA
Read-onlyIdempotent

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.

Inputs: page (required), design (required), focus.

run_ercRun electrical rule checksA
Read-onlyIdempotent

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.

Inputs: design (required), offset, include_dns, max_results, +3 more.

search_components_by_descriptionSearch components by descriptionA
Read-onlyIdempotent

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.

Inputs: design (required), pattern (required), offset, include_dns, +2 more.

search_components_by_mpnSearch components by MPNA
Read-onlyIdempotent

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.

Inputs: design (required), pattern (required), offset, include_dns, +2 more.

search_components_by_refdesSearch components by refdesA
Read-onlyIdempotent

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.

Inputs: design (required), pattern (required), offset, include_dns, +2 more.

search_netsSearch netsA
Read-onlyIdempotent

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.

Inputs: design (required), pattern (required), offset, max_results, +1 more.

search_notesSearch notesA
Read-onlyIdempotent

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.

Inputs: design (required), pattern (required), offset, max_results.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    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

    Related MCP Connectors

    Related MCP Servers