line9 · mcp

Line9's renderer, inside your assistant.

Line9 renders the Mermaid you already write with its own layout engine — same .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"
    }
  }
}

Data handling

How Line9's MCP handles your data is written out once, on the docs — not restated here.

Full connect instructions, tools, sign-in and troubleshooting: /docs/mcp. Commercial use and Pro: pricing.

hosted at mcp.line9.ai claude · chatgpt · cursor · vs code docs →