Create customizable charts with QuickChart.io using the TypeScript MCP server for various chart types
Quickchart-MCP-Server is a TypeScript-based Model Context Protocol (MCP) server that leverages QuickChart.io to generate various types of charts. This server seamlessly integrates with MCP clients, providing a standardized way for AI applications like Claude Desktop, Continue, Cursor, and others to interact with external charting tools. By adhering to the MCP protocol, it ensures compatibility and ease of use across multiple AI environments.
Quickchart-MCP-Server offers two primary capabilities: generate_chart
and download_chart
, both built on QuickChart.io's URL-based chart generation service. Users can input configuration parameters to generate real-time charts or download them as images directly to their local device.
The generate_chart
tool supports multiple chart types, including bar, line, pie, doughnut, radar, polarArea, scatter, bubble, radialGauge, and speedometer. It allows customizations like labels, datasets, colors, and additional options before converting the configuration into a URL to QuickChart.io for rendering.
The download_chart
tool takes a chart configuration and an output path as parameters, saving the generated image directly to the specified location on your local device. This feature is particularly useful for users who need persistent access to data visualizations in their workflows.
Quickchart-MCP-Server supports a wide range of charts:
Quickchart-MCP-Server adheres strictly to the Model Context Protocol (MCP) architecture, facilitating seamless communication between AI applications and external tools like QuickChart.io. The server processes chart configurations in real-time and converts them into URLs or local files, ensuring that the MCP protocol remains robust and reliable.
The integration with MCP clients is achieved through a standardized set of commands and environment variables defined by the protocol. This ensures that developers can easily integrate Quickchart-MCP-Server within their AI workflows without additional configuration.
To start using Quickchart-MCP-Server, you need to follow these steps:
Install Dependencies:
npm install
Build the Server:
npm run build
Install via Smithery: To automatically install QuickChart Server for Claude Desktop, you can use Smithery with one of the following commands:
npx -y @smithery/cli install @gongrzhe/quickchart-mcp-server --client claude
{
"mcpServers": {
"quickchart-server": {
"command": "npx",
"args": ["-y", "@gongrzhe/quickchart-mcp-server"]
}
}
}
Developers can use Quickchart-MCP-Server to create real-time analytics dashboards that provide on-the-fly data visualization. For instance, a financial application might generate various bar charts and line charts based on stock price movements throughout the day.
In data science environments, users can leverage the server’s chart generation capabilities to quickly explore datasets through interactive visualizations like scatter plots or pie charts. This enhances the overall user experience by making complex data understandable with minimal effort.
Quickchart-MCP-Server is compatible with several MCP clients:
The integration matrix ensures that all supported clients can leverage Quickchart-MCP-Server without additional setup or modifications.
Quickchart-MCP-Server has been tested with the following MCP clients:
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ | ✅ | ❌ | Tools Only |
This matrix indicates which clients fully support the server's capabilities and where there may be limitations.
To configure Quickchart-MCP-Server, add it to your claude_desktop_config.json
file as follows:
{
"mcpServers": {
"quickchart-server": {
"command": "npx",
"args": [
"-y",
"@gongrzhe/quickchart-mcp-server"
]
}
}
}
Ensure that environment variables like API keys are securely set to prevent unauthorized access:
{
"env": {
"API_KEY": "your-api-key"
}
}
How do I integrate Quickchart-MCP-Server with Claude Desktop? To install the server for Claude Desktop, use the provided Smithery command that includes the entire setup.
Can I customize chart options through MCP commands?
Yes, the generate_chart
and download_chart
tools allow extensive customization of charts via JSON configurations.
How does Quickchart-MCP-Server handle real-time data updates? The server continually processes incoming requests and generates charts in real-time, ensuring dynamic visualizations.
Is it possible to use Quickchart-MCP-Server with non-MCP clients? Currently, the server is optimized for MCP-compliant clients like Claude Desktop and Continue, but partial support exists for tools-only integrations.
Where can I find more information on QuickChart.io documentation? For detailed guidance on supported chart types and configurations, refer to the QuickChart Documentation.
Contributions are welcome! To contribute, please follow these steps:
npm install
.For more information on Model Context Protocol (MCP) and its ecosystem, explore these resources:
By adhering to these guidelines and focusing on the integration of AI applications, Quickchart-MCP-Server significantly enhances the capabilities of developers building complex workflows and real-time data visualizations.
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ | ✅ | ❌ | Tools Only |
{
"mcpServers": {
"quickchart-server": {
"command": "npx",
"args": ["-y", "@gongrzhe/quickchart-mcp-server"]
}
}
}
By following this comprehensive documentation, developers can effectively integrate Quickchart-MCP-Server into their AI applications and workflows, enhancing data visualization capabilities through the Model Context Protocol framework.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration