This MCP server validates Mermaid diagram syntax and checks grammar correctness.
Validate Mermaid diagrams: Check if text contains valid Mermaid diagram code using the
checktoolError detection: Returns detailed error messages when syntax issues are detected, or an empty string when the diagram is valid
Multiple installation methods: Supports npm, yarn, pnpm, bun, or deno
Flexible deployment: Available in both stdio (local) and HTTP/SSE (remote) configurations for integration with MCP clients like Cursor
Validates Mermaid diagram syntax and provides comprehensive grammar checking capabilities for Mermaid diagrams.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Mermaid-Grammer-Inspectorcheck this mermaid syntax for errors: graph TD; A-->B; B-->C"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Mermaid Grammer Inspector
A Model Context Protocol (MCP) server for validating Mermaid diagram syntax and providing comprehensive grammar checking capabilities
English | 简体中文
Usage
Install the package:
NPX Cursor Config
Http Cursor Config
start the service locally
set the config
License
Published under the MIT license. Made by community 💛
🤖 auto updated with