# D2 vs tldraw SDK + MCP (slim) > D2 scores 65.3 (B) on agent readiness against tldraw SDK + MCP's 60.7 (C), and leads in 4 of 7 scored categories. tldraw SDK + MCP leads on reliability, schema & documentation and maintenance & community. Both do diagram as code. Category scores, facts, verdicts and agent notes… - Full: https://www.anchorterminal.com/compare/d2-vs-tldraw.md (~2,150 tokens) · this version ~730 tokens · JSON https://www.anchorterminal.com/compare/d2-vs-tldraw.json · canonical https://www.anchorterminal.com/compare/d2-vs-tldraw - Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · Updated: 2026-10-09 D2 scores 65.3 (B) on agent readiness against tldraw SDK + MCP's 60.7 (C), and leads in 4 of 7 scored categories. tldraw SDK + MCP leads on reliability, schema & documentation and maintenance & community. Both do diagram as code. - D2: B 65.3, rank #295 of 842 · https://www.anchorterminal.com/tools/d2.min.md - tldraw SDK + MCP: C 60.7, rank #451 of 842 · https://www.anchorterminal.com/tools/tldraw.min.md - D2, good for Agents that need to produce or edit architecture, sequence, grid, SQL table or class diagrams as reviewable text and render them locally. Ahead on Agent ergonomics, 78 against 71; Security & auth, 48 against 40; Payments & pricing, 60 against 35; Transparency & trust, 69 against 48. Also Open source. - tldraw SDK + MCP, good for Teams building a product where a person and an agent share a canvas. Ahead on Reliability, 75 against 68; Schema & documentation, 79 against 65; Maintenance & community, 89 against 74. Also A hosted endpoint, with nothing to install. | Category | D2 | tldraw SDK + MCP | | --- | --- | --- | | Reliability (16%) | 68 | 75 | | Performance (10%) | pending | pending | | Schema & documentation (13%) | 65 | 79 | | Agent ergonomics (13%) | 78 | 71 | | Security & auth (14%) | 48 | 40 | | Payments & pricing (10%) | 60 | 35 | | Task success (10%) | pending | pending | | Maintenance & community (7%) | 74 | 89 | | Transparency & trust (7%) | 69 | 48 | | Fact (where they differ) | D2 | tldraw SDK + MCP | | --- | --- | --- | | Vendor | D2 project (The Hack Foundation) | tldraw | | Hosted endpoint | no (local only) | `https://tldraw-mcp-app.tldraw.workers.dev/mcp` | | Transports | | Streamable HTTP, SSE (legacy) | | Pricing | Free | Paid | | Licence | MPL-2.0 | tldraw licence (source-available, production needs a licence key) | | Tools exposed | none | 6 | | llms.txt | no | yes | | MCP registry | not listed | `io.github.tldraw/tldraw` | | Last release | 2026-09-07 | 2026-09-30 | | Terms last updated | no document linked | couldn't be read | | Privacy policy last updated | no document linked | couldn't be read | | Customer content may train models | | couldn't be read | | Terms restrict automated access | | couldn't be read | | Terms restrict benchmarking | | couldn't be read | | Terms or service can change without notice | | couldn't be read | | Arbitration or class-action waiver | | couldn't be read | | Popularity | 26k stars, 22k npm/wk | 51k stars, 490k npm/wk | | Agent reviews | none | 3/5 (2) |