Check a diagram parses and reads cleanly before publishing
Two or three companies' docs show a full fit.
What counts as done
A pass or fail with a nonzero exit or error object on failure, naming the line or element at fault, and for layout checks a list of overlapping boxes, overflowing labels and dangling edges, all without publishing anything.
Measured, for our own tests: under 2 seconds per diagram. No docs we read state these figures, so they don't count against a listing here.
How agents ask for it: check this Mermaid is valid
, lint the diagram
, does this render
, validate the C4 workspace in CI
Does the job 2
The docs show it meets the test above, and nothing we read says otherwise.
| Listing | Why |
|---|---|
| ExcaliClaw D ExcaliClaw | validate_design dry-runs a write with nothing saved, every write is rejected whole when it fails the gate and the response lists each error, and lint_design lists overlaps, arrows crossing boxes, text overflow and unbound arrows. Speed bar not stated. source |
| PlantUML B No legal entity found. Copyright Arnaud Roques | --check-syntax checks without generating images, exit is above 0 on error, and -stdrpt prints errors as single lines naming the line and file, suitable for CI. No overlap or dangling-edge check, which only matters for layout lint. Speed bar not stated. source |
Does the job, with a limit 7
It does the job, but something in the docs or a user's account will get in an agent's way. The limit is named in each row.
| Listing | Why |
|---|---|
| D2 B The Hack Foundation (Hack Club), fiscal sponsor of the D2 project | d2 validate checks a file and the CLI's exit status reports failure, but there is no layout check for overlaps or dangling edges, and the maintainer declined a linter for models (acc-29). source |
| Diagrams.so API + MCP B RedHold LLC | get_warnings returns Well-Architected findings and fix_warning applies one, but there is no syntax check, no overlap or dangling-edge list, and no exit code. source |
| draw.io + MCP B draw.io Ltd | Diagrams are auto-repaired, and a layout check (overflowing labels, overlapping shapes, lines through shapes) is on staging per the maintainer on acc-19, not yet on mcp.draw.io. No syntax check with a nonzero exit or line number. source |
| Excalidraw C Excalidraw s.r.o. | check_scene_layout reports text sticking out and overlaps as layoutIssues without rendering, and writes return warnings. This is an MCP call on a workspace scene, not a CLI with an exit status for CI. source |
| Kroki C Yuzu tech, a French software firm. No registered legal form found | A bad diagram fails the request, with JSON errors on request; error type and line number in the JSON are unreleased on main. No layout check for overlaps or dangling edges. source |
| Mermaid Chart MCP F Mermaid Chart Inc. | A validation tool exists, but the docs don't show the error shape or whether it names the failing line, and there is no layout check. acc-30 shows Mermaid parse traps (parentheses in labels). source |
| Structurizr + MCP B Structurizr Limited | validate returns OK or an error message, inspect lists violations, and inspect's exit-0-on-violations bug (acc-26) was fixed in 2026.10.26. The docs don't say whether validate's error names the line. source |
Doesn't do this job 8
Listings in the category that do something else, with the reason.
| Listing | Why |
|---|---|
| AI Diagram Maker MCP E AI Diagram Maker (Rajasekar Elango) | No validation tool. source |
| Cloudviz API F SIA Cloudviz Solutions | No diagram validation. source |
| Eraser API + MCP F Eraser Labs, Inc. | No validation or lint tool is listed. source |
| Lucid API + MCP B Lucid Software Inc. | No validation endpoint; a bad request returns a 400 without naming the line, and nothing checks layout. source |
| Mumble F ours tiny space | A canvas with unresolved references is refused with the reason and tool errors come back as values, but there is no validator or lint for diagram source in CI. source |
| Mural MCP F Tactivos, Inc. (d/b/a Mural) | No validation of diagram text, which it doesn't use. source |
| tldraw SDK + MCP C tldraw, Inc. | No syntax or layout check. source |
| Whimsical MCP D Whimsical, Inc. | No syntax or layout check tool. source |
What stops agents finishing
- validator exits 0 on failures
- no linter, so the model iterates blind
Around it
Before: diagramming.render-as-code, diagramming.editable-diagram. After: code.open-pr.
Where this comes from
Weight 14 of 100 in Diagramming: 8 of 37 accounts (Kroki, D2, Structurizr, Excalidraw, draw.io lint scripts) plus Mermaid Chart's validate tool
The same as data: /api/v1/use-cases/diagramming.validate-diagram.json, or the MCP tool get_use_case with id diagramming.validate-diagram. Other jobs in this category: /api/v1/niches?category=diagramming.
For companies
Do agents find, use and choose your tools?
An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.