Diagram
SOURCEYour repo or chatarchitecture.html
HOST

Diagram

Diagrams drawn by AI, shared by link.

VIEWER

What it is

Share a diagram the way you share code

Ask Claude, ChatGPT, Codex, or Cursor to draw your architecture, a request flow, or a data model. Diagram hosts the result at a permanent link you can paste anywhere, and every update lands at the same URL. No screenshots going stale, no one-off gists, no design tool.

Works with the tools you already use

How it works

From prompt to link in a minute

01Sign inGoogle account, key made for you
02Connect your toolOne MCP connection
03Ask for a diagramthe model draws it as HTML
04Share the linksame URL on every update

One link, forever

Every push adds a version under the same URL, so the link in last month’s pull request shows today’s diagram.

Private by default

Only you and the emails you add can open a diagram. Make one public when anyone with the link should see it.

Made for agents

One MCP server for every AI tool, from ChatGPT to Claude Code. Your AI draws the diagram and hands you the link.

Rich link previews

Public diagrams unfurl in Slack, iMessage, Discord, and X with their title. Private ones never leak theirs.

Any format

Mermaid, D2 or Graphviz SVG, Excalidraw, canvas, or hand-built HTML and CSS. If a browser renders it, it works.

Sandboxed

Diagram HTML runs with an opaque origin, so its scripts can’t read your session or act as you.

From a chat

> Draw how our checkout service talks to Stripe
  and publish it to Diagram.

✓ publish_diagram
  https://diagram.la/Hk3pQ8zLw2Rt

From a repo

> Update the checkout diagram: we added a
  fraud check before Stripe.

✎ diagrams/checkout.html
✓ publish_diagram (v2, same link)
  https://diagram.la/Hk3pQ8zLw2Rt

Questions

What is Diagram?
A hosting utility for diagrams drawn by AI. Push one self-contained HTML file and get a permanent link that always shows the latest version.
Can ChatGPT or Claude publish here?
Yes. Add Diagram as an MCP connector in Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code, Windsurf, or Gemini CLI, then ask for a diagram.
Is it free?
Free for 5 projects of 100 diagrams each. Pro is $5/month for 100 projects.
Who can see my diagrams?
New diagrams are private to you and the emails you add. Public diagrams open for anyone with the link but are never indexed by search engines.
More answers