MCP Connector

Generate and Download Charts with QuickChart

MCP server that generates Chart.js-based charts via QuickChart.io, providing tools to create bar, line, pie, and other chart types as URLs or downloadable

Works with quickchart.iochart.js

91
Spark score
out of 100
Updated May 2025
Version 1.0.0
Models
universal

Add to Favorites

Why it matters

Integrate with QuickChart.io to programmatically generate various chart types and download them as image files. Supports multiple chart types and customization via Chart.js configurations.

Outcomes

What it gets done

01

Generate chart URLs using QuickChart.io.

02

Download generated chart images to local files.

03

Support for multiple chart types including bar, line, pie, and more.

04

Customize charts with labels, datasets, and colors.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-quickchart | bash

Capabilities

Tools your agent gets

generate_chart

Generates a chart URL via QuickChart.io with support for multiple chart types and customizable parameters

download_chart

Downloads a chart image to a local file, accepting chart configuration and output path as parameters

Overview

QuickChart MCP Server

A Model Context Protocol server that integrates with QuickChart.io's URL-based chart generation service to create chart images using Chart.js configurations. Use when you need to generate data visualizations programmatically through MCP tools, either as URLs for embedding or as downloadable image files, without setting up your own chart rendering infrastructure.

What it does

Big Job: When you need to visualize data as charts within AI workflows without managing chart rendering infrastructure.

Small Job: Generate chart URLs or download chart images by providing Chart.js configurations through MCP tools.

This TypeScript-based MCP server provides chart generation capabilities through QuickChart.io. It includes generate_chart for creating chart URLs and download_chart for saving chart images to local files. The server supports 10 chart types: bar, line, pie, doughnut, radar, polarArea, scatter, bubble, radialGauge, and speedometer.

Install via npm:

npm install @gongrzhe/quickchart-mcp-server

Or configure for Claude Desktop:

{
  "mcpServers": {
    "quickchart-server": {
      "command": "npx",
      "args": [
        "-y",
        "@gongrzhe/quickchart-mcp-server"
      ]
    }
  }
}

Provide Chart.js configuration objects with type, data (labels and datasets), and styling options. The server converts configurations into QuickChart URLs or saves images to specified paths.

Source README

quickchart-server MCP Server

image

Quickchart-MCP-Server MCP server

Smithery Badge

A Model Context Protocol server for generating charts using QuickChart.io

This is a TypeScript-based MCP server that provides chart generation capabilities. It allows you to create various types of charts through MCP tools.

Overview

This server integrates with QuickChart.io's URL-based chart generation service to create chart images using Chart.js configurations. Users can generate various types of charts by providing data and styling parameters, which the server converts into chart URLs or downloadable images.

Features

Tools

  • generate_chart - Generate a chart URL using QuickChart.io

    • Supports multiple chart types: bar, line, pie, doughnut, radar, polarArea, scatter, bubble, radialGauge, speedometer
    • Customizable with labels, datasets, colors, and additional options
    • Returns a URL to the generated chart
  • download_chart - Download a chart image to a local file

    • Takes chart configuration and output path as parameters
    • Saves the chart image to the specified location
      image

image

Supported Chart Types

  • Bar charts: For comparing values across categories
  • Line charts: For showing trends over time
  • Pie charts: For displaying proportional data
  • Doughnut charts: Similar to pie charts with a hollow center
  • Radar charts: For showing multivariate data
  • Polar Area charts: For displaying proportional data with fixed-angle segments
  • Scatter plots: For showing data point distributions
  • Bubble charts: For three-dimensional data visualization
  • Radial Gauge: For displaying single values within a range
  • Speedometer: For speedometer-style value display

Usage

Chart Configuration

The server uses Chart.js configuration format. Here's a basic example:

{
  "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"
    }
  }
}

URL Generation

The server converts your configuration into a QuickChart URL:

https://quickchart.io/chart?c={...encoded configuration...}

Development

Install dependencies:

npm install

Build the server:

npm run build

Installation

Installing

npm install @gongrzhe/quickchart-mcp-server

Installing via Smithery

To install QuickChart Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @gongrzhe/quickchart-mcp-server --client claude

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "quickchart-server": {
      "command": "node",
      "args": ["/path/to/quickchart-server/build/index.js"]
    }
  }
}

or

{
  "mcpServers": {
    "quickchart-server": {
      "command": "npx",
      "args": [
        "-y",
        "@gongrzhe/quickchart-mcp-server"
      ]
    }
  }
}

Documentation References

๐Ÿ“œ License

This project is licensed under the MIT License.

FAQ

Common questions

Discussion

Questions & comments ยท 0

Sign In Sign in to leave a comment.