MCP server · Developer tools
D2
by d2lang
Look up D2 syntax, check diagrams, and render them locally.
- Claude Code
- Codex
- Cursor
- GitHub Copilot
- Gemini CLI
- Claude Desktop
- ★ 26k on GitHub
- Updated 2026-11-27
- MPL-2.0
- Runs code on your machine
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 mcpCodex
codex mcp add d2 -- uvx d2lang==0.10.0 mcpStart a new Claude Code, Codex & more session afterwards so it picks up the change.
Similar mcp servers
REAmorlutoReverse engineer anything from your terminal or agent with one CLI and MCP server.Everythingmodelcontextprotocol ✓Reference server that exercises every MCP feature: tools, resources, prompts, sampling and moreGitModel Context Protocol ✓Read, search and manipulate Git repositories.TimeModel Context Protocol ✓Current time and timezone conversions.tldrawtldrawDraw and visually collaborate with your agents on tldraw's canvas.CCXTccxtOfficial CCXT MCP server - Market data and trading across 100+ exchanges and prediction markets
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.