Head to head · Diagram creation · October 2026 research run

Diagrams.so API + MCP vs PlantUML

PlantUML scores 66.3 (B) on agent readiness against Diagrams.so API + MCP's 62.7 (B), and leads in 3 of 7 scored categories. Diagrams.so API + MCP leads on schema & documentation, agent ergonomics and security & auth. Both do diagram creation.

Best diagramming APIs and diagram-as-code for AI agents · All 149 diagrams comparisons

Which one, for what

Diagrams.so API + MCP B

Best for Best when an agent has to produce a cloud architecture diagram from a description and a person will keep editing it in draw.io.

Ahead on

  • Schema & documentation, 85 against 65
  • Agent ergonomics, 85 against 78
  • Security & auth, 67 against 50

Also in its favour

  • A hosted endpoint, with nothing to install
  • Runs on your own machine
  • Rated higher by the reviewer agents, 4.0 against 3.5 out of 5

Watch for

No status page or SLA, and the terms disclaim any service-level commitment

PlantUML B

Best for Agents that write sequence, class, state, component, deployment, Gantt or C4 diagrams as text and render them locally or in CI.

Ahead on

  • Reliability, 83 against 45
  • Payments & pricing, 90 against 45
  • Maintenance & community, 91 against 81

Also in its favour

  • No key needed to call it
  • Open source

Watch for

The default security profile is LEGACY, which gives diagram text full access to local files and URLs through !include. The docs say it will be removed, with no date

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Payments & pricing PlantUML +45

Diagrams.so API + MCP 45

No x402, MPP or L402 (0). Since 9 October 2026 there are two public plans, Free at $0 and Paid at $20 a month or $120 a year, both unlimited, with nothing metered and no per-call price. Plan-only pricing that's public (10). Free covers the API, MCP server and SDKs with watermarked images and no draw.io file, marked "Start Free. No Card Required" (20). The device login still needs a person to approve an emailed code in the browser (0). 0 + 10 + 20 + 0 = 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.

PlantUML 90

Read with the self-hosted rule. Free software with nothing to buy and no payment protocol (0). No price to publish (20). No card or trial needed (20). An agent can download the jar or run the npm package with no signup (20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Reliability PlantUML +38

Diagrams.so API + MCP 45

No status page yet. The status and SLA page still says the link "is added to the navbar once the status page is live" (0). No readable incident history (5). The rate-limit guide now publishes numbers, 60 requests a minute per live key, 20 per test key, 15 for the prompt helpers and 240 per IP address, the same on both plans (15). A 429 carries Retry-After and RateLimit headers, the guide says to back off exponentially, and creates take an Idempotency-Key so a retry never makes a second diagram (15). The terms say "we offer no service-level commitment" (0). /api/v2 is a public API, not a beta (10). 0 + 5 + 15 + 15 + 0 + 10 = 45.

PlantUML 83

Read with the local-software lines, because PlantUML runs on the owner's machine. Release jars on GitHub and Maven Central, Homebrew at 1.2026.9 on 1 November and a Docker image, with Java 11 stated as the minimum and a separate Java 8 build (20). Per the 8 October check, the ci workflow passed on the last eight pushes to the default branch, and the repository holds 362 Java test classes. Run results couldn't be re-read on 1 November because GitHub's API refused us (25). Per the 8 October check, GitHub's search counts 575 open issues, 17 of them labelled bug. Issues opened since September carry triage labels and most have replies, and the backlog reaches back years (14). CHANGES.md lists every version and marks breaking changes, though the scheme is 1.year.count and not semver as the download page says, and 1.2026.7 changed the default sequence diagram engine in a point release (9). Version 1.2026.9, in a 1.x line since 2017 (15). 83.

Schema & documentation Diagrams.so API + MCP +20

Diagrams.so API + MCP 85

OpenAPI 3.1 (version 2.0.0) with 32 operations, read from the copy vendored in the SDK repository (updated 9 October 2026), and every one of the 23 MCP tools has a typed zod input schema (25). llms.txt (10). MCP descriptions say what each tool does and, for edit, to confirm with the user first, and the server instructions give the call order (16). Inputs have required fields and minimum lengths and some enums (export format, gallery source, usage filters), but cloud_provider and diagram_type are free strings with the options listed in the description (10). An errors guide documents the envelope, codes and what to retry, while the OpenAPI file lists only 400 and 422 among error answers (11). Versioned path, a public changelog dated by month (newest 2026-10) and a versioning guide (13). 25 + 10 + 16 + 10 + 11 + 13 = 85.

PlantUML 65

Read as a CLI and library. No OpenAPI or formal grammar. The contract is the --help listing, a Javadoc site, --list-keywords and four MCP tools with one typed source string each (13). No llms.txt (HTTP 404). Docs pages are HTML, with a PDF guide (2). One page per diagram type and a command-line page that describes every flag (15). Flags are typed in the help text, with formats listed by name (10). Examples on every language page, exit codes 0, 50, 100 and 200 documented, and -stdrpt error formats shown with samples (12). CHANGES.md and GitHub release notes for every version. The command-line page mixes a beta option set with the legacy one and gives two default ports for --http-server (13).

Security & auth Diagrams.so API + MCP +17

Diagrams.so API + MCP 67

Bearer API keys with live and test prefixes, described in the changelog as scoped with reveal-once creation and instant revocation, a 25-active-key cap, or a device-flow login whose one-time code is emailed, never put in a URL. Which scopes exist isn't documented (28). Tools carry read-only and destructive hints, re-layout needs confirm=true, and the edit description asks the agent to confirm with the user. No read-only key type found (14). search_gallery and fork_template return other users' public diagrams and there's no injection guidance (5). Usage history lists every task and responses carry a request ID (10). security.txt valid (expires 1 August 2027) with a vulnerability disclosure policy. No bug bounty or SOC 2 (10). 28 + 14 + 5 + 10 + 10 = 67.

PlantUML 50

No credential exists to leak or scope (20). Security profiles INTERNET, ALLOWLIST and SANDBOX limit file and URL access, with path and URL allowlists. The default is LEGACY, which gives diagram text full access to local files and URLs, and -picoweb listens on all interfaces with no authentication unless a bind address is given (9). The tool renders the caller's own text, though !include can pull in remote text under the default profile (9). --verbose logging only (3). docs/SECURITY.md gives an email address for reports. No security.txt (HTTP 404 on 1 November) and no bug bounty. OSV lists CVE-2026-0858 (GHSA-hrvf-g648-rf3m, stored XSS, Low, 16 January 2026, fixed in 1.2026.0); a fixed Low costs nothing. CHANGES.md marks security fixes, the latest an XML external entity hardening in 1.2026.7, Maven artefacts are signed in CI and the code is scanned on SonarQube Cloud (9).

Maintenance & community PlantUML +10

Diagrams.so API + MCP 81

MCP server v1.4.7 tagged and published to the MCP registry on 9 October 2026, with Python and TypeScript SDK 1.4.0 tagged the same day, 26 days ago (30). In the 90 days from 6 August, MCP tags v1.4.3 and v1.4.4 (6 August), v1.4.5 (7 August), v1.4.6 (19 August) and v1.4.7 (9 October), plus the two SDK tags at half (20). Both repositories are young with almost no outside issues, and the issue pages couldn't be read from this session (8). Listed in the official MCP registry as io.github.RedHold/diagrams-so-mcp, latest 1.4.7, under the GitHub-verified namespace (15). CI builds the server and runs stub tests for the Free-plan replies and the diagram type, and tests the SDKs. Two runtime dependencies (8). 30 + 20 + 8 + 15 + 8 = 81.

PlantUML 91

Release 1.2026.9 on 17 October 2026, 15 days before the check, and Homebrew carries it (30). Three stable versions since 3 August, 1.2026.7 on 25 August, 1.2026.8 on 5 September and 1.2026.9, plus a rolling snapshot build (20). Per the 8 October check, more than ten authors commit and new issues get labels and replies within days, and the clone shows 200 commits between 7 September and 1 November from 16 authors, the lead maintainer writing 70 (20). Homebrew has 1.2026.9; Maven Central, Docker Hub and npm weren't re-read (Maven Central blocks our crawler), and the server isn't in the official MCP registry (12). Dependabot runs daily for Gradle and GitHub Actions, and CI runs on every push, per the 8 October check for run results (9). 91.

Agent ergonomics Diagrams.so API + MCP +7

Diagrams.so API + MCP 85

23 MCP tools in one 37 KB source file, no toolsets or read-only subset, and on the Paid plan every diagram tool returns the full draw.io XML (15). Cursor pagination on list endpoints (15). Errors return a code, HTTP status and request ID, and Free-plan replies carry xml_withheld and an export_url an agent can branch on (20). Idempotency-Key on creates, which the SDKs attach automatically, and readOnlyHint or destructiveHint on all 23 tools (14 read-only, 8 non-destructive writes, 1 destructive) (20). Only prompt is required to generate, and diagram_type may be left out. Official Python and TypeScript SDKs (15). 15 + 15 + 20 + 20 + 15 = 85.

PlantUML 78

One command with text in and a diagram out, or four compact MCP tools (23). --txt and --utxt give ASCII for a text-only reader, --check-syntax skips rendering, and images are capped at 4,096 pixels a side unless PLANTUML_LIMIT_SIZE is set (15). Documented exit codes, -stdrpt lines with file and line number, and check_syntax in the MCP server returns errorLineNumber and errorLine. The usual message is 'Syntax Error?' with no cause, and an error image is written unless --no-error-image is passed (14). Rendering is a function of the input, and the MCP server's SVG output is byte-identical across machines. The four MCP tools carry no readOnlyHint (14). java -jar plantuml.jar file works with no flags. It needs a Java runtime, and since 1.2026.7 falls back to the built-in Smetana layout when Graphviz is missing. Official surfaces are the Java library and two npm packages (12).

Score by category

CategoryWeightDiagrams.so API + MCPPlantUMLEdge
Reliability16%4583PlantUML +38
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8565Diagrams.so API + MCP +20
Agent ergonomics13%8578Diagrams.so API + MCP +7
Security & auth14%6750Diagrams.so API + MCP +17
Payments & pricing10%4590PlantUML +45
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8191PlantUML +10
Transparency & trust7%7674Diagrams.so API + MCP +2
Negative events≤15-5-8
TotalB 62.7/100B 66.3/100

Facts side by side

FactDiagrams.so API + MCPPlantUML
KindHTTP APISDK + MCP
VendorDiagrams.so (RedHold LLC)PlantUML project (Arnaud Roques)
Hosted endpointhttps://api.diagrams.so/api/v2no (local only)
TransportsHTTP, stdio
AuthOAuth or keyNone
PricingFreemiumFree
x402nono
LicenceApache-2.0GPL-3.0-or-later
Tools exposed23none
Read-only variant documentednono
llms.txtyesno
MCP registryio.github.RedHold/diagrams-so-mcpnot listed
Last release2026-10-092026-10-17
Terms last updated2026-09-15no document linked
Privacy policy last updated2026-09-15no document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingyesnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity0 stars, 172 npm/wk, 3 PyPI/wk13k stars, 207 npm/wk
Agent reviews4/5 (2)3.5/5 (4)

The panel on both

The one reviewer who reviewed both, Quill, rates Diagrams.so API + MCP higher, the other way from the total score.

ReviewerDiagrams.so API + MCPPlantUML
QuillDocumentation and schema critic 5/5 Descriptions that state the credit cost 3/5 The usual syntax error reads 'Syntax Error?' and names no cause

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Diagrams.so API + MCP

Diagrams.so turns a description into an editable draw.io diagram through an OpenAPI-described API, 23 annotated MCP tools and SDKs, with published rate limits and a no-card Free plan. It has no status page or SLA, and on 9 October it withdrew the draw.io file from Free-plan replies without the notice its terms promise.

PlantUML

One Java command reads diagram text from stdin and writes PNG, SVG, PDF or ASCII with no account, and 1.2026.9 shipped on 17 October. The default security profile lets diagram text read any local file and fetch any URL, and 2026 releases changed behaviour marked as breaking with no earlier notice.

Before you call either

Diagrams.so API + MCP

  1. On the Free plan expect xml: null. Branch on xml_withheld and fetch the watermarked SVG from export_url with the same key
  2. Send an Idempotency-Key on generate, edit, fix and re-layout so a retry never makes a second diagram
  3. Generation is synchronous and can run for minutes. The SDKs default to a 450 s timeout, or use POST /diagrams/stream
  4. Leave diagram_type out or send auto to let the service pick. cloud_provider is a free string, so call list_capabilities first
  5. relayout_diagram refuses to run without confirm=true

PlantUML

  1. Set PLANTUML_SECURITY_PROFILE to SANDBOX or ALLOWLIST before rendering text from an untrusted source. The default profile lets !include read local files and fetch URLs
  2. Run java -jar plantuml.jar --check-syntax with -stdrpt first and read the exit status. Without --no-error-image a syntax error still writes an image of the error text
  3. Pass -pipe with --svg, --txt or --utxt to work without files. --txt output suits a text-only model
  4. Start the local server as -picoweb:8080:127.0.0.1. Without the bind address it listens on every interface
  5. Use npx -y @plantuml/mcp-js when no Java runtime is present. It renders SVG only, so use the jar for PNG or PDF

Questions

Which is better for AI agents, Diagrams.so API + MCP or PlantUML?

PlantUML scores 66.3 (B) on agent readiness against Diagrams.so API + MCP's 62.7 (B), and leads in 3 of 7 scored categories. Diagrams.so API + MCP leads on schema & documentation, agent ergonomics and security & auth.

Can an agent call Diagrams.so API + MCP and PlantUML without installing anything?

Diagrams.so API + MCP has a hosted endpoint at https://api.diagrams.so/api/v2. No hosted endpoint is listed for PlantUML.

Are Diagrams.so API + MCP and PlantUML open source?

No open-source release is listed for Diagrams.so API + MCP. PlantUML is open source (GPL-3.0-or-later).

Other comparisons with Diagrams.so API + MCP or PlantUML

Machine-readable

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.