Download

MCP server · Developer tools

D2

by d2lang

Look up D2 syntax, check diagrams, and render them locally.

Calyban is a free desktop app. It checks D2 for red flags before installing, lets you choose the agent and folder, and undoes it in one click.

Install D2 manually

Prefer the terminal? This does the same thing as Calyban's install, for your user account.

Claude Code

claude mcp add --scope user d2 -- uvx d2lang==0.10.0 mcp

Codex

codex mcp add d2 -- uvx d2lang==0.10.0 mcp

Start a new Claude Code, Codex & more session afterwards so it picks up the change.

Similar mcp servers

All mcp servers →

Guides

Listed in the public Calyban catalog. D2 is made by d2lang, not Calyban. Inclusion isn't an endorsement and safety checks aren't a guarantee.