Connects Claude to the ChartForge API for generating publication-quality visualizations from natural language prompts. Exposes three tools: generate_chart takes a description plus optional style presets (midnight, frost, ember, minimal, corporate, neon, light) and dimensions, refine_chart modifies existing charts by ID, and list_styles shows available themes. Requires a ChartForge API key. Reach for this when you need to create bar charts, architecture diagrams, Sankey flows, or other visualizations without writing plotting code. The natural language interface means you describe what you want and get back rendered images, making it faster than configuring matplotlib or D3 manually.
Generate stunning, publication-quality charts and diagrams from natural language — directly inside Claude.
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"chartforge": {
"command": "npx",
"args": ["chartforge-mcp"],
"env": {
"CHARTFORGE_API_KEY": "your_api_key_here"
}
}
}
}
| Variable | Required | Description |
|---|---|---|
CHARTFORGE_API_KEY | Yes | Your API key from chartforgeai.com |
CHARTFORGE_API_URL | No | Custom API URL (default: https://chartforgeai.com) |
generate_chartGenerate 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_chartModify a previously generated chart.
Parameters:
chartId (required): Chart ID from a previous generationmodification (required): What to changelist_stylesList available style presets with descriptions.
"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"
CHARTFORGE_API_KEYsecretYour ChartForge API key from chartforgeai.com