io.github.lucas19919/diagonaldiagrams is an MCP server that diagrams and charts for agents: Mermaid or a spec in, an audited SVG out. Its tool list has not been published yet over stdio, requires no API key, and scores 58/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"diagonaldiagrams": {
"args": [
"diagonaldiagrams",
"mcp"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Diagrams and charts for agents: Mermaid or a spec in, an audited SVG out.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
uvx 'diagonaldiagrams' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked diagonaldiagrams against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in design
Design tokens from any live site: colours, type, spacing, components, drift against a baseline.
Draw and visually collaborate with your agents on tldraw's canvas.
MeiGen-AI-Design-MCP — Turn Claude Code / OpenClaw into your local Lovart. Local ComfyUI, 1,400+ prompt library, multi-direction parallel generation.
Inspect and edit Three.js scenes, materials, shaders, lights in real time from any AI agent
MCP Security Weekly
Get CVE alerts and security updates for io.github.lucas19919/diagonaldiagrams and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
diagonaldiagrams is a Python library and MCP server that lets an AI agent draw diagrams and charts as SVG, and check them for overlapping text, arrows through boxes and text that spills, before showing them.
Site: filmed examples, benchmarks and a gallery.

$ diagonaldiagrams mermaid flow.mmd -o flow.svg
{"ok": true, "svg": "flow.svg", ..., "items": 3,
"layout": ["row 1: Start", "row 2: Ready? (decision)", "row 3: Done"]}
When ok is false, each error comes with a fix.
Needs Python 3.11 or newer.
Command line
pip install diagonaldiagrams
MCP (Cursor, Claude Desktop and other MCP apps). Add this to the app's MCP settings; it needs uv. The server is in the official MCP registry as io.github.lucas19919/diagonaldiagrams.
{
"mcpServers": {
"diagonaldiagrams": { "command": "uvx", "args": ["diagonaldiagrams", "mcp"] }
}
}
Claude Desktop can also open the .mcpb file from the latest release.
Claude Code
/plugin marketplace add lucas19919/diagonaldiagrams
/plugin install diagonaldiagrams@diagonaldiagrams
Any other agent: tell it Install diagonaldiagrams from https://github.com/lucas19919/diagonaldiagrams. It follows the install skill, then draws with the drawing skill. The short version for models is llms.txt.
| Command | Input | Draws |
|---|---|---|
mermaid | flowchart, sequenceDiagram, erDiagram | A flow, a sequence, or a schema |
flow, arch, seq, schema | JSON | The same four, from a spec |
iso | JSON | A layer stack in isometric 3D, with links between layers |
bar, line, scatter | CSV | A comparison, a trend, a relationship |
geo | CSV or GeoJSON | Places on a built-in coastline |
chart <type> | CSV or JSON | About 60 more |
describe <type> prints the spec shape for any figure type.--fit column sizes a figure for a README or docs page. slide is the default, and page is for print.story turns one figure into several views in one page, and --gif films it when ffmpeg is installed.apply edits a spec with a JSON patch, and export writes PNG, PDF, draw.io or Excalidraw files.Measured on 2026-10-19 against Mermaid CLI and Pele, on version 0.8.0, with the same four flowcharts of 5 to 40 steps.