Skip to main content
Glama
Mermaid-Grammer-Inspector

Mermaid-Grammer-Inspector

by heyq02

Mermaid Grammer Inspector

Mermaid-Grammer-Inspector MCP server npm version npm downloads bundle size license

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-mcp

NPX 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=4000

set 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

Available Tools

1 tool
checkA

Check if the text is a valid mermaid diagram. Returns an empty string if valid, otherwise returns the error message.

Inputs: text (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 1 tool

    Disambiguation5/5

    Only one tool exists, so there is no ambiguity whatsoever.

    Naming Consistency5/5

    With a single tool, naming is trivially consistent.

    Tool Count3/5

    A single tool for validation is borderline; it feels thin for a server named 'Inspector' but could be acceptable for a focused utility.

    Completeness2/5

    Only validation is provided; lacking features like parsing, rendering, or transformation for a diagram inspector.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers