ChartPane
io.github.ahmadsl由 GitHub 账号 ahmadsl 发布v1.0.0更新于 Oct 24, 2026
Renders interactive Chart.js charts and dashboards inline in AI conversations.
概览
ChartPane 是一个远程 MCP 服务器,可在 AI 对话中内嵌渲染交互式 Chart.js 图表和多图仪表板。
- 可以做什么
- 根据标签和数据集渲染单个图表,支持柱状、折线、面积、饼图、环形、极区、气泡、散点、雷达等类型,以及堆叠和水平柱状变体。构建最多四列的多图仪表板网格。使用自定义颜色或内置 12 色调色板。图表在浏览器端以交互式 Chart.js 画布渲染。
- 适用场景
- 适合在与 Claude、ChatGPT、VS Code、Cursor 或其他支持 MCP Apps 的客户端对话时,直接把数据变成可视化图表或仪表板,而无需导出到单独的图表工具。
- 运行要求
- 远程端点 mcp.chartpane.com,通过 streamable HTTP 访问,需要 OAuth 认证。客户端需支持 MCP Apps 才能内嵌渲染。README 中备选的 mcp-remote 方式需要 Node.js。
安装
在 SourceWeft 中
- 打开 控制台中的 ChartPane,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.ahmadsl%2Fchartpane/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"chartpane": {
"type": "http",
"url": "https://mcp.chartpane.com/mcp"
}
}
}README
ChartPane
MCP App that renders interactive Chart.js charts inline in Claude's UI. Works with Claude Desktop, ChatGPT, VS Code, Cursor, and any client that supports MCP Apps.
Live instance: mcp.chartpane.com
Features
- 9 chart types: bar, line, area, pie, doughnut, polarArea, bubble, scatter, radar
- Stacked and horizontal bar chart variants
- Multi-chart dashboard grids (up to 4 columns)
- Custom colors or automatic 12-color palette
- Client-side rendering — chart data never stored server-side
- Works with any MCP-compatible client (Claude Desktop, ChatGPT, VS Code, Cursor)
Tools
render_chart— Render a single chart (bar, line, area, pie, doughnut, polarArea, bubble, scatter, radar, stacked)render_dashboard— Render a multi-chart grid layout
Quick Start
Add ChartPane to Claude Desktop via Settings > Connectors > Add custom connector:
Or use mcp-remote (requires Node.js):
Usage Examples
1. Bar chart
Prompt: "Create a bar chart of quarterly revenue: Q1 $50k, Q2 $80k, Q3 $120k, Q4 $95k"
Claude calls render_chart with:
An interactive bar chart renders inline in the conversation.
2. Pie chart
Prompt: "Show browser market share as a pie chart: Chrome 65%, Safari 19%, Firefox 8%, Edge 5%, Other 3%"
Claude calls render_chart with:
Each slice gets a distinct color from the built-in palette.
3. Multi-chart dashboard
Prompt: "Build a dashboard with monthly active users as a line chart and signups by channel as a bar chart"
Claude calls render_dashboard with:
Both charts render side-by-side in a grid layout.
Self-Hosting
ChartPane runs on Cloudflare Workers.
You'll need to create your own KV namespace and D1 database — see comments in wrangler.jsonc.
Development
Architecture
Claude tool calls flow through a thin MCP server that validates input and returns structuredContent. The browser-side UI transforms input into Chart.js configs and renders to canvas. All shared logic (types, validation, colors, config) lives in shared/.
Privacy
ChartPane logs only request metadata (chart type, title, timestamp). Chart data values are never stored. Charts render entirely client-side in your browser. Full policy: chartpane.com/privacy
Support
- GitHub Issues: github.com/ahmadnassri/chartpane/issues
- Email: [email protected]
License
MIT
来源:README.md,提交 097a2af
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分