chartforge-generate-mcp
v0.1.0
Published
MCP server for generating charts from natural language — create bar charts, line graphs, pie charts, scatter plots, and more from text descriptions or CSV data
Maintainers
Readme
chartforge-generate-mcp
MCP server for generating charts and data visualizations from natural language. Create bar charts, line graphs, pie charts, scatter plots, and more from text descriptions or CSV data.
Features
- generate_chart — Create any chart from a text description with data values
- refine_chart — Modify an existing chart (colors, labels, type, style) without starting over
- chart_from_csv — Visualize CSV/tabular data with automatic chart type detection
- get_chart_templates — Browse ready-to-use chart prompts for business, finance, marketing, engineering, science, education, and health
Installation
npx chartforge-generate-mcpOr install globally:
npm install -g chartforge-generate-mcpUsage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"chartforge-generate": {
"command": "npx",
"args": ["-y", "chartforge-generate-mcp"]
}
}
}With API Key (for higher limits)
{
"mcpServers": {
"chartforge-generate": {
"command": "npx",
"args": ["-y", "chartforge-generate-mcp"],
"env": {
"CHARTFORGE_API_KEY": "your-api-key-here"
}
}
}
}Get an API key at chartforgeai.com/pricing.
Tools
generate_chart
Create a chart from a natural language description.
Parameters:
prompt(required) — Description including data values (e.g., "bar chart: Q1=$2.3M, Q2=$2.8M")style— modern, minimal, corporate, dark, colorful, monochrome, retro, neoncsvData— Optional CSV data stringwidth— 400-3840px (default: 1200)height— 300-2160px (default: 800)
refine_chart
Modify a previously generated chart.
Parameters:
originalPrompt(required) — The original chart promptrefinement(required) — What to change (e.g., "make it horizontal", "add trend line")style— Change visual style
chart_from_csv
Create a chart from CSV data with automatic type detection.
Parameters:
csvData(required) — CSV with headerschartType— auto, bar, line, pie, scatter, area, radar, heatmaptitle— Chart titlestyle— Visual style
get_chart_templates
Browse chart examples for common use cases.
Parameters:
category— business, finance, marketing, engineering, science, education, health, general
Examples
"Create a bar chart showing monthly sales: Jan $45K, Feb $52K, Mar $61K, Apr $58K, May $73K"
"Pie chart of time spent: Meetings 30%, Coding 40%, Email 15%, Other 15%"
"Line graph showing website traffic growing from 1000 to 50000 visitors over 12 months"
"Scatter plot of price vs customer satisfaction for 20 products"About ChartForge
ChartForge is an AI-powered prompt-to-chart platform. Generate publication-ready charts from natural language, upload CSV data, embed charts anywhere, and export as PNG/SVG.
License
MIT
