Ask your agent for a diagram.
Keep it as documentation.
Your agent maps the system. Every node keeps its own notes and links, so the team can read it, fix it and share it.
Orders DB.
Not just boxes.
Every node is a page.
Each node carries what people come looking for: who owns it, what it runs on, where the runbook is.
Ledger.Ask about anything.
See it in the chat.
Ask about the codebase or the JSON it just fetched. Claude, ChatGPT, Cursor, VS Code and Antigravity draw the diagram right in the chat.
Terminal agents like Claude Code and Codex hand you a link instead.
No key, nothing to install
Sign in with your ToDiagram account when your app asks. No API key, and a free account works. Only the diagrams you save are stored.
Add ToDiagram to your agent
claude mcp add --transport http todiagram https://mcp.todiagram.com/mcpPaste your data.
Read the diagram.
No agent required. Paste JSON, YAML, XML or CSV and every object becomes a node you can search and edit.
Link the diagram,
not a screenshot of it
Drop the link in Slack, the README or the runbook. Whoever opens it gets the diagram itself, notes and all.
Guides, tips and news
from ToDiagram.

From ASCII Boxes to Real Diagrams: ToDiagram Now Draws in Your Chat
The ToDiagram MCP server lets Claude, ChatGPT, Cursor and other AI apps draw architecture maps, flowcharts and data diagrams right in the conversation, and save the ones worth keeping.
Read the article
Introducing New Shapes in ToDiagram
ToDiagram now supports more node shapes for Mermaid and custom diagrams, including diamonds, cylinders, circles, hexagons, parallelograms, trapezoids, and more.
Read the article
Visualize Pull Requests as Diagrams
Large pull requests hide structural changes across scattered diffs. Instead of mentally reconstructing the system, let an LLM explain the PR as a diagram and review the shape of the change before reading the code.
Read the articleAsk for the diagram
Add ToDiagram to your agent once. After that, documentation you can open, correct and share is one sentence away.