AI diagram generator, inside the AI you already use
You don’t need a separate AI diagram generator. The AI you already use can turn text into a diagram: ChatGPT, Claude, Cursor, Claude Code, Gemini, and ten more. Describe what you want in plain words, the AI draws it, and Diagram saves it at a link you can share. There’s no prompt box on this page; you ask in your own chat or coding tool, which already knows your project. It’s the same three steps in every tool, and this page has the exact steps for each one.
1Connect Diagram to your AIOnce. It takes a minute, and there’s nothing to install. Your tool’s exact steps are below.
2Ask for a diagramSay what it should show: “draw how an order moves through our shop”. The AI draws it and saves it as a draft only you can see, at a link.
3Publish and shareAsk for changes until it’s right; the same link updates. Then tell your AI to publish it, and send the link to your team.
What you can ask for
Not only flowcharts. Each of these is one request in plain words, drawn in its own style. It can draw physical things too, like an exploded view drawing of an engine or a flashlight. See all fourteen.
Flowchart · Kraft paper
What happens after you order
Show how an order moves.
Architecture · Dracula
How our app works
Explain your system to anyone.
Org chart · Nord
Who does what at a small studio
Teams, roles, who to ask.
How to make diagrams in Claude Code
Claude Code is Anthropic’s coding agent in the terminal. Connected to Diagram, it saves every diagram it draws at a link you can share.
Connect Diagram to Claude Code
Run this in a terminal, in your repo. It connects Diagram and starts Claude Code:
claude mcp remove -s user diagram ; claude mcp add -s user --transport http diagram https://diagram.la/mcp ; claude
Sign in once: When Claude Code starts, type /mcp, pick diagram, and choose Authenticate: sign in to Diagram in the browser tab that opens.
Then ask for a diagram
In Claude Code, then describe what you want. For example:
“Make an architecture diagram of this repo and give me a link I can share.”
“Diagram the deploy pipeline from push to production, using the CI config here.”
Codex CLI is OpenAI’s coding agent in the terminal. Connected to Diagram, it saves every diagram it draws at a link you can share.
Connect Diagram to Codex CLI
Run this in a terminal, in your repo. It connects Diagram and starts Codex CLI:
codex mcp remove diagram ; codex mcp add diagram --url https://diagram.la/mcp ; codex "Set up Diagram for this repo, then ask me what to draw. If you don't have the Diagram tools, tell me the connection didn't work."
Sign in once: Codex opens a browser tab as soon as it adds Diagram: sign in to Diagram and click Allow.
Then ask for a diagram
In Codex, then describe what you want. For example:
“Make an architecture diagram of this repo and give me a link I can share.”
“Draw the flow of a background job from the queue to the database.”
Codex app is OpenAI’s Codex desktop app. Connected to Diagram, it saves every diagram it draws at a link you can share.
Connect Diagram to Codex app
In the Codex app, open Settings → MCP servers → Add server, choose Streamable HTTP, paste the URL from this snippet, save, and restart. Or add the snippet to ~/.codex/config.toml (%USERPROFILE%\.codex\config.toml on Windows), which the Codex CLI and IDE extension share:
Gemini CLI is Google’s coding agent in the terminal. Connected to Diagram, it saves every diagram it draws at a link you can share.
Connect Diagram to Gemini CLI
Run this in a terminal, in your repo. It connects Diagram and starts Gemini CLI:
gemini mcp remove -s user diagram ; gemini mcp add -s user --transport http diagram https://diagram.la/mcp ; gemini -i "Set up Diagram for this repo, then ask me what to draw. If you don't have the Diagram tools, tell me the connection didn't work."
Sign in once: When Gemini first connects, a browser tab opens: sign in to Diagram and click Allow.
Then ask for a diagram
In Gemini CLI, then describe what you want. For example:
“Draw how the services in this repo talk to each other.”
“Diagram what happens when a user signs up, step by step.”
VS Code + Copilot is GitHub Copilot’s Agent mode in VS Code. Connected to Diagram, it saves every diagram it draws at a link you can share.
Connect Diagram to VS Code + Copilot
Use the one-click Add to VS Code button on the setup page. Or run "MCP: Add Server" from the Command Palette, choose HTTP, paste this URL, and choose Global. VS Code asks you to trust the server the first time it starts:
https://diagram.la/mcp
Sign in once: When VS Code starts the server, it asks to sign in: allow it, then sign in to Diagram and click Allow.
Then ask for a diagram
Open your repo and switch Copilot Chat to Agent mode, then describe what you want. For example:
“Make an architecture diagram of this workspace and give me a link I can share.”
“Draw what happens when this API route is called, down to the database.”
Zed is the fast editor with a built-in agent. Connected to Diagram, it saves every diagram it draws at a link you can share.
Connect Diagram to Zed
In Zed, open Settings → AI → MCP Servers → Add Server → Add Remote Server, or add this to your settings file (zed: open settings file). A green dot means it’s connected:
Claude app is Anthropic’s Claude on the web and desktop. Connected to Diagram, it saves every diagram it draws at a link you can share.
Connect Diagram to Claude app
In claude.ai or the Claude desktop app: Customize → Connectors → + → Add custom connector. Name it Diagram, paste this URL, leave Advanced settings empty, and click Add:
https://diagram.la/mcp
Sign in once: After adding it, click Connect next to Diagram: sign in to Diagram and click Allow.
Works on every Claude plan (Free allows one custom connector). On Team and Enterprise, an org owner adds custom connectors under Organization settings → Connectors.
Then ask for a diagram
In a new chat, click + → Connectors and turn on Diagram, then describe what you want. For example:
“Read this document and draw the process it describes as a diagram I can share.”
“Map the customer journey for our coffee shop: order, bar, pickup, and where people wait.”
ChatGPT is OpenAI’s ChatGPT. Connected to Diagram, it saves every diagram it draws at a link you can share.
Connect Diagram to ChatGPT
On chatgpt.com: Settings → Security and login → turn on Developer mode. Then go to chatgpt.com/plugins, click +, name it Diagram, paste this as the server URL, choose OAuth, and create it:
https://diagram.la/mcp
Sign in once: ChatGPT then sends you to sign in to Diagram and click Allow.
Web only (chatgpt.com). Publishing needs a plan whose developer mode allows write tools: Business, Enterprise, or Edu for sure; OpenAI’s docs disagree on Plus and Pro. On Business and Enterprise, an admin has to allow developer mode.
Then ask for a diagram
In a new chat, pick Developer mode from the + menu and select Diagram (ChatGPT asks you to confirm each publish), then describe what you want. For example:
“Turn these meeting notes into a flowchart of who does what, and give me a link.”
“Draw our sales funnel from these numbers: 480k views, 32k visits, 4,100 signups, 610 buyers.”
AI architecture diagram generator: draw your system from the codeCursor, Claude Code, Codex and GitHub Copilot can read a repo and draw its system architecture: services, data stores, cloud, and system design views. The prompts that work, how to check the result, and how to keep it current at one link.
Claude artifacts: how to share a diagram at a link (with examples)How sharing Claude artifacts works now: private by default, who can open a shared one, what changed in September 2026, and how to share a diagram Claude made with people who don’t use Claude. With live examples.
The best AI diagram tools in 2026, compared honestlyEraser, Napkin, Whimsical, Mermaid Chart, Lucid, Miro, draw.io, Excalidraw, Claude and Diagram: what each AI diagram tool does, its free plan, how sharing works, and which to pick for what.
Exploded view drawing: what it is, examples, and how to make oneAn exploded view drawing (or exploded diagram) shows an object’s parts pulled apart in the order they go together. What it is, real examples, and how to make one step by step, by hand or with AI.
ER diagram from your database schema, with AIHave Cursor, Claude Code, Codex or Copilot read your SQL, Prisma or migration files and draw the entity relationship diagram: tables, keys and relationships, saved at a link that updates when the schema changes.
Sequence diagrams with AI: draw a request from your codeHave Cursor, Claude Code, Codex or Copilot trace a request through your code and draw the sequence diagram: who calls whom, in order, with the error paths. Saved at a link you can share and update.
C4 model diagrams with AI, drawn from your repoHave Cursor, Claude Code, Codex or Copilot read your repo and draw C4 diagrams: the system context, the containers, then the components of one container, each at a link you can share and update.
AI flowchart generator: turn code or text into a flowchartUse ChatGPT, Claude, Cursor or Claude Code as an AI flowchart generator: turn a function, a process or notes into a flowchart with clear decisions, saved at a link you can share and update.
The AI you already use, connected to a place that keeps what it draws. ChatGPT, Claude, Cursor, Claude Code and the others draw good diagrams from plain words; what they lack is a link that lasts and updates. Diagram adds that, so you don’t have to paste text into a separate diagram app.
Can I turn text into a diagram?
Yes. Paste the text (meeting notes, a process, a spec) into your AI and ask for the diagram: “turn this into a flowchart and give me a link”. For code, ask a coding tool to read the repo instead of pasting it.
Can AI make diagrams?
Yes. ChatGPT, Claude, Cursor, and other AI tools can draw flowcharts, architecture diagrams, org charts, timelines, funnels, and more from a description in plain words. They draw the diagram as a web page, so it can use any colors, fonts, and layout, not only boxes and arrows.
Which AI is best for making diagrams?
Use the one you already use. The steps are the same in each: connect Diagram once, then ask. Chat apps like ChatGPT and Claude suit diagrams of ideas, plans, and processes; coding tools like Cursor and Claude Code can read your code, so they suit diagrams of how software works.
Do I need to know Mermaid or any diagram language?
No. You describe what you want and the AI draws it. If you already have Mermaid, D2, or Graphviz, the AI can use that too.
How do I share a diagram an AI made?
With Diagram connected, every diagram is saved at a link. It starts as a draft only you can see; tell your AI to publish it and the people on its project can open it. You can also make one public for anyone with the link.
Can I change the diagram later?
Yes. Ask your AI for the change. It is saved at the same link, and every earlier version is kept.
Is it free?
Your first 5 diagrams are free. Paid plans for more open soon; for now the free plan is all there is.