MCP Directory

Claude Mermaid MCP Server vs 21st.dev Magic MCP

A side-by-side comparison of two Design & Media servers — tools, transport, auth, maintenance, and copy-paste config for each.

 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
21st.dev Magic MCP

Generate beautiful, modern UI components from natural-language descriptions inside your IDE.

Unverified
stdio (local)
API key
TypeScript
CategoryDesign & MediaDesign & Media
LanguageTypeScriptTypeScript
Transportstdio (local)stdio (local)
AuthNoneAPI key
GitHub stars1705.2k
Last commit1 day ago4 months ago
Verified
Actively maintained
Installnpm install -g claude-mermaidnpx @21st-dev/cli@latest install <client> --api-key <key>
RepoOpen Open

Verdict

Pick Claude Mermaid MCP Server if you want zero-setup with no API key.

Pick 21st.dev Magic MCP if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Add Claude Mermaid MCP Server

Install / run
npm install -g claude-mermaid

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "claude-mermaid-mcp-server": {
      "command": "claude-mermaid",
      "args": []
    }
  }
}

Add 21st.dev Magic MCP

Install / run
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\""
      ]
    }
  }
}

FAQ

Claude Mermaid MCP Server or 21st.dev Magic MCP — which is better?

Pick Claude Mermaid MCP Server if you want zero-setup with no API key. Pick 21st.dev Magic MCP if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Can I use both Claude Mermaid MCP Server and 21st.dev Magic MCP?

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 Claude Mermaid MCP Server and 21st.dev Magic MCP work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.