Sankey diagrams in Claude Code
Point Claude Code at the statements in your project, as CSV, Excel or PDF, and get a Sankey diagram with a link to the SankeyArt editor.
Add SankeyArt with one command:
claude mcp add --transport http --scope user sankeyart https://mcp.sankeyart.com/
> Turn reports/income-statement-2025.csv into a Sankey diagram ⏺ Read(reports/income-statement-2025.csv) ⎿ Read 9 lines ⏺ sankeyart - draft_sankey (MCP)(title: "Income statement FY2025", …) ⎿ {"editor_url": "https://www.sankeyart.com/sankeys/open/…", …} ⏺ Here's the FY2025 income statement as a Sankey diagram: revenue of $1,000M splits into $600M cost of revenue and $400M gross profit, which leaves $120M net income after $250M operating expenses and $30M income tax. Open it in the SankeyArt editor: https://www.sankeyart.com/sankeys/open/…
Add SankeyArt to Claude Code
Pick one of the two, so that SankeyArt isn't connected twice.
One command
The quickest way in.
-
Run in your terminal:
claude mcp add --transport http --scope user sankeyart https://mcp.sankeyart.com/ - Start Claude Code and ask it for a Sankey diagram.
The plugin
For cash flow statements, balance sheets and budgets.
-
In Claude Code, run both:
/plugin marketplace add sankeyart/claude-plugin/plugin install sankeyart@sankeyart -
Ran the one command before? Remove it:
claude mcp remove sankeyart --scope user
Already added SankeyArt to Claude on the web?
It's in Claude Code too when you sign in with the same account. Check with /mcp.
What to ask Claude Code
Write as you would to a colleague. A few prompts to start with:
- Turn reports/income-statement-2025.xlsx into a Sankey diagram.
- Read the cash flow statement in annual-report.pdf and draw it as a Sankey diagram.
- Draw budget.csv as a Sankey diagram, grouped by department.
- Save that diagram in my SankeyArt account.
- Which diagrams do I have in SankeyArt?
Draw for free, save your edits with a subscription
Free, without an account
Draw as many diagrams as you like with Claude Code, then refine them in the SankeyArt editor, faster and more precisely than by prompting.
Your edits aren't saved, and exports carry a small "created with SankeyArt.com" watermark.
With a SankeyArt subscription
Your edits are saved to the SankeyArt cloud, and Claude Code can open your saved diagrams and update them.
No watermark on exports, and more export options.
To sign in, run /mcp, choose sankeyart and Authenticate.
See plans
Frequently asked questions
/mcp, choose sankeyart and Authenticate, and sign in to SankeyArt in your browser. To remove SankeyArt, run claude mcp remove sankeyart --scope user.Using another assistant? See all AI assistants.
Need a hand?
Stuck setting up SankeyArt in Claude Code, or have a question we didn't answer? Write to us and we'll help you get it working.