Mermaid-Grammer-Inspector
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
Usage
Install the package:
# npm
npm installg @bjmhe/mermaid-grammer-inspector-mcp
# yarn
yarn addg @bjmhe/mermaid-grammer-inspector-mcp
# pnpm
pnpm addg @bjmhe/mermaid-grammer-inspector-mcp
# bun
bun installg @bjmhe/mermaid-grammer-inspector-mcp
# deno
deno installg npm:@bjmhe/mermaid-grammer-inspector-mcp
# vp
vp installg @bjmhe/mermaid-grammer-inspector-mcpNPX Cursor Config
{
"mcpServers": {
"mermaid-grammer-inspector": {
"command": "npx",
"type": "stdio",
"transportType": "stdio",
"args": ["-y", "mermaid-grammer-inspector"]
}
}
}Http Cursor Config
start the service locally
mermaid-grammer-inspector --http --port=4000set the config
{
"mcpServers": {
"mermaid-grammer-inspector": {
"url": "http://0.0.0.0:4000/sse",
"type": "sse",
"transportType": "sse"
}
}
}Related MCP server: mcp-mermaid-validator
License
Published under the MIT license. Made by community 💛
🤖 auto updated with automd
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/avotokyo/Mermaid-Grammer-Inspector'
If you have feedback or need assistance with the MCP directory API, please join our Discord server