MCP server for ChartForge — generate stunning charts and diagrams from natural language
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"
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y chartforge-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"com-chartforgeai-chartforge": {
"command": "npx",
"args": [
"-y",
"chartforge-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencechartforge-mcpnpmcom.chartforgeai/chartforge works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.