MCP.so
Sign In

Overview

What is ChartMCP?

ChartMCP is an MCP‑based chart generation server. It reads data from files (CSV, XLSX, XLS, JSON) and databases (MySQL, SQLite, MariaDB), then produces chart configurations based on user prompts.

How to use ChartMCP?

Requires Node.js v18+. Install dependencies with npm install, build with npm run build, then publish to an MCP host. Configure the UPLOAD_DIR environment variable for file uploads and any database‑related variables as needed.

Key features of ChartMCP

  • Supports CSV, XLSX, XLS, and JSON file formats
  • Connects to MySQL, SQLite, and MariaDB databases
  • Generates charts from natural‑language prompts
  • Supports bar, line, pie, and other chart types
  • Automatically analyzes and processes input data

Use cases of ChartMCP

  • Create visualizations from uploaded CSV or spreadsheet files
  • Generate chart configs directly from database query results
  • Automate chart creation in MCP‑compatible tools and agents
  • Quickly prototype different chart types by changing the prompt

FAQ from ChartMCP

What data sources does ChartMCP support?

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

What runtime environment does ChartMCP need?

Node.js version 18 or later is required.

How do I use the generate_chart tool?

Call it with a dataResource

Tags

More from Other