MCP Server Chart exposes Model Context Protocol tools that render 25+ AntV chart types from agent requests. TypeScript server supports CLI, SSE, Streamable HTTP, and Docker deployment.
Overview
MCP Server Chart is a TypeScript MCP server that turns structured tool calls into chart images using AntV. Each tool maps to a chart family—line, bar, pie, maps, sankey, word cloud, spreadsheets, and others—so LLM clients can generate visuals during analysis or reporting.
You configure it in desktop AI apps (Claude, Cursor, VS Code MCP clients, etc.) or run it directly with SSE or Streamable transports. Docker compose deployment is supported. Optional chart-visualization skills help agents pick chart types automatically.
Environment variables control a service identifier for generation records, disabled tools, and VIS_REQUEST_SERVER for private rendering via GPT-Vis-SSR. Geographic map tools rely on AMap and are limited to China in the public setup; private SSR deploys exclude those three map tools.
A default hosted chart service is available; operators can point VIS_REQUEST_SERVER at their own HTTP renderer for on-prem use.
Key features
- 26+ MCP chart generation tools
- AntV-based rendering pipeline
- CLI with SSE and Streamable modes
- Docker compose deployment option
- Tool disable list via environment
- Optional private VIS request server
- Chart record service via SERVICE_ID
- Skill-driven chart type selection
Use cases
- Let coding agents produce charts from tabular data
- Wire visualization into Dify or MCP desktops
- Self-host chart rendering for sensitive data
- Standardize AntV output across AI workflows
- Filter unavailable map tools in private deploys