PlantUML SLD MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
PlantUML SLD MCP Server
MCP server for generating electrical Single-Line Diagrams (SLDs) using PlantUML.
Features
Generate SLD diagrams from YAML topology definitions
Bootstrap topology from load-list-skill output
Support for multiple distribution templates (radial, redundant, generator)
System view (collapsed) and detailed view (expanded) rendering
Shareable PlantUML URLs for collaboration
Machine-readable YAML topology as source of truth
Related MCP server: excalix
Installation
# Using uv
uv pip install -e .
# With optional pandapower analysis
uv pip install -e ".[analysis]"
# With dev dependencies
uv pip install -e ".[dev]"PlantUML Backend
The server requires a PlantUML backend. Install one of:
Native binary (recommended):
apt install plantumlJava JAR:
export PLANTUML_JAR=/path/to/plantuml.jarDocker:
docker pull plantuml/plantuml
MCP Tools
Tool | Description |
| Validate SLD topology YAML against schema |
| Generate PlantUML source from topology |
| Generate PlantUML source for a single bus/MCC |
| Render diagram to PNG/SVG |
| Generate shareable PlantUML URLs |
| Check PlantUML backend availability |
| List available electrical symbols |
| Create topology from load-list-skill output |
Usage
Claude Code Configuration
Add to your Claude Code MCP settings:
{
"mcpServers": {
"plantuml-sld": {
"command": "uv",
"args": ["run", "--directory", "/path/to/plantuml-sld-mcp-server", "plantuml-sld-mcp"]
}
}
}Example Workflow
Bootstrap from load list:
# Use sld_bootstrap_from_loadlist with load-list.yaml # Choose distribution template: single_utility_radialValidate topology:
# Use sld_validate_topology to check for errorsGenerate diagram:
# Use sld_generate_diagram for PNG/SVG output # Or sld_encode_plantuml for shareable URL
Topology Schema
See schemas/sld-topology.schema.yaml in electrical-distribution-skill for the full schema.
Key Components
Buses: Main switchboards, MCCs, distribution panels
Equipment: Utilities, transformers, breakers, motors, VFDs
Connections: Feeders, bus ties, control circuits
Distribution Templates
Template | Description |
| Utility → Transformer → MSB → MCCs |
| Adds standby generator with ATS |
| Split bus with tie breaker |
View Modes
System View: Collapsed buses with aggregated loads
Detailed View: Individual feeders and equipment per bus
Development
# Run tests
pytest
# Run with coverage
pytest --cov=src
# Lint
ruff check src testsWorkflow Integration
This server is part of the puran-water electrical engineering workflow:
┌─────────────────────────┐ ┌──────────────────────────┐ ┌─────────────────────┐
│ equipment-list-skill │ ──► │ load-list-skill │ ──► │ electrical- │
│ (equipment + power_kw) │ │ (FLC, protection, │ │ distribution-skill │
└─────────────────────────┘ │ MCC schedules) │ │ (SLD generation) │
└──────────────────────────┘ └─────────────────────┘
│ │
│ ▼
│ ┌─────────────────────┐
└──────────────────►│ plantuml-sld-mcp │
│ (this server) │
└─────────────────────┘
│
▼
┌─────────────────────┐
│ PlantUML PNG/SVG │
│ + shareable URLs │
└─────────────────────┘Related Projects
Upstream (Data Sources)
load-list-skill - NEC/IEC-compliant electrical load lists with MCC schedules
equipment-list-skill - Equipment lists with power ratings and feeder types
Companion Skill
electrical-distribution-skill - Claude Code skill that orchestrates this MCP server
Similar Pattern
plantuml-csa-mcp-server - Control System Architecture diagrams (same YAML → PlantUML pattern)
csa-diagram-skill - CSA skill using plantuml-csa-mcp-server
License
MIT License - Puran Water
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Render, validate, encode/decode PlantUML diagram-as-code; 22 diagram types. Free, no auth.
Polished system design diagrams (SVG/PNG) from a tiny YAML spec, ~18x fewer tokens than raw SVG.
Generate cloud architecture diagrams, flowcharts, and sequence diagrams.
Routed, editable network diagrams from CDP/LLDP output, CSV or Graphviz DOT, as draw.io files
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides access to up-to-date Ilograph documentation and syntax validation capabilities.113MIT
- AlicenseNot gradedqualityBmaintenanceEnables generating Excalidraw architecture diagrams from a topology spec, with automatic layout, styling, and export to .excalidraw, SVG, and PNG files.12 npmMIT

uniwireofficial
AlicenseAqualityBmaintenanceElectrical single-line and multi-line diagrams as JSON: build them, check them against NF C 15-100 / IEC 60364 rules, draw SVG/PDF, export wire lists and bills of materials. Hosted endpoint at https://mcp.uniwire.sh/mcp.3414178 PyPI14Apache 2.0- AlicenseNot gradedqualityBmaintenanceEnables source-preserving import and analysis of EPLAN export reports (devices, connections, PLC I/O, terminals, cables, parts, network, pages) as immutable queryable snapshots, plus inspection of DXF/PDF/DWG drawings and derivation of electrical project evidence. Works offline without EPLAN, supporting querying, duplicate/endpoint checks, revision comparison, and verified JSON export.MIT