Purpose: mcp-server-chart is a Model Context Protocol (MCP) server designed to provide relatively comprehensive chart generation capabilities. It encapsulates multiple chart types as MCP tools for invocation by MCP-compatible clients, thereby generating chart configurations and data in conversations or workflows.
Main capabilities: The project claims to support more than 15 chart types, covering common visualization needs. Basic charts include bar charts (supporting multiple datasets), line charts (customizable styles and fills), pie charts (hover effects and custom colors), radar charts (multi-axis comparative analysis), and polar area charts (for periodic data). Advanced charts include donut charts (supporting center labels and semicircle mode), scatter charts (X/Y coordinates, with optional trend lines), bubble charts (expressing a third dimension of data through bubble size), and OHLC financial candlestick charts (including volume and indicators). Specialized charts include violin charts (statistical distributions), gauges (customizable thresholds), radial gauges (simple radial progress), progress bars (linear progress), sparklines (minimalist trends), and Sankey diagrams (flow and process visualization). All chart configurations are validated through Zod schemas, covering chart types and structures, data formats and types, style options, and chart-specific configurations to provide type safety.
Usage: The project provides three deployment options: local server, HTTP streaming, and SSE endpoint. To use it directly with Claude.AI without local setup, add the public endpoint to Claude.AI's MCP configuration: Streamable HTTP is https://chart.mcp.cloudcertainty.com/mcp,Server-Sent Events is https://chart.mcp.cloudcertainty.com/sse。本地开发步骤为:克隆仓库 git clone https://github.com/KamranBiglari/mcp-server-chart.git,进入目录 cd mcp-server-chart, install dependencies with npm install, build the project with npm run build, and run the server with npm start. In the MCP client configuration, add the server configuration according to the project instructions. All chart types are provided as MCP tools, with tool names corresponding to chart types (such as bar, line, ohlc). The input schema validates the chart configuration and returns the generated chart data.
Applicable scenarios: Suitable for scenarios that require quickly generating statistical charts, financial charts, business dashboard components, and process flow diagrams in MCP clients or Claude.AI, and also suitable for developers to extend custom charts based on its schema and tool patterns.
Limitations: The materials do not provide the implementation status of capabilities such as specific chart rendering effects, export formats, real-time data binding, custom themes, animated interactions, and dashboard layouts; these contents are listed only as future directions in the repository, and detailed descriptions are not yet provided. The project uses the MIT License.