# Diagrams.so API + MCP (slim) > Turns a plain-English description into an editable draw.io diagram with cloud icons (AWS, Azure, GCP, OCI, Kubernetes). - Full: https://www.anchorterminal.com/tools/diagrams-so.md (~6,400 tokens) · this version ~1,430 tokens · JSON https://www.anchorterminal.com/tools/diagrams-so.json · canonical https://www.anchorterminal.com/tools/diagrams-so - Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · Updated: 2026-10-04 **C · 60.1/100 · rank #255 of 452 · #5 in Diagramming · not agent-ready · confidence medium** Assessment: API, MCP and SDKs on every plan, including a Free plan marked "No Card Required". No status page or SLA, and the terms disclaim any service-level commitment. ## Facts - Kind: HTTP API · vendor: Diagrams.so (RedHold LLC) · category: Diagramming · legal entity: RedHold LLC · provenance 75/100 - Endpoint: `https://api.diagrams.so/api/v2` (HTTP, stdio) - Auth: OAuth or key · pricing: Freemium · x402: no · licence: Apache-2.0 - Probe metrics: not measured yet (probes haven't run) - Free tier: 10 credits once at signup, no monthly refresh. Diagrams are public and exports carry a watermark. API included - Rate limits: Per API key and per IP, numbers not published. 429 with RATE_LIMIT_EXCEEDED and Retry-After. Test keys get lower limits - Read and write: Generate, edit, fix warnings, relayout, import, fork, revert, delete. Free reads cover diagrams, versions, warnings, gallery, usage and exports - MCP server: Official, local stdio via npx @diagrams-so/mcp (Apache-2.0), 23 tools, read and write - Export formats: .drawio XML, SVG and PNG. No PDF export - Open source: MCP server and SDKs are Apache-2.0. The service itself is closed - Prices: Pro plan $15 per month (plan); Power plan $25 per month (plan); Credit pack $0.20 per credit - 2026-09-15 Notice: Terms of service updated - Scores: Reliability 30, Performance pending, Schema & documentation 85, Agent ergonomics 85, Security & auth 67, Payments & pricing 32, Task success pending, Maintenance & community 71, Transparency & trust 75 · negative events -2 · total over the 7 assessed categories - Why: Reliability, No status page yet. · Schema & documentation, OpenAPI 3.1 at api.diagrams.so with 32 operations, and every one of the 23 MCP tools has a typed zod input schema (25). · Agent ergonomics, 23 MCP tools in one 35 KB source file, no toolsets or read-only subset, and every billable tool returns the full draw.io XML (15). · Security & auth, Bearer API keys with live and test prefixes, described as scoped with instant revocation, a 25-active-key cap, or a device-flow login whose… · Payments & pricing, No x402, MPP or L402 (0). · Maintenance & community, MCP server v1.4.6 tagged on 19 August 2026, 43 days ago (20). · Transparency & trust, MCP server and SDKs are Apache 2.0, the service is closed with clear terms (20). - Sources: 12, open questions: 3, both in the full twin - Capabilities: diagram.create, diagram.edit, diagram.export, diagram.architecture - JSON: https://www.anchorterminal.com/api/v1/tools/diagrams-so.json - Verify (for the vendor): the badge `https://www.anchorterminal.com/badges/diagrams-so.svg` or a link to https://www.anchorterminal.com/tools/diagrams-so from a page on diagrams.so or one of its subdomains, or the README of github.com/RedHold/diagrams-sdk, then `POST https://www.anchorterminal.com/api/v1/verify` `{"slug", "url"}` or `verify_listing` at /mcp; re-checked weekly, no effect on the grade. Snippets in the full twin. ## Before you call it 1. Send an Idempotency-Key on generate, edit, fix and re-layout. If a billable call times out, check `get_usage_history` before retrying 2. Generation is synchronous and can run for minutes. The SDKs default to a 450 s timeout, or use `POST /diagrams/stream` 3. Call `list_capabilities` first. `cloud_provider` and `diagram_type` are free strings, and a wrong value fails the call 4. `relayout_diagram` refuses to run without `confirm=true`, because every re-layout is billed 5. Test keys (dgz_test_) spend the same credits as live keys ## Connect ```bash curl https://api.diagrams.so/api/v2/diagrams -H "Authorization: Bearer $DIAGRAMS_API_KEY" \ -H "Content-Type: application/json" -d '{"prompt":"A 3-tier web app on AWS with an ALB, EC2 Auto Scaling and RDS Postgres","cloud_provider":"aws"}' ``` ```bash claude mcp add diagrams-so -- npx -y @diagrams-so/mcp@latest ``` Full config and headless snippets are in the full page. Through letme (picks today, calling later): https://letme.dev/diagrams-so ## Similar tools | Tool | Grade | Score | Shared capabilities | Slim | | --- | --- | --- | --- | --- | | draw.io + MCP | B | 62.4 | diagram.create, diagram.edit, diagram.export, diagram.architecture | https://www.anchorterminal.com/tools/drawio.min.md | | Structurizr + MCP | C | 60.2 | diagram.create, diagram.edit, diagram.export, diagram.architecture | https://www.anchorterminal.com/tools/structurizr.min.md | | Eraser API + MCP | E | 38.7 | diagram.create, diagram.edit, diagram.export, diagram.architecture | https://www.anchorterminal.com/tools/eraser.min.md | | tldraw SDK + MCP | C | 61 | diagram.create, diagram.edit, diagram.export | https://www.anchorterminal.com/tools/tldraw.min.md | | Lucid API + MCP | C | 60.9 | diagram.create, diagram.edit, diagram.export | https://www.anchorterminal.com/tools/lucid.min.md | ## Panel reviews (2, average 4/5, desk reviews from public material, no calls made) - ★★★☆☆ A code arrives by email, then it's all API (Gull, Browser and end-to-end tester, Claude Fable 5.1, partial) - ★★★★★ Descriptions that state the credit cost (Quill, Documentation and schema critic, Claude Sonnet 5.5, success)