PlotSet LogoPlotSet

Charts in Claude (MCP)

Connect PlotSet to Claude and ask for a chart in plain language. Claude builds it in your account, shows you the render, and hands back a live embed URL — no copying data between windows.

用 Claude 数据做出的图表

这不是截图,而是一张真实的交互式图表,嵌入方式和你自己的完全一样。

示例:US states with the most counties

嵌入代码

一行 HTML。这就是上面那张图表的真实代码——粘贴到任何支持 HTML 的页面即可。

<iframe width="100%" height="100%" src="https://plotset.com/api/embed/8e1c377f-479b-43a0-a6e5-08bf29b2ea61" />

尺寸由你决定:直接在 iframe 上设置宽高,或把它放进一个按你自己比例设定的容器里。

PlotSet 与 Claude:实话实说

MCP — the Model Context Protocol — is an open standard for giving an AI assistant real tools rather than a description of them. PlotSet runs an MCP server at mcp.plotset.com, so once you connect it, Claude can list the template catalogue, create a project in your account, upload data, bind columns, restyle the result and publish an embed. Thirteen tools in total, and each one that changes a chart sends the newly rendered PNG straight back into the conversation, so you see what you asked for instead of a description of it. This is not a chatbot bolted onto the editor. The charts Claude makes are ordinary PlotSet projects: they appear in your dashboard, open in the normal editor, use the same 300-plus templates, and are yours to keep editing by hand. The conversation is just a faster way to get the first eighty per cent done.

如何用 Claude 数据做图表

从表格到发布嵌入,一步一步来。

01

Add PlotSet as a custom connector

In Claude's connector settings, add a custom connector pointing at https://mcp.plotset.com/mcp. Claude registers itself with PlotSet automatically — there is no API key to generate and nothing to paste.

02

Sign in and approve access once

Claude opens a PlotSet consent page in your browser. Sign in with the account you already use, approve, and you are returned to Claude. That is a standard OAuth exchange, and the only thing it grants is access to your own charts.

03

Ask for the chart you want

"Make a bar chart of these ten states by number of counties." Claude picks a template, creates the project, uploads the rows and binds the columns in one step, then shows you the render.

04

Give the data, or paste it in the message

Small tables can go straight into the conversation. For anything larger, point Claude at a CSV you have shared with it — the rows are uploaded to your PlotSet project as a normal dataset.

05

Refine it in the same conversation

"Sort it descending." "Use one blue instead of the rainbow." "Drop the legend and make the background transparent." Each change comes back as a fresh render, so you are iterating on a picture rather than on settings.

06

Take the embed URL, or open it in the editor

Ask for the embed and Claude returns a live URL and a share link. Paste the URL into Notion, WordPress, your docs or an iframe — or open the project in the PlotSet editor and finish it by hand.

相比 Claude 自带图表,你多得到什么

  • You see the chart, not a description of it

    Every tool that creates or changes a chart re-renders it and returns the image inline. There is no round trip to a browser tab to find out whether the instruction landed.

  • The whole template catalogue is available

    Claude can list and search all 300-plus templates, including maps, sankeys, treemaps and population pyramids — not a handful of built-in chart shapes.

  • The output is a real PlotSet project

    It lands in your dashboard, opens in the editor, exports as PNG, SVG or PDF, and publishes as an embed. Nothing about it is a dead end when the conversation stops.

  • Styling survives the data

    Ask once for your palette, fonts and number formats. Those are chart settings, so re-uploading the rows later does not undo them.

它做不到什么

  • Column binding is worth checking

    Claude auto-binds your columns to the template's slots, and on unusual data it can guess wrong — a value column read as a label produces an empty chart rather than an error. Ask it to confirm the binding, or glance at the render it sends back.

  • It is not connected to a live data source

    The chart holds a copy of the rows you gave it. When the underlying data changes, you ask for an update — nothing polls a spreadsheet or a database on your behalf.

  • Large files need to reach Claude first

    Data is uploaded through the conversation, so a multi-hundred-megabyte export is not the right input. Aggregate it to the rows the chart actually plots, which is usually a much smaller table.

  • Access has to be re-approved, not refreshed

    PlotSet issues a single long-lived token rather than an access and refresh pair. If the connection ever stops working, reconnect the connector and approve once more.

Claude 图表常见问题

Add a custom connector in Claude's connector settings pointing at https://mcp.plotset.com/mcp. Claude registers itself, opens a PlotSet sign-in page for you to approve, and the tools appear in your conversation. No API key is involved.

把你的 Claude 数据发布成交互式图表

导入数据,几分钟内得到一张可嵌入的交互式图表——免费,无需信用卡。