mcp-server-chart  by antvis

MCP server for generating charts

Created 6 months ago
3,077 stars

Top 15.6% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides an MCP (Model Context Protocol) server for generating visual charts using the AntV charting library. It targets developers integrating AI models or tools that require visual data representation, enabling them to programmatically create over 15 types of charts.

How It Works

The server is built with TypeScript and leverages AntV's charting capabilities. It exposes endpoints that accept chart generation requests via various protocols, including HTTP, SSE, and Streamable. Users can specify chart types and configurations, and the server returns image URLs or streams the chart data.

Quick Start & Requirements

  • Install globally: npm install -g @antv/mcp-server-chart
  • Run server (SSE): mcp-server-chart --transport sse
  • Access at: http://localhost:1122/sse
  • Node.js and npm are required.
  • Documentation: https://github.com/antvis/mcp-server-chart

Highlighted Details

  • Supports 15+ chart types including area, bar, line, pie, scatter, and network graphs.
  • Integrates with AI desktop applications like Claude and VSCode via MCP configuration.
  • Offers private deployment options using VIS_REQUEST_SERVER environment variable.
  • Supports SSE and Streamable transport protocols for real-time data.

Maintenance & Community

  • Developed by AntV.
  • License: MIT.

Licensing & Compatibility

  • MIT License: Permissive, allowing commercial use and integration with closed-source projects.

Limitations & Caveats

The project is primarily designed for integration with MCP-compatible applications; direct API usage outside this protocol is not detailed. Private deployment requires setting up a separate VIS_REQUEST_SERVER.

Health Check
Last Commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
9
Issues (30d)
24
Star History
175 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.