What you get
Ask in plain words, for example:
- "Draw a flowchart of our refund process."
- "Make a sequence diagram of the OAuth login."
- "Turn these CREATE TABLE statements into an ER diagram."
- "Chart this CSV as a bar chart."
- "Turn this Python function into a flowchart."
The assistant answers with a link that opens the diagram in Chalkline, ready to edit, a read only view link, an SVG picture and a short description. Nothing is stored on any server: the diagram travels inside the link.
Connect it
Claude (claude.ai and the desktop app)
Open Settings → Connectors → Add custom connector and enter:
https://chalkline.in/mcp
Claude Code
claude mcp add --transport http chalkline https://chalkline.in/mcp
Cursor, Windsurf and other MCP clients
Add this to the client's MCP settings file (for Cursor, .cursor/mcp.json):
{ "mcpServers": { "chalkline": { "url": "https://chalkline.in/mcp" } } }
VS Code
Add to .vscode/mcp.json:
{ "servers": { "chalkline": { "type": "http", "url": "https://chalkline.in/mcp" } } }
Run it on your own computer
Prefer everything local? With Node 18 or newer:
{ "mcpServers": { "chalkline": { "command": "npx", "args": ["-y", "https://chalkline.in/chalkline-mcp.tgz"] } } }
The tools
| Tool | What it does |
|---|---|
create_diagram | Flowchart, sequence, class, ER, state, Gantt, timeline, mind map, network, SQL, D2 or PlantUML from text |
create_chart | Line, bar, scatter, pie, donut or radar chart from a CSV table |
code_to_flowchart | Flowchart, call map or classes from Python, JavaScript, TypeScript, Java, C, C++ or Go |
convert_diagram | To SVG, TikZ, draw.io, Excalidraw, Mermaid or Chalkline JSON |
describe_diagram | Describes a shared Chalkline board in words |
list_templates, use_template | Starts from a ready made template |
How it works
The assistant writes diagram text, Chalkline lays it out and packs it into a link, and you open the link to see and edit it. The online server keeps no data, needs no account and no API key.
Tips for better results
- Say which kind of diagram you want: "a sequence diagram", "a top to bottom flowchart".
- Give the steps or the code; the assistant fills in the rest.
- Ask for changes in words ("make the error path red", "add a cache"), or open the link and change it yourself.
- Ask for
convert_diagramto TikZ when the figure goes into a LaTeX paper.
Privacy
Diagrams are not saved by the server. Links contain the diagram itself, so only people you send a link to can see it. For code, code_to_flowchart returns a link and the code is parsed on the device that opens it. More about the server on the MCP server page. New to MCP? Read MCP servers for diagrams, see how to make Claude draw diagrams, or compare Excalidraw MCP alternatives.