/uml-mcp:uml-mcp-llm-visualizerfrom uml-mcp
Draws LLM and neural-network architectures as 2D layer maps or rotatable 3D scenes. Supports autoencoders, VAEs, GANs, decoder-only LLMs, and encoder-decoder transformers.
Ships in uml-mcp. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Follow skill://uml-mcp-diagrams/SKILL.md. Layer maps, autoencoder and GAN shapes, grouped N× blocks, and a rotatable 3D scene from one JSON source.
| Type | Use for | Example prompt |
|---|---|---|
llm_2d | a neural network or LLM architecture as a 2D map, or an autoencoder, VAE or GAN | Draw a VAE: input image, encoder, 2D latent z, decoder, reconstruction. |
llm_3d | the same model as a rotatable 3D scene: layer panels, with encoder and decoder funnels | Show the VAE as a 3D scene I can rotate, encoder narrowing to the latent and decoder widening back. |
list_diagram_types or uml://types); the bundled plugins are on by default, but a server may turn them off with plugins.bundled: false.uml://examples and keep its field names.validate_uml; an error names the field and, for a bad reference, lists the known ids, so fix it and validate again.generate_uml_image for a chat image, or generate_uml with output_format: "html" for the interactive page in the MCP App viewer. Clients without MCP Apps still get the PNG and SVG.theme (auto, dark, light) rather than editing colours.| Model | Layers (kind) |
|---|---|
| Autoencoder | input → encoder → bottleneck → decoder → output |
| VAE | input → encoder → two vector heads (μ, log σ²) → bottleneck (z = μ + σ ⊙ ε) → decoder → output |
| GAN | token (noise) → decoder (generator) → vector (fake sample) → decision (discriminator); a dashed edge for real data |
| Decoder-only LLM | input → embedding → attention and feedforward (repeat: 32) → normalization → output; a dashed residual edge |
| Encoder-decoder transformer | two groups with repeat: 6: encoder and decoder layers inside, a cross-attention edge between them |
Use label and kind. The parser also accepts name and type and infers a missing kind from the id and label (encoder, decoder, latent, input, output...), but explicit kinds give the shapes you expect. Give a title (the default is "Model architecture").
{"title":"Variational autoencoder","layers":[{"id":"x","label":"Input x","kind":"input","shape":[784]},{"id":"enc","label":"Encoder qφ(z|x)","kind":"encoder","shape":[256]},{"id":"mu","label":"Mean μ","kind":"vector","shape":[2]},{"id":"logvar","label":"Log variance log σ²","kind":"vector","shape":[2]},{"id":"z","label":"z = μ + σ ⊙ ε","kind":"bottleneck","shape":[2]},{"id":"dec","label":"Decoder pθ(x|z)","kind":"decoder","shape":[256]},{"id":"xr","label":"Reconstruction x̂","kind":"output","shape":[784]}],"connections":[{"from":"x","to":"enc"},{"from":"enc","to":"mu","label":"predict μ"},{"from":"enc","to":"logvar","label":"predict log σ²"},{"from":"mu","to":"z","label":"reparameterize"},{"from":"logvar","to":"z","label":"σ = exp(½ log σ²)"},{"from":"z","to":"dec"},{"from":"dec","to":"xr"}]}
{"title":"Decoder-only transformer","subtitle":"Grouped view of a 7B parameter language model","theme":"dark","layers":[{"id":"tokens","label":"Token IDs","kind":"input","shape":[2048],"note":"BPE token sequence"},{"id":"embed","label":"Token embedding","kind":"embedding","shape":[2048,4096]},{"id":"attn","label":"Grouped-query attention","kind":"attention","shape":[32,128],"repeat":32,"note":"32 query heads, 8 key/value heads"},{"id":"ffn","label":"SwiGLU feed-forward","kind":"feedforward","shape":[4096,11008],"repeat":32},{"id":"norm","label":"RMSNorm","kind":"normalization","shape":[4096]},{"id":"logits","label":"Vocabulary logits","kind":"output","shape":[32000]}],"connections":[{"from":"tokens","to":"embed"},{"from":"embed","to":"attn","label":"hidden states"},{"from":"attn","to":"ffn","label":"residual stream"},{"from":"ffn","to":"norm"},{"from":"norm","to":"logits"},{"from":"embed","to":"norm","label":"residual path","style":"dashed"}]}
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub antoinebou12/uml-mcp --plugin uml-mcp14 skills in this plugin
/uml-mcp-diagramsRender and verify UML, C4, Mermaid, D2 and D3 diagrams./uml-mcp-agent-traceDraw agent run traces with LLM, tool, retrieval and sub-agent steps on a timeline (agent_trace)./uml-mcp-archifyDraw archify architecture, workflow and sequence diagrams with colour-coded groups./uml-mcp-batchRender and verify diagram batches and consistent multi-format architecture conversions, including four C4 levels./uml-mcp-c4-modelDraw a C4 model readers can drill into, from context to containers to components (c4_model)./uml-mcp-d3-pluginsDiscover installed D3 plugins and render architecture diagrams with cloud and AI logos in the MCP App.Other plugins' skills for the same job