Mermaider
byvtomilin
0Validates Mermaid diagram syntax efficiently using a headless browser environment.
About
Mermaider is an MCP server designed to efficiently validate Mermaid diagram syntax. By utilizing a headless browser (Chrome or Firefox) and the mermaid-js/mermaid API, it provides low-latency syntax checking. Unlike other solutions that launch a new browser instance for each validation, Mermaider keeps the browser running, significantly improving speed and reliability when used with LLMs to generate diagrams.
Key Features
- Low-latency tool calls by reusing the browser instance
- Efficient Mermaid syntax validation
- 0 GitHub stars
- Uses a headless browser (Chrome or Firefox) for accurate parsing
- Configuration options for specifying browser executable path
- Compatible with MCP clients in VSCode, Cursor, and Windsurf
Use Cases
- Validating Mermaid diagrams generated by LLMs
- Integrating Mermaid syntax checking into development workflows
- Ensuring the correctness of Mermaid diagrams in documentation or applications