frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: d2-mcp – compile and render D2 diagrams for multimodal LLMs

https://github.com/h0rv/d2-mcp
2•h0rv•6h ago

Comments

badmonster•3h ago
Would love to hear how you see d2-mcp fitting into broader AI-assisted workflows — especially in things like technical writing or architecture docs.
h0rv•16m ago
I've been using d2-mcp in Cursor with Claude Sonnet or Opus (o3 was not great). Cursor provides project structure and details (depending on the level abstraction you want in the diagram) to give really great results.

Before creating d2-mcp, Claude would give okay diagrams, but giving it the ability to "see" what it created, gives it the ability to see its own mistakes and fix them, and optimize for human readability.