Mermaid Validator
Validates and renders Mermaid diagrams as SVG images, providing detailed error messages for invalid syntax to enhance visualizatio
An MCP server that validates Mermaid diagrams and returns rendered SVG output if valid. It uses the mermaid-cli package to process diagram syntax, providing detailed error messages for invalid diagrams. The server exposes a single tool called 'validateMermaid' that accepts a diagram string as input and returns either a success message with the rendered SVG image or specific validation errors, making it useful for applications that need to verify and visualize diagram syntax without leaving the conversation interface.
Source
Repository: https://github.com/rtuin/mcp-mermaid-validator
Maintain Mermaid Validator?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/mcp/rtuin-mcp-mermaid-validator?ref=badge)