ECharts MCP Server

ECharts MCP Server

Generate visual charts using ECharts with AI MCP dynamically, used for chart generation and data analysis.

159
Stars
30
Forks
7
Releases

Overview

MCP ECharts is an MCP server that enables AI-assisted generation of Apache ECharts visualizations. It fully supports all ECharts features and syntax, including data binding, styling, and themes. The server can export charts to PNG, SVG, and ECharts option formats, with built-in validation to help models produce correct syntax and graphics across multiple rounds. It integrates MinIO object storage so chart images can be stored and returned as URLs instead of Base64 data, improving performance and ease of sharing. If MinIO is not configured or unavailable, output gracefully falls back to Base64. The project is lightweight with zero dependencies and entirely generated locally to maximize security by avoiding remote services. It supports multiple transports: SSE and Streamable, and can connect to desktop applications via stdio transport. CLI and npm-based installation are supported, with endpoints such as /sse for SSE and /mcp for streamable transports, and environment variable configuration for MinIO. The README also covers installation steps and usage examples for running and configuring the server.

Details

Owner
hustcc
Language
TypeScript
License
MIT License
Updated
2025-12-07

Features

Full ECharts feature compatibility

Fully supports all features and syntax of ECharts, including data, styling, and themes.

Export formats with validation

Exports to PNG, SVG, and option formats, with validation to ensure correct syntax and graphics across multi-round output.

MinIO integration for image hosting

Stores chart images in MinIO and returns URLs instead of Base64 data to improve performance and sharing.

Lightweight, zero dependencies

Lightweight installation with zero dependencies for easy setup.

Locally generated, secure

Extremely secure and fully generated locally, without reliance on remote services.

SSE and Streamable transports

Supports SSE and Streamable transport modes for flexible streaming and interaction.

Desktop app stdio transport compatibility

Desktop applications can connect via stdio transport using configured MCP server entries.

Audience

DevelopersIntegrate MCP ECharts to generate dynamic charts with AI MCP for analysis workflows.
Data ScientistsUse MCP ECharts for AI-assisted data visualization and insights in analysis pipelines.

Tags

EChartsMCPAI MCPchart generationdata analysisMinIOPNGSVGoptionSSEstreamablelocal generationsecurity