
Quick Chart
STDIOMCP server for generating and retrieving chart images via Quick Chart API.
MCP server for generating and retrieving chart images via Quick Chart API.
A Model Context Protocol (MCP) server that provides chart tools, allowing it to interact with the quick chart through a standardized interface. This implementation is based on the chart definition and enables users can open quick chart pages seamlessly.
This MCP server tools:
The server implements the Model Context Protocol specification to standardize chart interactions for AI agents.
To install quick-chart-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @datafe/quick-chart-mcp --client claude
# Install globally npm install -g quick-chart-mcp # Or install locally in your project npm install quick-chart-mcp
git clone https://github.com/datafe/quick-chart-mcp cd quick-chart-mcp
pnpm install
pnpm run build
pnpm run dev
{ "mcpServers": { "quick-chart-mcp": { "autoApprove": [], "disabled": false, "timeout": 300, "command": "npx", "args": [ "[email protected]" ], "transportType": "stdio" } } }
Create a .env
file with your credentials:
# Quick Chart Configuration NODE_ENV=optional_development_or_product QUICK_CHART_DRAW_URL=optional_quick_chart_draw_url NEED_INSTALL_QUICK_CHART=optional_true_or_false
quick-chart-mcp/
├── src/
│ ├── index.ts # Main entry point
├── package.json
└── tsconfig.json
The MCP server provides the following Quick Chart tools:
GetChartImgLink
- Retrieve chart image link by parameters.InstallQuickChart
- Install quick chart service locally.If you encounter issues:
image APIs.
Contributions are welcome! Please feel free to submit a Pull Request.
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)This project is licensed under the MIT License.