Install D2 in Claude Code
claude mcp add d2 -- docker run -i --rm ghcr.io/recursivefunctions/d2mcp:0.5.0{
"mcpServers": {
"d2": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/recursivefunctions/d2mcp:0.5.0"
]
}
}
}Frequently asked questions
What does the D2 MCP server do?
Create, edit, validate, render, and export D2 diagrams with confined workspace access.
Is the D2 MCP server free?
Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.
Does D2 run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add D2 to Claude Code?
Run: claude mcp add d2 -- docker run -i --rm ghcr.io/recursivefunctions/d2mcp:0.5.0
More productivity & project management MCP servers
View allDart Query
standardbeagle/dart-query
Dart AI task management MCP with batch operations, DartQL selectors, CSV import, zero context rot
Cosync Local
olane-labs/cosync-local
Local encryption and project setup plugin for Copass. Keys never leave your machine.
DataArcus for Power BI
Antnioo/DataArcus
Plan, check and write Power BI reports on your PC after you approve. Arabic RTL and Gulf calendar.
Consult Opencode
jayden99236/consult-opencode
Delegate a self-contained task to opencode's free-tier models as a one-shot subagent.
Directum RX
drxinfra/rxmcp
Directum RX for AI assistants: assignments, documents, boards, projects, any entity, system help
ConnectWise Manage
wyre-technology/connectwise-manage-mcp
MCP server for ConnectWise Manage PSA — companies, tickets, projects, time entries, and more.