Mermaid Validator

Validates and renders Mermaid diagrams as SVG images, providing detailed error messages for invalid syntax to enhance visualizatio

rtuin 55 ↓ 8.2k
Claude CodeClaude DesktopGeneric
View source ↗

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.

Mermaid Validator on getagentictools
[![Mermaid Validator on getagentictools](https://getagentictools.com/badge/mcp/rtuin-mcp-mermaid-validator.svg)](https://getagentictools.com/mcp/rtuin-mcp-mermaid-validator?ref=badge)