# Quickchart-MCP-Server

> MCP Server

This repository hosts a TypeScript-based Model Context Protocol (MCP) server that leverages QuickChart.io to generate diverse chart types from Chart.js configurations, providing chart URLs and downloadable images. This repository hosts

## Overview

- **Category:** Developer Tools
- **Language:** JavaScript
- **Stars:** 159
- **Forks:** 1
- **Owner:** GongRzhe
- **GitHub:** https://github.com/GongRzhe/Quickchart-MCP-Server
- **Created:** 2025-02-23T11:44:08+00:00
- **Updated:** 2025-03-28T23:30:18+00:00
- **Source:** https://model-context-protocol.com/servers/quickchart-mcp-server-chart-generation

## Setup

## Setup

Install dependencies:
```bash
npm install
```

Build the server:
```bash
npm run build
```

### Installing

 ```bash
 npm install @gongrzhe/quickchart-mcp-server
 ```

### Installing via Smithery
 
To install QuickChart Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@GongRzhe/Quickchart-MCP-Server):
 
```bash
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`

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

or

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

## Tools

## Available Tools

		1. `generate_chart` - Generate a chart URL using QuickChart.io (Supports multiple chart types and customizable options, returns a URL to the generated chart)
		2. `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)
