weekly
weekly copied to clipboard
【开源推荐】用来给大模型生成可视化图表的 MCP,免费,支持 15+ 图表
地址:https://github.com/antvis/mcp-server-chart
MCP Server Chart

A Model Context Protocol server for generating charts using AntV.
This is a TypeScript-based MCP server that provides chart generation capabilities. It allows you to create various types of charts through MCP tools.
基于 AntV 可视化解决方案封装的可视化图表生成 MCP 插件,支持 15+ 常用可视化图表,通过 MCP 工具创建各种类型的图表。
✨ Features
Now 15+ charts supported.
generate_area_chart- Generate aareachart, and return an image URL.generate_bar_chart- Generate abarchart, and return an image URL.generate_column_chart- Generate acolumnchart, and return an image URL.generate_dual_axes_chart- Generate adual-axeschart, and return an image URL.generate_fishbone_diagram- Generate afishbone-diagramchart, and return an image URL.generate_flow_diagram- Generate aflow-diagramchart, and return an image URL.generate_histogram_chart- Generate ahistogramchart, and return an image URL.generate_line_chart- Generate alinechart, and return an image URL.generate_mind_map- Generate amind-mapchart, and return an image URL.generate_network_graph- Generate anetwork-graphchart, and return an image URL.generate_pie_chart- Generate apiechart, and return an image URL.generate_radar_chart- Generate aradarchart, and return an image URL.generate_scatter_chart- Generate ascatterchart, and return an image URL.generate_treemap_chart- Generate atreemapchart, and return an image URL.generate_word_cloud_chart- Generate aword-cloudchart, and return an image URL.
🤖 Usage
To use with Desktop APP, such as Claude, VSCode, Cline, Cherry Studio, and so on, add the MCP server config below. On Mac system:
{
"mcpServers": {
"mcp-server-chart": {
"command": "npx",
"args": [
"-y",
"@antv/mcp-server-chart"
]
}
}
}
On Window system:
{
"mcpServers": {
"mcp-server-chart": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"@antv/mcp-server-chart"
]
}
}
}
Also, you can use it on aliyun, modelscope, glama.ai, smithery.ai or others with HTTP, SSE Protocol.
📠 Private Deployment
MCP Server Chart provides a free chart generation service by default. For users with a need for private deployment, they can try using VIS_REQUEST_SERVER to customize their own chart generation service.
{
"mcpServers": {
"mcp-server-chart": {
"command": "npx",
"args": [
"-y",
"@antv/mcp-server-chart"
],
"env": {
"VIS_REQUEST_SERVER": "<YOUR_VIS_REQUEST_SERVER>"
}
}
}
}
You can use AntV's project GPT-Vis-SSR to deploy an HTTP service in a private environment, and then pass the URL address through env VIS_REQUEST_SERVER.
🔨 Development
Install dependencies:
npm install
Build the server:
npm run build
Start the MCP server:
npm run start
📄 License
MIT@AntV.
目前在 Cline 和 阿里云百炼内置收录。
已收到邮件