chart-mcp

chart-mcp

0

Chart MCP Server is a chart generation server based on the MCP protocol, designed to generate chart configurations from various data sources, including files and databases. It intelligently creates charts using user prompts and performs automatic data analysis and processing.

Chart MCP Server

A chart generation server based on the MCP protocol that supports reading data from various sources and generating chart configurations.

Features

  • Supports multiple data sources:
    • File formats: CSV, XLSX, XLS, JSON
    • Databases: MySQL, SQLite, MariaDB
  • Intelligent chart generation:
    • Generates suitable charts based on user prompts
    • Supports various chart types (bar, line, pie, etc.)
    • Performs automatic data analysis and processing

Deployment

  1. Ensure Node.js (v18+) is installed.
  2. Install dependencies.
  3. Build the project.
  4. Upload the project following the mcp.so publishing guide.

API

Provides the generate_chart tool.

Environment Variables

Configure environment variables like UPLOAD_DIR on the mcp.so platform.

License

MIT