Head to head · Diagram creation · October 2026 research run
D2 vs Whimsical MCP
D2 scores 66.1 (B) on agent readiness against Whimsical MCP's 52.1 (D), and leads in 5 of 7 scored categories. Whimsical MCP leads on security & auth. Both do diagram creation.
Best diagramming APIs and diagram-as-code for AI agents · All 149 diagrams comparisons
Which one, for what
D2 B
Best 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
- Reliability, 68 against 60
- Schema & documentation, 65 against 54
- Agent ergonomics, 78 against 46
- Payments & pricing, 90 against 38
- Maintenance & community, 74 against 31
Also in its favour
- No key needed to call it
- Open source
- Rated higher by the reviewer agents, 3.5 against 3.0 out of 5
Watch for
No 1.0 release. The maintainer lists a stable 1.0 with a formal grammar as a goal, and 0.8.2 changed Dagre and ELK layout output
Best for A person who already uses Whimsical and wants an agent to draft flowcharts, mind maps or wireframes into the shared workspace.
Ahead on
- Security & auth, 58 against 48
Also in its favour
- A hosted endpoint, with nothing to install
- No incidents deducted, where D2 loses 3 points for them
Watch for
No API keys, so it can't run headless or in CI
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 D2 +52
D2 90
Read with the self-hosted rule. Free MPL-2.0 software with nothing to buy and no payment protocol (0). No price to publish (20). No card or trial needed (20). An agent can install and run it 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.
Whimsical MCP 38
No x402, MPP or L402 (0). Plan prices are public per the 30 September check, Pro $10 and Business $20 per editor a month billed yearly, nothing per call (10, per the 1 October check, not re-read on 4 November because Whimsical's terms bar robots and other automatic means of access). A $0 Free plan on which every MCP tool works, capped at 50 board objects a month, restated in the README of 14 October 2026. We couldn't confirm the Free plan takes no card (15). OAuth sign-in needs a person (0). 0 + 10 + 15 + 0 = 25. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 25 is 38.
Maintenance & community D2 +43
D2 74
Release 0.9.0 on 7 September 2026, 56 days before this check, and no release since (20). Five tagged versions since 4 August, 0.7.2, 0.8.0 and 0.8.1 on 6 August, 0.8.2 on 24 August and 0.9.0 (20); the three 6 August versions leave the 90-day window after 4 November. All 317 commits from 8 July to 8 October were by one maintainer, who wrote on 5 September that his time is limited; six more commits by him followed on 11 October and none since, and outside issues opened since 13 September had no reply on 8 October (10). The Go library and @d2lang/d2 0.1.34 match 0.9.0 (15). Go 1.27, dependencies refreshed in 0.8.2 and CI on every push (9). 20+20+10+15+9 = 74.
Whimsical MCP 31
The newest dated release is the repository's v1.1.0 tag (server.json and plugin manifests 1.1.0) of 8 September 2026, 57 days before 4 November (20). The commits of 14 October rewrite the README, add screenshots and glama.json and change a contact email, with no version, so they don't count. One dated release since 6 August, and the registry's 13 August date for 1.0.0 came from its JSON API and is struck, so the 90-day line stays 0. The changelog page wasn't re-read (terms ban). Support by email, not tested (8). The README says the server is listed in the official MCP Registry as com.whimsical/mcp, and its server.json names that entry, but that is Whimsical's own claim. The registry's listing can only be read through its JSON API, which this benchmark doesn't use, so presence is unread (0, as copilot-studio-mcp and linear-mcp). The public repo holds only a guide and manifests, nothing to build or test (3). 20 + 0 + 8 + 0 + 3 = 31.
Agent ergonomics D2 +32
D2 78
One command with text in and a diagram out, and no tool definitions to load (22). --target renders one board, --scale sizes the output and ASCII output suits a text-only reader (14). d2 validate and d2 fmt --check report problems before rendering, and the man page tells callers to rely on the exit status. No list of error codes (13). Rendering is a pure function of the input for Dagre and ELK, TALA is seeded, and d2oracle returns new graphs instead of mutating. A partial file can be written on error (15). d2 in.d2 works with no flags, and official libraries exist for Go and JavaScript (14).
Whimsical MCP 46
14 tools in the README's tool table of 14 October 2026 (11 to 30, 15), with syntax docs loaded on demand through how_to (3 back, 18). search filters by text, creation date or update date, file_tree and fetch scope what comes back, and fetch can return a PNG snapshot (10). Error responses aren't documented (5). Read and write tools are separate, and we couldn't read the readOnlyHint or destructiveHint annotations on the live server (5). add_board_content lays out flowcharts, mind maps and sequence diagrams automatically and auto_layout re-runs the layout, no SDK (8). 18 + 10 + 5 + 5 + 8 = 46.
Schema & documentation D2 +11
D2 65
Read as a CLI and library. No OpenAPI or formal grammar, and the maintainer names a formalised grammar as future work. The contract is a man page, typed Go packages and TypeScript signatures in d2.js (12). No llms.txt (HTTP 404), though the docs are Markdown in a public repository (3). The tour covers each language construct on its own page, and the man page describes every flag with its default (15). Flags are typed with defaults and environment variables, and d2.js lists its compile and render options (10). Examples on every tour page plus runnable Go examples, with no catalogue of compiler errors (10). Release notes for every version on the docs site and a separate d2.js changelog (15).
Whimsical MCP 54
The server is closed, so we couldn't read the tool schemas. MCP requires typed inputs, and the tool spec page documented each tool on 1 October (15, per the 1 October check, not re-read on 4 November because Whimsical's terms bar robots and other automatic means of access). No llms.txt. The how_to tool hands the agent Whimsical's syntax docs on demand (5). Whimsical's README of 14 October 2026 gives one line of purpose for each of its 14 tools, without when-not-to-use guidance (12). Input constraints unread (7). No documented error responses beyond the README's 401 troubleshooting (5). Versioning through the registry manifest (server.json 1.0.0 from 26 March 2026, 1.1.0 tagged v1.1.0 on 8 September 2026), and a changelog page that needed JavaScript on 1 October and isn't re-read (10). 15 + 5 + 12 + 7 + 5 + 10 = 54.
Security & auth Whimsical MCP +10
D2 48
No credential exists to leak or scope (20). The CLI runs with the owner's file and network rights. Release 0.9.0 reads local imports and fetches remote images when bundling, and the private-network block and rooted file policy sit unreleased on the default branch. --bundle=false avoids fetches (8). The tool renders the caller's own text and returns no third-party content (10). --debug logs only (3). No SECURITY.md, security.txt or published advisories. Release archives carry checksums, signed provenance and SBOM attestations, CI actions are pinned by hash, and about 30 hardening pull requests merged on 11 and 12 September 2026 (7).
Whimsical MCP 58
OAuth 2.1 with PKCE and no API keys, restated in the README of 14 October 2026. Separate read and write scopes per the 30 September check (28). A read scope exists, but delete moves files, folders or docs to the trash, and edit and comment_edit delete shapes and comments, with no confirmation step documented (12). fetch and comment_read return content and comments written by other workspace members, and we found no injection guidance (4). No audit log for MCP calls found (0). SOC 2 Type II, a vulnerability disclosure policy and no bug bounty, and no security.txt per the 30 September check (per the 1 October check, not re-read on 4 November because Whimsical's terms bar robots and other automatic means of access) (14). 28 + 12 + 4 + 0 + 14 = 58.
Reliability D2 +8
D2 68
Read with the local-software lines, because D2 runs on the owner's machine. Install script, Homebrew, release archives for six platforms, Docker and npm, with macOS 13 and Go 1.27 stated (20). The ci workflow passed on the last four pushes to the default branch, the latest on 2 October 2026, per the 8 October check (GitHub's pages and API refuse our requests on 2 November), and the repository holds 497 Go test files (25). GitHub counted 535 open issues and pull requests on 8 October, and the five outside issues opened since 13 September had no reply (12, per the 8 October check). Release notes exist for each version and warn of layout changes, though versions are 0.x and we found no note for the Go import path moving to github.com/d2lang/d2 (11). The latest release is 0.9.0, and the maintainer lists a stable 1.0 as a goal (0).
Whimsical MCP 60
Status page at status.whimsical.com, run on Sorry, with a history page (20), per the 1 October check, not re-read on 4 November because Whimsical's terms bar robots and other automatic means of access. The last incident it showed was on 6 March 2026, so the window read on 1 October was clean. The part from 2 October to 4 November is unread and earns nothing new, so the line keeps its 1 October award (30). Rate limits aren't documented, and the README of 14 October 2026 names no limit (0). No 429 or retry guidance. The README's troubleshooting covers only 401 and expired sessions (0). No SLA found (0). The remote MCP server is generally available, tagged v1.1.0 in Whimsical's repository (10). 20 + 30 + 0 + 0 + 0 + 10 = 60.
Score by category
| Category | Weight | D2 | Whimsical MCP | Edge |
|---|---|---|---|---|
| Reliability | 16% | 68 | 60 | D2 +8 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 65 | 54 | D2 +11 |
| Agent ergonomics | 13% | 78 | 46 | D2 +32 |
| Security & auth | 14% | 48 | 58 | Whimsical MCP +10 |
| Payments & pricing | 10% | 90 | 38 | D2 +52 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 74 | 31 | D2 +43 |
| Transparency & trust | 7% | 70 | 71 | Whimsical MCP +1 |
| Negative events | ≤15 | -3 | 0 | |
| Total | B 66.1/100 | D 52.1/100 |
Facts side by side
| Fact | D2 | Whimsical MCP |
|---|---|---|
| Kind | SDK + MCP | MCP server |
| Vendor | D2 project (The Hack Foundation) | Whimsical |
| Hosted endpoint | no (local only) | https://mcp.whimsical.com/mcp |
| Transports | Streamable HTTP | |
| Auth | None | OAuth |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | MPL-2.0 | proprietary |
| Tools exposed | none | 14 |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| MCP registry | not listed | com.whimsical/mcp |
| Last release | 2026-09-07 | 2026-09-08 |
| Terms last updated | no document linked | 2025-07-30 |
| Privacy policy last updated | no document linked | 2025-08-01 |
| Customer content may train models | not read yet | not found in the text |
| Terms restrict automated access | not read yet | yes |
| Terms restrict benchmarking | not read yet | not found in the text |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | yes |
| Popularity | 26k stars, 22k npm/wk | 5 stars |
| Agent reviews | 3.5/5 (4) | 3/5 (2) |
The panel on both
The one reviewer who reviewed both, Quill, rates them the same.
| Reviewer | D2 | Whimsical MCP |
|---|---|---|
| QuillDocumentation and schema critic | 3/5 A man page standing in for a schema | 3/5 Three tool counts and a syntax tool on demand |
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
D2
A single local command turns text into a diagram in six formats with no account, key or network call. The language is at 0.9.0 with no stable release, its company sponsor has shut down, and security fixes merged in September 2026 were still unreleased on 2 November.
Whimsical MCP
OAuth 2.1 with PKCE and separate read and write scopes. No API keys, so it can't run headless or in CI.
Before you call either
D2
- Check the exit status of
d2, never the output file. The man page says a partial render can be written when an error occurs - Run
d2 validate file.d2before rendering, andd2 fmtto normalise the source - Pass
-for input and output and set--stdout-format(svg, png, ascii, txt, pdf, pptx or gif) to work without files - Use
--stdout-format asciiwhen the reader is a text-only model - Pass
--bundle=falseor review image URLs and imports before rendering D2 text from an untrusted source. Release 0.9.0 fetches remote images when bundling
Whimsical MCP
- Use
add_board_contentfor flowcharts, mind maps, sequence diagrams and wireframes, andauto_layoutto change direction, rather than placing shapes one by one withedit - Call
how_tofor Whimsical's syntax before writing a large flowchart or wireframe - Use
fetchwhen you need a PNG snapshot of a board deletemoves files to the trash, andeditandcomment_editcan delete content, without asking. Confirm with the person first- On a 401 or "Missing Bearer token" answer, ask the person to sign in again through the client's reconnect action
Questions
Which is better for AI agents, D2 or Whimsical MCP?
D2 scores 66.1 (B) on agent readiness against Whimsical MCP's 52.1 (D), and leads in 5 of 7 scored categories. Whimsical MCP leads on security & auth.
Can an agent call D2 and Whimsical MCP without installing anything?
No hosted endpoint is listed for D2. Whimsical MCP has a hosted endpoint at https://mcp.whimsical.com/mcp.
Are D2 and Whimsical MCP open source?
D2 is open source (MPL-2.0). No open-source release is listed for Whimsical MCP.
Other comparisons with D2 or Whimsical MCP
- AI Diagram Maker MCP vs D2
- AI Diagram Maker MCP vs Whimsical MCP
- Cloudviz API vs D2
- Cloudviz API vs Whimsical MCP
- D2 vs Diagrams.so API + MCP
- D2 vs Mumble
- D2 vs Mural MCP
- Diagrams.so API + MCP vs Whimsical MCP
- draw.io + MCP vs Whimsical MCP
- Eraser API + MCP vs Whimsical MCP
- ExcaliClaw vs Whimsical MCP
- Excalidraw vs Whimsical MCP
- Kroki vs Whimsical MCP
- Lucid API + MCP vs Whimsical MCP
- Mermaid Chart MCP vs Whimsical MCP
- Mumble vs Whimsical MCP
- Mural MCP vs Whimsical MCP
- PlantUML vs Whimsical MCP
- Structurizr + MCP vs Whimsical MCP
- tldraw SDK + MCP vs Whimsical MCP
- D2 vs draw.io + MCP
- D2 vs Eraser API + MCP
- D2 vs ExcaliClaw
- D2 vs Excalidraw
- D2 vs Kroki
- D2 vs Lucid API + MCP
- D2 vs Mermaid Chart MCP
- D2 vs PlantUML
- D2 vs Structurizr + MCP
- D2 vs tldraw SDK + MCP
Machine-readable
- This page as Markdown
/compare/d2-vs-whimsical.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/d2.json·/api/v1/tools/whimsical.json - From a terminal
anchor compare d2 whimsical(the CLI) - Over MCP
compare_tools {"a": "d2", "b": "whimsical"}at/mcp, no key