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.

On this page
You've probably seen this one.
You ask an AI assistant how a system fits together. It thinks for a moment and then, with complete confidence, draws you a diagram. Out of box-drawing characters.
┌─────────┐ ┌─────────────┐ ┌────────┐
│ Web app │───▶│ API gateway │───▶│ Orders │──┐
└─────────┘ └─────────────┘ └────────┘ │
┌──────────┐ ▲ ┌─────────┐ ▼
│Mobile app│──────────┘ │ Billing │ ┌────────────┐
└──────────┘ └────┬────┘ │ PostgreSQL │
└───▶ │ │
(Redis is in here somewhere) └────────────┘It's charming the first time. By the third arrow that points at nothing, it's a puzzle. The model understood the system perfectly well. What it was missing was a pencil.
So we built one. The ToDiagram MCP server gives Claude, ChatGPT, Cursor and other AI apps a way to draw real diagrams, right in the conversation.
A pencil for your assistant#
MCP (Model Context Protocol) is how AI apps plug into outside tools. You add ToDiagram once, as a connector, and from then on your assistant can draw. Not describe a diagram, not hand you code to paste somewhere else: draw it, inside the chat, where you can zoom, pan and open it full screen.
Here's what that looks like for four different requests.
Draw the architecture of this repository.
A Next.js app calls the Orders API, which keeps orders in PostgreSQL and hands slow work to a RabbitMQ queue.
Show how the classes in src/orders depend on each other.
The controller only talks to OrderService, which reads and writes through the repository and charges through PaymentClient.
Turn this API response into a diagram.
Dana has two orders. A-1057 isn't paid yet.
Make a Mermaid sequence diagram of how a user signs in.
Four steps, from the sign-in form to the dashboard.
The split of work is simple. The assistant does what it's good at: reading your code, your schema or your JSON, deciding what matters, and describing the diagram as boxes and arrows. ToDiagram does what language models are bad at: putting every box in its place, routing every arrow and drawing a picture you can actually read.
Four kinds of diagrams#
- System diagrams for architecture, platform and repository overviews. Each service gets its logo, so the Redis box looks like Redis.
- Code diagrams for classes, types and components, with their fields listed inside.
- Data diagrams for JSON, YAML, CSV and XML. Paste an API response and see its shape.
- Mermaid flowcharts, ER diagrams and sequence diagrams, for when you or your team already speak Mermaid.
You don't pick between them. You ask in plain words, and the assistant picks.
What happens when you ask#
Here's the whole trip, drawn by the MCP server itself:
- You ask for a diagram, or for something a diagram would explain better.
- Your assistant turns what it knows into nodes and edges, and looks up icons for the tools and services it mentions.
- ToDiagram checks the diagram first. If something is off, like an arrow pointing at a node that doesn't exist, it says exactly what, and the assistant fixes it and tries again. Most of the time you never notice.
- It lays the diagram out with the same engine as the ToDiagram editor and sends back a picture, which shows up in the chat.
Want it different? Just say so. "Group the services by team." "Add the payment provider." "Flip it to run top to bottom." The assistant redraws.
Keep the ones worth keeping#
Most diagrams in a chat are throwaway, and that's fine. Nothing is stored while you explore.
When one is worth keeping, press Save on the diagram, or just ask: "Save that to ToDiagram." It becomes a private document in your account, and the link opens it in the ToDiagram editor, next to the rest of your diagrams.
Some things it deliberately can't do. A connected app can draw diagrams and save new ones, and that's all. It can't open, change or delete the documents you already have. If you ever want to cut an app off, Account > MCP Server in the editor lists every app you've connected, with a Disconnect button beside each.
Prompts worth stealing#
In a coding agent like Claude Code, Cursor, Codex or VS Code, where the assistant can read your project:
- "Draw the architecture of this repository."
- "Show how the classes in src/orders depend on each other."
- "Draw an ER diagram of the tables in schema.sql."
- "Make a sequence diagram of what happens when a user resets their password."
In a chat like Claude or ChatGPT:
- "Turn this JSON response into a diagram." (then paste it)
- "Here's our onboarding doc. Draw the steps a new customer goes through."
- "Draw a flowchart of how we handle a refund request."
- "Save that diagram to ToDiagram."
Some coding agents, Claude Code for one, don't show pictures inside the conversation. There the assistant saves the diagram and hands you the link instead. And if your agent supports skills, the diagram skill teaches it a few more diagramming habits.
Connect it#
The server lives at https://mcp.todiagram.com/mcp. The first time you use it, your app opens ToDiagram in the browser, you sign in, and you see exactly what the app is asking for before you allow it. No API key and nothing to install.
Pick your app for the exact steps:
All of them are also on the MCP page, along with answers for when something doesn't connect.
We built ToDiagram because some things are much easier to understand when you can see them. Your assistant already understands your system. Now it can show you.
Draw something with it, and tell us what you made.
Paste your data. Read the diagram.
JSON, YAML, XML, CSV and Mermaid open as diagrams you can edit and share.