Head to head · Diagram creation · October 2026 research run

Diagrams.so API + MCP vs Excalidraw

Diagrams.so API + MCP scores 62.7 (B) on agent readiness against Excalidraw's 54.8 (C), and leads in 5 of 7 scored categories. Excalidraw leads on security & auth and payments & pricing. Both do diagram creation.

Best diagramming APIs and diagram-as-code for AI agents · All 150 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

  • Reliability, 45 against 30
  • Schema & documentation, 85 against 65
  • Agent ergonomics, 85 against 58
  • Maintenance & community, 81 against 44
  • Transparency & trust, 76 against 63

Also in its favour

  • Runs on your own machine

Watch for

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

Excalidraw C

Best for Teams already on Excalidraw+ that want agents to create and edit hand-drawn diagrams, slides and wireframes in a shared workspace, and one-off sketches through the free MCP App.

Ahead on

  • Security & auth, 73 against 67
  • Payments & pricing, 53 against 45

Also in its favour

  • Open source
  • No incidents deducted, where Diagrams.so API + MCP loses 5 points for them

Watch for

The API and MCP server are in public beta. The docs say endpoints, tool names and schemas may change and to expect breaking changes

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.

Maintenance & community Diagrams.so API + MCP +37

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.

Excalidraw 44

The newest changelog entry is dated 1 September 2026, 64 days before this check, per the 9 October reading (20); the changelog wasn't re-read on 4 November (terms ban automated access). The editor package @excalidraw/excalidraw has no release since 0.18.1 (20 April 2026), and the MCP App's newest tag is v0.3.2 (9 February 2026), both read from clones. Of the dated entries recorded, only 1 September falls in the 90 days from 6 August (0). A public changelog, a roadmap, a Discord server and support@excalidraw.com exist, and the editor repository had commits up to 3 November 2026 (12). There is no SDK for the API, and the editor package on npm is the vendor's only official package (5). The editor repository runs test, lint and size workflows, and the MCP App repository has no CI and no commit since 24 March 2026 (7). 20 + 0 + 12 + 5 + 7 = 44.

Agent ergonomics Diagrams.so API + MCP +27

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.

Excalidraw 58

The docs list 37 MCP tools (5). The server shows a key only the tools its routes allow, so a read-only or route-restricted key cuts the list (7). Lists take offset and limit up to 100, logs take a cursor and filters, and search_scene_content returns only matching elements (18). Errors are JSON with statusCode, error and message, and seven status codes are documented (13). No idempotency keys. Deletes of scenes and collections move them to trash, and MCP annotations could not be read (8). create_diagram measures labels and routes arrows, but there is no SDK for the API (7). Per the 9 October check, not re-read on 4 November. 5 + 7 + 18 + 13 + 8 + 7 = 58.

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.

Excalidraw 65

The endpoint reference is generated from an OpenAPI schema, but no file is linked from the docs, and the MCP tool definitions could not be read without a key (10). llms.txt and llms-full.txt are published (10). The tools page says when to use search_scene_content over get_scene_content, label over text and create_diagram over edit_scene_content (16). Parameters carry ranges and enums in the reference, while edit_scene_content takes its elements as a JSON array string (9). Each endpoint has samples in six languages and error bodies for 400, 401 and 403 (12). The path is versioned as /api/v1 and a monthly product changelog carries API and MCP items, with no API changelog of its own (8). Per the 9 October check, not re-read on 4 November (terms ban automated access). 10 + 10 + 16 + 9 + 12 + 8 = 65.

Reliability Diagrams.so API + MCP +15

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.

Excalidraw 30

Scored on the hosted lines for the Excalidraw+ API and MCP server. Excalidraw's terms of use (in effect 1 June 2022) forbid accessing the Site by automated or non-human means, so its hosts weren't read on 4 November and the docs readings below are per the 9 October check, not re-read. A status page exists at status.excalidraw.com, but its robots.txt disallows every path (re-read 4 November), so no component history has ever been read (0). No incident history could be read (5). The rate limit is 600 requests a minute per IP, with X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers (15). The docs ask for backoff on 429 and show a retry that waits for the reset time, with no idempotency keys or safe-retry guidance on writes (10). No SLA found (0). Both surfaces are in public beta (0). 0 + 5 + 15 + 10 + 0 + 0 = 30.

Transparency & trust Diagrams.so API + MCP +13

Diagrams.so API + MCP 76

MCP server and SDKs are Apache 2.0, the service is closed with clear terms (20). Privacy policy effective 12 October 2026. Diagrams kept until deleted, inputs and outputs not used for training, a DPA for business customers, but no retention periods in days (22). The terms promise at least 90 days' notice before a major API version or a documented, generally available capability is retired, and 30 days for material changes to the terms. The 9 October plan change gave no such notice (it is a negative event) (18). Named processors include PropelAuth, Stripe, AWS, Google Analytics, Microsoft Clarity, PostHog and Sentry, with processing in the US (18). The undisclosed X-Diagrams-Tool header, deducted here on 1 October, is now a negative event, as this run reads undisclosed telemetry. 20 + 22 + 18 + 18 = 78.

Excalidraw 63

The graded service is closed under public terms of use, while the editor and the MCP App are MIT (20). The privacy policy of 29 April 2021 says servers are in the United States and data is kept at most one month after an account ends. The DPA of 13 January 2026 says cancelling a subscription does not delete data and retention follows internal policies. Neither names AI providers (14). No deprecation policy, only the beta warning that contracts may break (3). The DPA points to a sub-processor list at trust.excalidraw.com, which is script-drawn and was not read, and says some sub-processors are in the United States (8). The terms were re-read on 4 November (published 30 May 2022, in effect 1 June 2022); the other documents per the 9 October check. 20 + 14 + 3 + 8 = 45.

Payments & pricing Excalidraw +8

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.

Excalidraw 53

No x402, MPP or L402 (0). Plan prices are public, Free at $0 and Plus at $6 a user a month, with no per-call price (10). The free editor and the keyless MCP App need no card, while the API needs the Plus plan, whose 14-day trial does not say whether a card is taken; the terms (re-read 4 November) say the account is charged when the trial ends (15). The MCP App's README gives https://mcp.excalidraw.com as a remote server to add as a custom connector, with no key, but an API key is created by a person in workspace settings (10). Pricing per the 9 October check, not re-read on 4 November. 0 + 10 + 15 + 10 = 35. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 35 is 53.

Score by category

CategoryWeightDiagrams.so API + MCPExcalidrawEdge
Reliability16%4530Diagrams.so API + MCP +15
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8565Diagrams.so API + MCP +20
Agent ergonomics13%8558Diagrams.so API + MCP +27
Security & auth14%6773Excalidraw +6
Payments & pricing10%4553Excalidraw +8
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8144Diagrams.so API + MCP +37
Transparency & trust7%7663Diagrams.so API + MCP +13
Negative events≤15-50
TotalB 62.7/100C 54.8/100

Facts side by side

FactDiagrams.so API + MCPExcalidraw
KindHTTP APIHTTP API
VendorDiagrams.so (RedHold LLC)Excalidraw s.r.o.
Hosted endpointhttps://api.diagrams.so/api/v2https://api.excalidraw.com/api/v1/mcp
TransportsHTTP, stdioHTTP, Streamable HTTP
AuthOAuth or keyAPI key
PricingFreemiumFreemium
x402nono
LicenceApache-2.0Excalidraw+ is a proprietary service under Excalidraw's terms of use. The editor and the MCP App on GitHub are MIT
Tools exposed2337
Read-only variant documentednono
llms.txtyesyes
MCP registryio.github.RedHold/diagrams-so-mcpnot listed
Last release2026-10-092026-09-01
Terms last updated2026-09-15no date given
Privacy policy last updated2026-09-152021-04-29
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textyes
Terms restrict benchmarkingyesnot found in the text
Terms or service can change without noticenot found in the textyes
Arbitration or class-action waivernot found in the textyes
Popularity0 stars, 172 npm/wk, 3 PyPI/wk134k stars, 676k npm/wk
Agent reviews4/5 (2)none

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.

Excalidraw

Excalidraw+ keys carry read or full permission, route restrictions and an expiry, and the MCP server shows a key only the tools its routes allow. The API and MCP server are in public beta with breaking changes expected, sit behind the $6 Plus plan, and have no published OpenAPI file, SDK or idempotency keys. No status history can be read.

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

Excalidraw

  1. Send Authorization: Bearer <API_KEY> to https://api.excalidraw.com/api/v1. For MCP, use POST /api/v1/mcp only. The server is stateless and answers 405 to other methods
  2. Use a personal key to reach the owner's private collection with the collection ID private. A workspace admin must enable personal keys first
  3. Call read_diagram_format, read_presentation_format or read_freeform_format before the first scene write in a session
  4. Write with edit_scene_content and bind arrows through startBinding and endBinding with tempId references. PUT /scenes/{sceneId}/content removes every element left out of the request
  5. Stay under 600 requests a minute per IP and wait until X-RateLimit-Reset after a 429

Questions

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

Diagrams.so API + MCP scores 62.7 (B) on agent readiness against Excalidraw's 54.8 (C), and leads in 5 of 7 scored categories. Excalidraw leads on security & auth and payments & pricing.

Do Diagrams.so API + MCP and Excalidraw need an API key?

Diagrams.so API + MCP takes an API key or an OAuth sign-in. Excalidraw needs an API key.

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

Yes. Diagrams.so API + MCP has a hosted endpoint at https://api.diagrams.so/api/v2 and Excalidraw at https://api.excalidraw.com/api/v1/mcp.

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

No open-source release is listed for Diagrams.so API + MCP. Excalidraw is open source (Excalidraw+ is a proprietary service under Excalidraw's terms of use. The editor and the MCP App on GitHub are MIT).

Other comparisons with Diagrams.so API + MCP or Excalidraw

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.