ChartForge — Prompt to Chart Generator
LocalAbout ChartForge — Prompt to Chart Generator
ChartForge is an MCP server that turns natural-language descriptions into chart images. It supports chart generation, revisions, and style selection for Claude users.
Key features
- 01Generate charts from natural-language prompts
- 02Refine previously generated charts
- 03Choose from named style presets
- 04Set chart image dimensions
- 05Export charts as PNG
Use cases
- 01Create a chart from a written data description
- 02Revise a chart's appearance or content
- 03Produce charts for publication
MCP support
Exposes tools to generate and refine charts and list available styles. MCP clients provide a ChartForge API key to connect.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
3Saved tool list · updated 3w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| prompt | string | Yes | Description of the chart or diagram to generate. Be specific about data, labels, and what you want to visualize. |
| style | enum | No | Visual style preset. Default: auto (AI chooses best style).midnight | frost | ember | minimal | corporate | neon | light |
| width | number | No | Width in pixels. Default: 1200 |
| height | number | No | Height in pixels. Default: 800 |
Details
From the project READMEChartForge MCP Server
Generate stunning, publication-quality charts and diagrams from natural language — directly inside Claude.
Setup
Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"chartforge": {
"command": "npx",
"args": ["chartforge-mcp"],
"env": {
"CHARTFORGE_API_KEY": "your_api_key_here"
}
}
}
}
Environment Variables
| Variable | Required | Description |
|---|---|---|
CHARTFORGE_API_KEY | Yes | Your API key from chartforgeai.com |
CHARTFORGE_API_URL | No | Custom API URL (default: https://chartforgeai.com) |
Tools
generate_chart
Generate a chart from a natural language description.
Parameters:
prompt(required): Description of the chartstyle(optional): Style preset —midnight,frost,ember,minimal,corporate,neon,lightwidth(optional): Width in pixels (default: 1200)height(optional): Height in pixels (default: 800)
refine_chart
Modify a previously generated chart.
Parameters:
chartId(required): Chart ID from a previous generationmodification(required): What to change
list_styles
List available style presets with descriptions.
Examples
"Create a bar chart showing quarterly revenue from $2M to $18M over 3 years"
"System architecture diagram for a microservices backend"
"Sankey diagram of marketing budget flow through channels to conversions"
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.