Fire in da houseTop Tip:Most people pay up to $340 per month for Perplexity, MidJourney, Runway, ChatGPT, and more - but you can get them all your AI tools for $15 with Galaxy. It's free to test!Fire in da houseCheck it out

Quickchart-MCP-Server

MCP.Pizza Chef: GongRzhe

Quickchart-MCP-Server is a TypeScript-based MCP server that enables dynamic chart generation using QuickChart.io's URL-based service. It supports creating various chart types by accepting Chart.js configurations, data, and styling parameters, producing chart images accessible through MCP tools. This server facilitates seamless integration of visual data representation within MCP workflows.

Use This MCP server To

Generate bar, line, pie, and other chart types dynamically Create chart images from structured data inputs Integrate real-time chart generation into AI workflows Visualize data trends within MCP-enabled applications Automate report creation with embedded charts Convert raw data into styled chart visuals for presentations

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

  • QuickChart Documentation
  • Chart Types Reference

📜 License

This project is licensed under the MIT License.

Quickchart-MCP-Server FAQ

How does Quickchart-MCP-Server generate charts?
It uses QuickChart.io's URL-based API to create chart images from Chart.js configurations.
What types of charts can I create with this server?
You can create bar, line, pie, radar, and many other Chart.js supported chart types.
Is it possible to customize chart styles?
Yes, you can customize colors, labels, legends, and other styling options via Chart.js config.
How do I integrate this server into my MCP client?
Connect your MCP client to the server endpoint and send chart configuration data as per MCP protocol.
Does this server support real-time chart updates?
Yes, you can generate updated charts dynamically by sending new data configurations.
What programming languages is the server built with?
The server is implemented in TypeScript for robust MCP integration.
Can I use this server with multiple LLM providers?
Yes, it is provider-agnostic and works with OpenAI, Claude, Gemini, and others.
Are there any limitations on data size or chart complexity?
Limits depend on QuickChart.io's API constraints, typically suitable for most common charting needs.