Generate Apache ECharts diagram and chart with AI MCP dynamically. Using for chart generation and data analysis.
开源代码在这里: https://github.com/hustcc/mcp-echarts 求 ⭐️⭐️⭐️。
ECharts
, include data, style, theme and so on.png
, svg
, and option
formats, with validation for ECharts
to facilitate the model's multi-round output of correct syntax and graphics.zero dependence
.secure
, fully generated locally, without relying on any remote services.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-echarts": {
"command": "npx",
"args": [
"-y",
"mcp-echarts"
]
}
}
}
On Window system:
{
"mcpServers": {
"mcp-echarts": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"mcp-echarts"
]
}
}
}
Also, you can use it on aliyun, modelscope, glama.ai, smithery.ai or others with HTTP, SSE Protocol.
Install dependencies:
npm install
Build the server:
npm run build
Start the MCP server:
npm run start
MIT@hustcc.