MCP Mermaid enables AI models to dynamically generate Mermaid diagrams and charts through an MCP server, supporting all Mermaid syntax and features with configurable styling options like backgroundColor and theme. The server provides tools to export diagrams in multiple formats including base64, SVG, PNG, file, and shareable URL formats, with built-in validation to help AI models correct syntax across multiple iterations. It integrates with desktop applications like Claude and VSCode, and can be deployed via Docker or HTTP/SSE protocols for remote access.
claude mcp add --transport stdio hustcc-mcp-mermaid uvx mcp-mermaid