SP12893678/chart-mcp-server
3.2
If you are the rightful owner of chart-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
An MCP server designed for generating various types of charts with support for multiple output formats.
Tools
2
Resources
0
Prompts
0
Chart MCP Server
An MCP server for generating charts with support for multiple chart types.
📊 Features
- Chart Generation: Create line charts, bar charts, pie charts, scatter plots, and area charts
- Multiple Output Formats: Support for PNG, SVG, and JPEG formats
- Automatic File Management: Auto-create output directories and filenames
🚀 Installation
npm install chart-mcp-server
⚙️ MCP Configuration
Add to your MCP client configuration file:
{
"mcpServers": {
"chart-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"chart-mcp-server"
]
}
}
}
🛠️ Available Tools
1. generate_chart
Generate charts and save to file system
2. get_supported_charts
Get list of supported chart types
📝 Usage Example
// Generate line chart
{
"type": "line",
"data": [
{ "time": 2020, "value": 100 },
{ "time": 2021, "value": 120 },
{ "time": 2022, "value": 150 }
],
"config": {
"title": "Growth Trend",
"width": 800,
"height": 600
}
}