Back to MCP Servers

Mermaid

AI-powered Mermaid diagram generation with 22+ diagram types including flowcharts, sequence diagrams, class diagrams, ER diagrams, architecture diagrams, state machines, and more. Features 50+ pre-built templates, advanced layout engines, SVG/PNG/PDF exports, and seamless integr…

architecture-designgithubai

Installation

npx -y mermaid-mcp

Configuration

{
  "mcpServers": {
    "mermaid-mcp": {
      "command": "npx",
      "args": ["-y", "mermaid-mcp"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub