D2
● Activeio.github.d2lang/d2
Look up D2 syntax, check diagrams, and render them locally.
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"d2": {
"command": "uvx",
"args": [
"d2lang",
"mcp"
]
}
}
}claude mcp add d2 -- uvx d2lang mcpcodex mcp add d2 -- uvx d2lang mcpcode --add-mcp '{"name":"d2","type":"stdio","command":"uvx","args":["d2lang","mcp"]}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
Is it safe? Is it maintained?
Serverdex check: Nov 29, 2026Looks healthy: D2 is maintained, open source.
- Maintained
- Active
- Last commit today (Nov 28, 2026), 364 open issues.
- Official registry
- Active
- Published as io.github.d2lang/d2 in the official MCP registry, version 0.10.0.
- Source
- Open source, MPL-2.0
- Public repository under the MPL-2.0 licence, 25,982 stars, 793 forks.
- Runs
- On your machine
- A local PyPI package started by your client; it can reach whatever your user account can.
- Credentials
- None declared
- The registry entry declares no required environment variables.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.
Report Card
How the grade works →Grade A · Production-ready
Maintenance & production-readiness — 100/100 from the six repository signals below. A comparable rollup, not a code audit.
- Recent commits+30/30
Last commit today.
- Open licence+15/15
MPL-2.0 on GitHub.
- Documentation+15/15
The repository ships a README.
- Adoption+20/20
25,982 GitHub stars.
- Registry status+12/12
Active in the official MCP registry.
- Product surface+8/8
Has a homepage or a published package/endpoint.
Own this server? Add the grade badge — it links back here
<a href="https://serverdex.io/server/io-github-d2lang-d2?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-d2lang-d2/report-badge.svg" alt="D2 — Serverdex Report Card A" height="22"></a>Compare every server's grade on best-maintained MCP servers.
On GitHub
read Nov 28, 2026Godeveloper-toolsdiagrammingdiagramsgogolangsoftware-architecturetext-to-diagram
From the README
A modern diagram scripting language that turns text to diagrams. Docs | Cheat sheet | Comparisons | Playground https://user-images.githubusercontent.com/3120367/206125010-bd1fea8e-248a-43e7-8f85-0bbfca0c6e2a.mp4 Source code Open in Playground · Browse more examples Trusted by Organizations around the world use D2 to power blog posts and docs both internally and externally. D2 is also integrated into many popular tools and services. Quickstart On macOS or Linux, run the install script. On x64 Windows, download the MSI installer from the latest release. The installation guide covers other platforms, package managers, and uninstalling. Save x -> y -> z in a file named hello.d2, then run the following command to create hello.svg. With uv, run the native CLI directly with uvx d2lang hello.d2. For a live preview in your browser, run d2 --watch hello.d2 and edit the file. D2 as a library You can render diagrams from Go with d2lib or from JavaScript and TypeScript with @d2lang/d2. Go examples · D2.js usage guide Themes D2 includes a variety of official themes to style your diagrams beautifully right out of the box. See ./d2themes to browse the available themes and make or contribute your own creation. Fonts D2 ships with "Source Sans Pro" as the font in renders.…
Read the full README on GitHub →The most-starred Media & Creative servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| HyperFrames by HeyGen | 90,104 | Nov 2026 | Needs sign-in |
| HyperFrames by HeyGen | 87,943 | Nov 2026 | Needs sign-in |
| Pascal 3D Editor | 25,823 | Nov 2026 | Needs sign-in |
| screenpipe | 22,538 | Nov 2026 | Local / not checked |
| FunASR | 21,097 | Nov 2026 | Local / not checked |
D2: questions people ask
- Is D2 a remote or a local MCP server?
- According to its entry in the official MCP registry, D2 ships as a local package (PyPI) that your client starts on your machine.
- Is D2 safe to use?
- Looks healthy: D2 is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MPL-2.0; runs: On your machine; credentials: None declared. Serverdex check of Nov 29, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is D2 still maintained?
- Active: the repository's last commit today. Last push Nov 28, 2026, 25,982 GitHub stars, MPL-2.0 licence. Read from GitHub on Nov 28, 2026.
- How do I add D2 to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More Media & Creative servers
Browse all Media & Creative →AI Monk Index
Daisuke134
Research monk avatars, products and video playbooks with sources and labelled uncertainty.
iPhone MCP
DamienDrash
See and control a real iPhone over USB or Wi-Fi: screenshots, UI tree, taps, swipes, typing, apps.
figmanage
dannykeane
Let agents manage your Figma workspace. 102 tools for seats, teams, offboarding, and cleanup.
Landingfolio
dannypostma
Real landing-page design inspiration: hero, pricing, testimonial and feature section screenshots.
MCP Yoto
danpillay87
MCP server for Yoto: manage cards, tracks, icons and family devices from any MCP client.
Project Parva
dantwoashim
Read-only Nepali date, calendar, festival, Panchanga, and temporal verification tools.
Add the badge to your site
Show visitors that D2 is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-d2lang-d2?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="D2 — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-d2lang-d2?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-d2lang-d2) [](https://serverdex.io/install/vscode/io-github-d2lang-d2) [](https://serverdex.io/install/claude-code/io-github-d2lang-d2)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/io-github-d2lang-d2"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-d2lang-d2"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-d2lang-d2"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).