Content
# Chart MCP Server
A chart generation server based on the MCP protocol, supporting data retrieval from various data sources to generate chart configurations.
## Features
- Supports multiple data sources:
- File formats: CSV, XLSX, XLS, JSON
- Databases: MySQL, SQLite, MariaDB
- Intelligent chart generation:
- Generates appropriate charts based on user prompts
- Supports various chart types (bar charts, line charts, pie charts, etc.)
- Automatically performs data analysis and processing
## Deploying to mcp.so
1. Ensure Node.js (v18+) is installed
2. Install dependencies:
```bash
npm install
```
3. Build the project:
```bash
npm run build
```
4. Upload the project following the deployment wizard on mcp.so
## API Documentation
The server provides the following MCP tools:
1. `generate_chart`
- Parameters:
- `dataResource`: Data resource URI (format: data://{filename})
- `prompt`: Chart generation prompt
- Functionality: Generates chart configuration based on data and prompt
## Environment Variable Configuration
When deploying to mcp.so, the following environment variables need to be configured on the platform:
- `UPLOAD_DIR`: File upload directory
- (Other database-related variables can be configured as needed)
## License
MIT
Connection Info
You Might Also Like
markitdown
MarkItDown-MCP is a lightweight server for converting URIs to Markdown.
markitdown
Python tool for converting files and office documents to Markdown.
Filesystem
Node.js MCP Server for filesystem operations with dynamic access control.
OmniRoute
Never stop coding. The free AI gateway — one endpoint, 160+ providers, zero...
TrendRadar
TrendRadar: Your hotspot assistant for real news in just 30 seconds.
mempalace
The highest-scoring AI memory system ever benchmarked. And it's free.