ChartForge — Prompt to Chart Generator
@crawde
Turn a plain-English prompt into a publication-ready chart image. ChartForge's MCP server lets Claude generate, refine, and export bar, line, pie, scatter, and more chart types as PNG — powered by AI. Includes 7 free generations, no setup beyond an API key.
Overview
What is ChartForge — Prompt to Chart Generator?
ChartForge — Prompt to Chart Generator is an MCP server that lets Claude generate stunning, publication-quality charts and diagrams from natural language descriptions. It integrates with the ChartForge API to turn plain text prompts into visual outputs, and is intended for users who want to create charts directly inside Claude without manual tooling.
How to use ChartForge — Prompt to Chart Generator?
Install by adding the server configuration to your claude_desktop_config.json with the command npx chartforge-mcp and a required CHARTFORGE_API_KEY environment variable. Once configured, use the generate_chart tool with a natural language prompt, optionally specifying a style preset, width, and height. Additional tools allow refining a previously generated chart by its ID and listing available style presets.
Key features of ChartForge — Prompt to Chart Generator
- Generate charts from natural language descriptions
- Supports multiple style presets: midnight, frost, ember, minimal, corporate, neon, light
- Refine previously generated charts using
refine_chart - Configurable output dimensions (default 1200x800 pixels)
- List available style presets with
list_styles - Requires an API key from chartforgeai.com
Use cases of ChartForge — Prompt to Chart Generator
- Create a bar chart showing quarterly revenue trends from natural language data
- Generate a system architecture diagram for a microservices backend
- Produce a Sankey diagram of marketing budget flow through channels to conversions
FAQ from ChartForge — Prompt to Chart Generator
How do I get an API key?
Sign up at chartforgeai.com to obtain your CHARTFORGE_API_KEY.
Where is the API URL configurable?
An optional CHARTFORGE_API_URL environment variable lets you set a custom API URL; the default is https://chartforgeai.com.
What style presets are available?
The available presets are: midnight, frost, ember, minimal, corporate, neon, and light.
Can I modify a chart after it's generated?
Yes, use the refine_chart tool with the chart's ID and a description of the modification you want to make.