21st.dev Magic MCP vs Claude Mermaid MCP Server
A side-by-side comparison of two Design & Media servers — tools, transport, auth, maintenance, and copy-paste config for each.
| 21st.dev Magic MCP Generate beautiful, modern UI components from natural-language descriptions inside your IDE. Unverified stdio (local) API key TypeScript | Claude Mermaid MCP Server Render Mermaid diagrams in Claude Code with live-reload browser preview and SVG/PNG/PDF export. Unverified stdio (local) No auth TypeScript | |
|---|---|---|
| Category | Design & Media | Design & Media |
| Language | TypeScript | TypeScript |
| Transport | stdio (local) | stdio (local) |
| Auth | API key | None |
| GitHub stars | 5.2k | 170 |
| Last commit | 5 months ago | 1 month ago |
| Verified | ||
| Actively maintained | ||
| Install | npx @21st-dev/cli@latest install <client> --api-key <key> | npm install -g claude-mermaid |
| Repo | Open | Open |
Verdict
Pick 21st.dev Magic MCP if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.
Pick Claude Mermaid MCP Server if you want zero-setup with no API key.
Add 21st.dev Magic MCP
npx @21st-dev/cli@latest install <client> --api-key <key>Paste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"21st-dev-magic-mcp": {
"command": "npx",
"args": [
"-y",
"@21st-dev/magic@latest",
"API_KEY=\"your-api-key\""
]
}
}
}Add Claude Mermaid MCP Server
npm install -g claude-mermaidPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"claude-mermaid-mcp-server": {
"command": "claude-mermaid",
"args": []
}
}
}FAQ
21st.dev Magic MCP or Claude Mermaid MCP Server — which is better?
Pick 21st.dev Magic MCP if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option. Pick Claude Mermaid MCP Server if you want zero-setup with no API key.
Can I use both 21st.dev Magic MCP and Claude Mermaid MCP Server?
Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.
Do 21st.dev Magic MCP and Claude Mermaid MCP Server work with Claude, Cursor and Windsurf?
Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.