Home / MCP / QuickChart MCP Server
Provides chart generation via QuickChart.io using Chart.js configurations.
Configuration
View docs{
"mcpServers": {
"quickchart": {
"command": "node",
"args": [
"/path/to/quickchart-server/build/index.js"
]
}
}
}You can generate charts by sending Chart.js configurations to this MCP server, which leverages QuickChart.io to produce chart images or URLs. This makes it easy to create a variety of chart types from data you provide, then reuse or embed the resulting visuals in your applications.
You use this server from an MCP client by invoking its available tools to create charts. The server exposes a chart generator that accepts standard Chart.js configurations and returns either a direct chart URL or a downloadable image. Use the URL to embed the chart in web pages or apps, or use a download action to save the image to your local or server storage.
Prerequisites you need before installation: Node.js (preferred if you are running the server locally) and npm for managing packages.
npm install @gongrzhe/quickchart-mcp-serverYou can run the MCP server locally using a standard runtime command provided in setup examples. The configuration allows you to start the server in a local environment or invoke it via a package runner.
node /path/to/quickchart-server/build/index.jsTwo practical ways to run the server from an MCP client are shown below. The first starts the server with a direct Node.js invocation pointing to the built index file. The second runs via a package runner to fetch and run the MCP server from the npm registry.
node
/path/to/quickchart-server/build/index.js
```
```
npx -y @gongrzhe/quickchart-mcp-serverThe server uses Chart.js configuration format. Here is a basic example of a bar chart configuration you can provide to generate a chart URL or image:
{
"type": "bar",
"data": {
"labels": ["January", "February", "March"],
"datasets": [{
"label": "Sales",
"data": [65, 59, 80],
"backgroundColor": "rgb(75, 192, 192)"
}]
},
"options": {
"title": {
"display": true,
"text": "Monthly Sales"
}
}
}Generate a chart URL using QuickChart.io. You provide a Chart.js configuration and receive a URL to the generated chart.
Download a chart image to a local file by supplying a chart configuration and an output path.