Chart MCP Server logo

Chart MCP Server

by doramart

Chart MCP Server is a chart generation server based on the MCP protocol. It supports reading data from various data sources and generating chart configurations.

View on GitHub

Last updated: N/A

What is Chart MCP Server?

Chart MCP Server is a server that generates chart configurations based on the MCP protocol. It allows users to create charts from various data sources using prompts.

How to use Chart MCP Server?

To use the server, you need to install Node.js (v18+), install dependencies using npm install, build the project using npm run build, and then deploy it according to the mcp.so deployment guide. The server provides a generate_chart MCP tool that accepts a data resource URI and a prompt to generate a chart configuration.

Key features of Chart MCP Server

  • Supports multiple data sources (CSV, XLSX, XLS, JSON, MySQL, SQLite, MariaDB)

  • Intelligent chart generation based on user prompts

  • Supports various chart types (bar chart, line chart, pie chart, etc.)

  • Automatic data analysis and processing

Use cases of Chart MCP Server

  • Generating charts from CSV files

  • Creating visualizations from database data

  • Building dashboards with automatically generated charts

  • Integrating chart generation into MCP-based applications

FAQ from Chart MCP Server

What data sources are supported?

The server supports CSV, XLSX, XLS, JSON files, as well as MySQL, SQLite, and MariaDB databases.

How do I deploy the server?

You need to install Node.js, install dependencies, build the project, and then follow the mcp.so deployment guide.

What is the generate_chart tool?

It's an MCP tool that takes a data resource URI and a prompt as input and generates a chart configuration.

What environment variables do I need to configure?

You need to configure UPLOAD_DIR for the file upload directory, and other database-related variables as needed.

What chart types are supported?

The server supports various chart types, including bar charts, line charts, and pie charts.