Validate and render declarative diagram specs to clean SVG or PNG; no coordinates needed.
MCPpedia last refreshed this data
io.github.nuncaeslupus/drawspec is an MCP server that validate and render declarative diagram specs to clean SVG or PNG; no coordinates needed. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 59/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"io-github-nuncaeslupus-drawspec": {
"args": [
"drawspec"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Validate and render declarative diagram specs to clean SVG or PNG; no coordinates needed.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
uvx 'drawspec' 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 drawspec 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 / maps
Design tokens from any live site: colors, type, spacing, DTCG, Tailwind, drift checks.
AI-native design editor. Open-source Figma alternative.
AI tools for EasyEDA Pro schematics, PCB placement and routing, SPICE simulation, and DRC.
Generate game sprites and assets from text prompts for game development.
MCP Security Weekly
Get CVE alerts and security updates for io.github.nuncaeslupus/drawspec and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Diagrams from a JSON description — no coordinates, so nothing to misplace. You say what the diagram means: the boxes, the arrows, the labels, and a role for each. drawspec decides every position, size, route and colour, and draws a clean SVG, PNG or plain-text diagram.
It is built for language models first. An LLM that writes SVG by hand gets the
content right and the placement wrong — arrows that miss their boxes, text that
spills out, lines that stop short. A drawspec document has no x, y or font
size to get wrong: those fields are refused, and every mistake comes back as an
error pointing at the exact field, so the model can fix it and try again.
pip install drawspec
drawspec render diagram.json -o diagram.svg
Browse the gallery: more than 30 kinds, drawn →
Try it in the browser, nothing to install: the playground →
You write this:
{
"$schema": "https://nuncaeslupus.github.io/drawspec/schema/drawspec-v1.schema.json",
"version": 1,
"kind": "flow",
"title": "The nightly import",
"description": "The vendor's export is fetched, checked and loaded into staging before it replaces the live table; a timeout and a deadlock are each retried in place.",
"nodes": [
{"id": "fetch", "text": "Fetch the vendor's export", "role": "start"},
{"id": "check", "text": "Do the row counts match?", "role": "decision"},
{"id": "load", "text": "Load into staging"},
{"id": "page", "text": "Page the data owner", "role": "terminal"},
{"id": "swap", "text": "Swap staging into live", "role": "terminal"}
],
"edges": [
{"from": "fetch", "to": "fetch", "label": "timed out: retry"},
{"from": "fetch", "to": "check"},
{"from": "check", "to": "load", "label": "yes"},
{"from": "check", "to": "page", "label": "no"},
{"from": "load", "to": "load", "label": "deadlock: retry"},
{"from": "load", "to": "swap"}
]
}
drawspec draws this: