Skip to main content
Glama

uniwire

Server Details

Electrical single-line and multi-line diagrams: build, check (NF C 15-100, IEC 60364), draw, PDF.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
uniwire-dev/uniwire
GitHub Stars
0

TDQS

Score is being calculated.

Available Tools

14 tools
apply_patchEdit an electrical diagram
Read-onlyIdempotent
Inspect

Edit an electrical diagram by node id (change a rating, add a circuit, move a load...) and return the new document. ops (applied in order): {"op":"set","id":ID,"path":"in_A","value":20} (null value removes; no id = document root, e.g. path "installation.earthing"); {"op":"add","parent":ID,"node":{...},"index":0} (or "at":"sources"); {"op":"remove","id":ID}; {"op":"move","id":ID,"parent":ID,"index":0}; {"op":"rename","id":ID,"new_id":NEW}; {"op":"link","link":{"kind":"control","from":ID,"to":ID}}; {"op":"unlink","id":LINK_ID} or {"op":"unlink","from":ID,"to":ID,"kind":K}. On failure returns ok=false and errors naming the failing op index (null = validation of the result).

ParametersJSON Schema
NameRequiredDescriptionDefault
opsYes
documentYes
validateNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

bomBill of materials
Read-onlyIdempotent
Inspect

Bill of materials of an electrical installation (nomenclature), grouped by manufacturer / part number (nodes with a product reference).

ParametersJSON Schema
NameRequiredDescriptionDefault
documentYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes
checkCheck an electrical installation (NF C 15-100, IEC 60364)
Read-onlyIdempotent
Inspect

Check an electrical installation (single-line diagram, panel, schéma unifilaire, tableau électrique): validates the document, then applies the rule profiles (NF C 15-100 'nfc15100', IEC 60364 'iec60364', PLC; default: the document's 'profiles'; 'core' always applies): breaker ratings against cable sections, RCDs, circuits per protection, selectivity... Returns findings (level error/warning/info, rule, node id, message, source), a summary, viewer_url (opens the document in the uniwire web editor: drawing, findings, downloads) and pdf_url (same, and downloads the PDF drawn by uniwire). Give both to the user as clickable links. 'scope' says what the checks cover: tell the user once that they are not a conformity certificate.

ParametersJSON Schema
NameRequiredDescriptionDefault
documentYes
profilesNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

describeOutline of an electrical diagram
Read-onlyIdempotent
Inspect

Text outline of an electrical diagram: installation, full tree of the panel with stable ids, ratings and cables, links, interlocks, boards and findings summary. Use it to review a document or find the ids for apply_patch.

ParametersJSON Schema
NameRequiredDescriptionDefault
langNoen
documentYes

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes
get_exampleGet an example installation
Read-onlyIdempotent
Inspect

Return an example installation document by name (or number prefix, e.g. '02'), to adapt to the user's project.

ParametersJSON Schema
NameRequiredDescriptionDefault
nameYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

get_reference_cardReference card of the uniwire format
Read-onlyIdempotent
Inspect

Reference card of the uniwire format for electrical diagrams: document skeleton, node types (breakers, RCDs, cables, loads, transformers, PV...) and fields, enums, links, pitfalls, examples. Read it before writing a document. level: 'compact' (~3k tokens) or 'full'; lang: 'en' or 'fr'.

ParametersJSON Schema
NameRequiredDescriptionDefault
langNoen
levelNocompact

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes
list_examplesList the example installations
Read-onlyIdempotent
Inspect

List the 52 example installations (dwellings, shops, offices, workshops, PV, EV charging, UPS, MV/LV substations, PLCs): name, title, language, profiles, earthing, system. Good starting points.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes
list_typesList the node types
Read-onlyIdempotent
Inspect

List node types (type, category, label), optionally for one category: source, measure, protection, switching, control, converter, conductor, container, connector, load.

ParametersJSON Schema
NameRequiredDescriptionDefault
langNoen
categoryNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes
normalizeNormalized document
Read-onlyIdempotent
Inspect

Resolved document: templates applied, every id assigned, canonical numbers.

ParametersJSON Schema
NameRequiredDescriptionDefault
documentYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

renderDraw the single-line or multi-line diagram
Read-onlyIdempotent
Inspect

Draw the electrical diagram (schéma unifilaire / multifilaire). kind: 'single-line' or 'multi-line'; view: a view id of the document (e.g. a wire-marking view). format 'svg' returns the SVG text of every sheet (or of 'sheet', numbered from 1); 'pdf' writes to 'path' if given, else returns base64 (requires the uniwire[pdf] extra); on the hosted server it returns pdf_url instead. To give the user the PDF, give them pdf_url as a clickable link. color: 'none' | 'conductors' | 'phase' | 'source' | 'status' | 'voltage' (adds a legend); conductor_colors: 'iec' (IEC 60445) | 'us'.

ParametersJSON Schema
NameRequiredDescriptionDefault
kindNosingle-line
pathNo
viewNo
colorNo
sheetNo
formatNosvg
documentYes
conductor_colorsNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

type_infoFields of a node type
Read-onlyIdempotent
Inspect

All fields of a node type with descriptions and allowed values (enums).

ParametersJSON Schema
NameRequiredDescriptionDefault
langNoen
typeYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

validateValidate an electrical diagram
Read-onlyIdempotent
Inspect

Validate a uniwire document (electrical diagram as JSON: object, JSON text or file path) against the format. Returns valid + issues, each naming the node id and field when possible, plus viewer_url and pdf_url (links for the user). check does the same and also applies the electrical rules.

ParametersJSON Schema
NameRequiredDescriptionDefault
documentYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

wiringWire list, wire markers and cable schedule
Read-onlyIdempotent
Inspect

Wiring exports of an installation as rows with stable column names (repérage des fils, carnet de câbles): what='markers' (one row per wire end, for label printers), 'wires' (wire list) or 'cables' (cable schedule). Marks follow the wire_marking rules of the view (id), by default the first view that declares them.

ParametersJSON Schema
NameRequiredDescriptionDefault
viewNo
whatNomarkers
documentYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

Tool Schema Changelog

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

  1. 14 tool updates
    • First observedapply_patch
    • First observedbom
    • First observedcheck
    • First observeddescribe
    • First observedget_example
    • First observedget_reference_card
    • First observedlist_examples
    • First observedlist_types
    • First observednormalize
    • First observedrender
    • First observedtype_info
    • First observedvalidate
    • First observedviewer_link
    • First observedwiring

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables Claude to validate photovoltaic system specifications and deterministically generate single-line diagrams with IEC 60617 symbols, exporting to DXF/PNG headlessly or to live AutoCAD 2027 for DWG and PDF output.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables offline AC cable sizing and verification by evaluating current capacity, voltage drop, derating, earth-fault loop impedance, and short-circuit thermal withstand against bundled or operator-supplied reference data. It also produces calculation reports identifying performed and omitted checks.
    7
    2
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables an LLM agent to assemble, wire, run, fault and observe electromechanical motor-control circuits through 26 tools covering component placement, terminal connections, button/switch operation, fault injection, and simulation control. Also lets agents load and save circuits and generate PDF drawing sets, screenshots and scripted demo videos.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables estimation of video surveillance, structured cabling, and low-current systems projects, providing tools for cost estimation, bill of materials, commercial proposals, and camera placement recommendations.
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.