Line9's renderer, inside your assistant.
.mmd source, cleaner placement, orthogonal edges, readable
type. Until now that lived in the web viewer and the CLI. The hosted MCP server puts it in the
conversation: ChatGPT, Claude, Cursor, VS Code.Before, and after
An assistant writes Mermaid and the host draws it with stock layout — overlapping nodes, tangled edges, a diagram you would not put in a doc. Add Line9 and the same source is laid out by Line9's engine and shown as a zoomable widget in the thread, one click from line9.ai/diagram.
Hosts
Connect from claude.ai and Claude Desktop, ChatGPT (developer mode), Cursor, and VS Code. Claude Code can call the same server; in a terminal you get the verdict text and an Open-in-Line9 link, not the widget.
Add Line9
One-click for Cursor and VS Code. Other hosts take the URL https://mcp.line9.ai/mcp — steps for each are on
the MCP docs.
Or paste this into your MCP config:
{
"mcpServers": {
"line9": {
"url": "https://mcp.line9.ai/mcp"
}
}
}Try it
In Claude, say "using Line9" — otherwise it may draw with its own renderer.
- Using Line9, draw a flowchart of how a pull request gets merged
- Using Line9, turn this process into a diagram: …
- Show me my Line9 diagrams
Data handling
How Line9's MCP handles your data is written out once, on the docs — not restated here.