by hustcc
🧬 Generate visual charts using ECharts with AI MCP dynamically, used for chart generation and data analysis.
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
# Add to your Claude Code skills
git clone https://github.com/hustcc/mcp-echartsGuides for using mcp servers skills like mcp-echarts.
Last scanned: 5/30/2026
{
"issues": [
{
"type": "npm-audit",
"message": "@modelcontextprotocol/inspector: MCP Inspector is Vulnerable to Potential Command Execution via XSS When Connecting to an Untrusted MCP Server",
"severity": "high"
}
],
"status": "WARNING",
"scannedAt": "2026-05-30T15:27:39.081Z",
"npmAuditRan": true,
"pipAuditRan": true
}Generate Apache ECharts with AI MCP dynamically for chart generation and data analysis. Also you can use mcp-server-chart to generate chart, graph, map.
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.MinIO object storage and return URLs instead of Base64 data for better performance and sharing capabilities.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 modelscope, glama.ai, smithery.ai or others with HTTP, SSE Protocol.
Install the package globally.
npm install -g mcp-echarts
Run the server with your preferred transport option:
# For SSE transport (default endpoint: /sse)
mcp-echarts -t sse
# For Streamable transport with custom endpoint
mcp-echarts -t streamable
Then you can access the server at:
http://localhost:3033/ssehttp://localhost:3033/mcpYou can also use the following CLI options when running the MCP server. Command options by run cli with -h.
MCP ECharts CLI
Options:
--transport, -t Specify the transport protocol: "stdio", "sse", or "streamable" (default: "stdio")
--port, -p Specify the port for SSE or streamable transport (default: 3033)
--endpoint, -e Specify the endpoint for the transport:
- For SSE: default is "/sse"
- For streamable: default is "/mcp"
--help, -h Show this help message
For better performance and sharing capabilities, you can configure MinIO object storage to store chart images as URLs instead of Base64 data.
[!NOTE] If MinIO is not configured or unavailable, the system automatically falls back to
Base64data output, ensuring compatibility.
We can Integrate with MinIO object storage providers below.
Also, we can setup MinIO locally for free.
Install and start MinIO locally:
# Download MinIO (macOS example)
brew install minio/stable/minio
# Start MinIO server
minio server ~/minio-data --console-address :9001
Configure environment variables:
# Copy the example environment file
cp .env.example .env
# Edit .env with your MinIO settings
MINIO_ENDPOINT=localhost
MINIO_PORT=9000
MINIO_USE_SSL=false
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=minioadmin
MINIO_BUCKET_NAME=mcp-echarts
Install dependencies:
npm install
Build the server:
npm run build
Start the MCP server:
npm run start
15+ charting MCP tool. #2MinIO to save the chart image base64 and return the url. #10@napi-rs/canvas instead node-canvas. #3outputType schema for all chart tools. #24MIT@hustcc.
mcp-echarts is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by hustcc. 🧬 Generate visual charts using ECharts with AI MCP dynamically, used for chart generation and data analysis. It has 250 GitHub stars.
mcp-echarts returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.
Clone the repository with "git clone https://github.com/hustcc/mcp-echarts" and add it to your Claude Code skills directory (see the Installation section above).
mcp-echarts is primarily written in TypeScript. It is open-source under hustcc on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh mcp-echarts against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars