About Mermaid Doc MCP Server
Mermaid Doc MCP Server provides access to Mermaid diagram documentation. It is for MCP clients that need to list available diagram names or retrieve documentation for a specific diagram.
Key features
- 01List available Mermaid diagrams
- 02Retrieve documentation for a named diagram
Use cases
- 01Finding a Mermaid diagram by name
- 02Looking up documentation for a specific diagram
MCP support
Exposes tools that list Mermaid diagram names and return documentation for a selected diagram.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMermaid Doc MCP Server
Mermaid Doc MCP Server is a server for generating Mermaid documents.
Features
- List Diagrams: List all available Mermaid diagram names in the documentation.
- Retrieve Documentation: Retrieve the documentation content for a specific Mermaid diagram.
Prerequisites
Installation Requirements
- Install
uvfrom Astral or the GitHub README - Install Python 3.10 or newer using
uv python install 3.10(or a more recent version)
Installation
To add this MCP server to your Amazon Q or Claude, add the following to your MCP config file. With Amazon Q, create (if does not yet exist) a file named .amazonq/mcp.json under the same directory that is running q chat. Then add the following config:
{
"mcpServers": {
"mermaid-doc-mcp-server": {
"command": "uvx",
"args": ["mermaid-doc-mcp-server@latest"]
}
}
}
Tools
list_diagrams
List all available Mermaid diagram names in the documentation.
def list_diagrams() -> list:
get_diagram_doc
Retrieve the documentation content for a specific Mermaid diagram.
def get_diagram_doc(diagram_name: str) -> str:
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.