Echarts

Data and AI

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

Your AI app calls the Echarts MCP server, which does the data and AI work and sends the result back to the chat.

About Echarts

Echarts is a community MCP server from hustcc, filed in our directory under data and ai. Generate visual charts using ECharts with AI MCP dynamically, used for chart generation and data analysis.

At a glance

Publisher
hustcc (community)
Runs
See the README for setup
Written in
TypeScript
License
MIT
GitHub stars
270

How to set up Echarts

  1. Follow the install steps in the Echarts README; it is written in TypeScript, so have that toolchain ready.
  2. Check the Echarts README for keys or settings; the registry lists none that Echarts requires.
  3. Add Echarts to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Echarts tools to confirm the connection.
  5. Run one read-only task with Echarts first, and keep your app asking before each tool call until the results look right.

Echarts compared with similar servers

  • Ruby LLM by patvice has fewer GitHub stars than Echarts (269 against 270); both are community servers, and both run locally.
  • Jinni by smat-dev has more GitHub stars than Echarts (271 against 270); both are community servers, and both run locally.
  • Gemini by aliargun has fewer GitHub stars than Echarts (264 against 270); both are community servers, and both run locally.

Before you connect Echarts

  • Give Echarts its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Echarts tool call until you trust what it does with them.
  • Treat text that Echarts fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Echarts on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Echarts

How marketing and sales teams put Echarts to work, by company size. Pick the size closest to yours and start Echarts on one use case.

Small business

  • A small team can use Echarts to clean and enrich a lead list or a spreadsheet in one pass, instead of hours of copy and paste.
  • Owners can ask Echarts to sort feedback, reviews or survey answers into themes and see what customers mention most.
  • Echarts runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can connect Echarts to enrich and score inbound leads, so sales sees fit and intent before the first call.
  • Content and research teams can use Echarts to analyze transcripts and surveys at scale and pull the quotes worth using.
  • Start Echarts on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run Echarts inside their own cloud and data boundary, so models and data stay where governance requires.
  • Large teams can use Echarts in batch pipelines with evaluation and logging, so AI output is measured before it reaches customers.
  • Echarts is a community server, so have security review the code and pin a version before Echarts touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Echarts README

From hustcc/mcp-echarts on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

MCP ECharts

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.

✨ 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.
  • MinIO Integration, store charts in MinIO object storage and return URLs instead of Base64 data for better performance and sharing capabilities.
  • Lightweight, we can install it easily with zero dependence.
  • Extremely secure, fully generated locally, without relying on any remote services.

🤖 Usage

Prerequisites
  • Node.js 18 or higher is required.
Desktop Applications (stdio transport)

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, skillselion.com or others with HTTP, SSE Protocol.

🚰 Run with SSE or Streamable transport

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:

  • SSE transport: http://localhost:3033/sse
  • Streamable transport: http://localhost:3033/mcp

🎮 CLI Options

You 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

🗂️ MinIO Configuration (Optional)

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 Base64 data output, ensuring compatibility.

We can Integrate with MinIO object storage providers below.

Also, we can setup MinIO locally for free.

  1. Install and start MinIO locally:

    # Download MinIO (macOS example)
    brew install minio/stable/minio
    
    # Start MinIO server
    minio server ~/minio-data --console-address :9001
    
  2. 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
    

🔨 Development

Install dependencies:

npm install

Build the server:

npm run build

Start the MCP server:

npm run start

🧑🏻‍💻 Contributors

  • lyw405: Supports 15+ charting MCP tool. #2
  • 2niuhe: Support MCP with SSE and Streaming HTTP. #17
  • susuperli: Use MinIO to save the chart image base64 and return the url. #10
  • BQXBQX: Use @napi-rs/canvas instead node-canvas. #3
  • Meet-student: Add outputType schema for all chart tools. #24
  • hustcc: Initial the repo.

📄 License

MIT@hustcc.

Questions about Echarts

What is the Echarts MCP server?

Generate visual charts using ECharts with AI MCP dynamically, used for chart generation and data analysis. Echarts is maintained by hustcc on GitHub at hustcc/mcp-echarts, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Echarts MCP server?

Echarts doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (hustcc/mcp-echarts). Like most servers, Echarts ends with a command or URL you paste into your AI app's MCP config.

Does Echarts need an API key?

The registry lists no required keys for Echarts. Check the Echarts README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Echarts an official MCP server?

No. Echarts is a community server maintained by hustcc. Community servers can be excellent; read the code and the open issues before you give Echarts access to company data.

What license is Echarts under?

Echarts is released under the MIT license, according to its GitHub repository. The license covers the code of Echarts; the service it connects to has its own terms.