{"repo":"apache/echarts-mcp","free":true,"listed":false,"github":"https://github.com/apache/echarts-mcp","clone":"git clone https://github.com/apache/echarts-mcp.git","description":"Apache ECharts MCP Server","language":"JavaScript","stars":78,"topics":["data-visualization","echarts","mcp"],"license":"Apache-2.0","category":"mcp-servers","readme_excerpt":"ECharts MCP This project shows how to implement an MCP (Model Context Protocol) server of Apache ECharts. The basic workflow is that it gets chart type, data and other parameters from an LLM, and returns the cloud image URL of the generated ECharts chart. Supported ECharts series types: 'bar', 'line', 'pie', 'scatter', 'funnel', 'tree', 'treemap', 'sunburst' . Setup Create an .env file. See .env.example for reference. You need to have the access to a baidubce/bce-sdk-js account to store the images on the cloud. Run FAQ How to change image cloud storage? By default, it uses baidubce/bce-sdk-js to store the generated image and return the URL of the image on the cloud. If you wish to use other Cloud storage, change the implemenation in src/storage.js . How to change ECharts theme? See registerTheme and registerFont comments in src/chart.js . How to support more series types? 1. Change inputSchema in src/index.js 2. Normalize data in src/chart.js You are welcomed to make a pull request. Discussion of Implementation To make an MCP server of Apache ECharts, there are 3 common ways to do: 1. Ask LLM to provide a full ECharts option 2. Ask LLM to provide pre-fined parameters including chart themes 3. Ask LLM to provide pre-fined minimal parameters The advantage of Approach 1 is that is has the potential of making all kinds of charts that ECharts supports. But it may not be stable, especially for less frequently used chart types. Approach 2 gives the freedom to change chart themes fro","default_branch":null,"files":null,"tree":[],"storefront":"/r/apache","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/apache/echarts-mcp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}