Skip to content

🧬 Generate visual charts using echarts with AI MCP dynamically. Using for chart generation and data analysis.

License

Notifications You must be signed in to change notification settings

hustcc/mcp-echarts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCP ECharts build npm Version smithery badge npm License

Generate Apache ECharts diagram and chart with AI MCP dynamically. Using for chart generation and data analysis.

mcp-echarts

✨ Features

  • Fully support all features and syntax of ECharts, include data, style, theme and so on.
  • Support exporting to png, svg, and option formats, with validation for ECharts to facilitate the model's multi-round output of correct syntax and graphics.
  • Lightweight, we can install it with zero dependence.
  • Extremely secure, fully generated locally, without relying on any remote services.

🤖 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-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.

🔨 Development

Install dependencies:

npm install

Build the server:

npm run build

Start the MCP server:

npm run start

📄 License

MIT@hustcc.

About

🧬 Generate visual charts using echarts with AI MCP dynamically. Using for chart generation and data analysis.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •