Mermaid Grammar Inspector
This server validates Mermaid diagram syntax and provides grammar checking via the Model Context Protocol (MCP).
Validate Mermaid diagrams: Submit any text to check whether it constitutes valid Mermaid diagram syntax.
Receive validation feedback: Returns an empty string if valid, or a descriptive error message explaining any syntax issues.
Integrate with MCP clients: Works with any MCP-compatible client (e.g., Cursor) via stdio or SSE transport.
Run as HTTP service: Optionally start with
--http --port=4000for SSE-based communication.Easy to install: Available as an npm package (
@bjmhe/mermaid-grammer-inspector-mcp), runnable via npx or installed globally.
Provides comprehensive grammar checking and syntax validation capabilities for Mermaid diagram code
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 Grammar Inspectorcheck if this flowchart syntax is correct: 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: Mermaid-Grammer-Inspector
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/bjmhe-archived/mermaid-grammer-inspector-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server