# Mermaid Lint MCP

> Use this tool when you need to validate Mermaid diagram syntax and ensure accurate visual documentation. It solves problems of incorrect syntax and provides real-time error checking through CLI and MCP interfaces, offering line-specific feedback as input and validated diagrams as output. Ideal for use when generating diagrams with AI assistants to guarantee valid Mermaid syntax across various diagram types.

Canonical page: https://skillsregistry.net/skills/yaodebian-mermaid-lint-mcp  
JSON: https://api.skillsregistry.net/v1/skills/yaodebian-mermaid-lint-mcp

## Description

A tool for validating Mermaid diagram syntax through CLI and MCP interfaces, providing real-time error checking and line-specific feedback. It enables AI assistants to self-validate and debug generated diagrams across all Mermaid types, ensuring valid visual documentation.

## Trust

- **Trust score (0–1):** 0.97
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** file-system
- **Updated:** 2026-09-19

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/mmq4osi5xc)
- **Repository:** <https://github.com/yaodebian/mermaid-lint-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "yaodebian-mermaid-lint-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/yaodebian-mermaid-lint-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/yaodebian-mermaid-lint-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
