An open API service indexing awesome lists of open source software.

https://github.com/antvis/mcp-server-chart

๐Ÿค– A Model Context Protocol server for generating charts using @antvis.
https://github.com/antvis/mcp-server-chart

Last synced: 13 days ago
JSON representation

๐Ÿค– A Model Context Protocol server for generating charts using @antvis.

Awesome Lists containing this project

README

        

# MCP Server Chart [![npm Version](https://img.shields.io/npm/v/@antv/mcp-server-chart.svg)](https://www.npmjs.com/package/@antv/mcp-server-chart) [![npm License](https://img.shields.io/npm/l/@antv/mcp-server-chart.svg)](https://www.npmjs.com/package/@antv/mcp-server-chart)

A Model Context Protocol server for generating charts using [AntV](https://github.com/antvis/).

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

## โœจ Features

Now 4 charts supported.

- `generate_line_chart` - Generate a line chart URL.
- `generate_column_chart` - Generate a column chart URL.
- `generate_pie_chart` - Generate a pie chart URL.
- `generate_area_chart` - Generate a area chart URL.

## ๐Ÿค– Usage

To use with Claude Desktop, add the server config:

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

## ๐Ÿ”จ Development

Install dependencies:

```bash
npm install
```

Build the server:

```bash
npm run build
```

Start the MCP server:

```bash
npm run start
```

## ๐Ÿ“„ License

MIT@[AntV](https://github.com/antvis).