ChartForge — Prompt to Chart Generator

by crawde

349 downloads
Not rated
GitHub

About

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.

Details

Author
crawde
Downloads
349
Categories
Developer Tools, AI

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name ChartForge — Prompt to Chart Generator
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

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.

generate_chart

Generate a stunning, publication-quality chart or diagram from a natural language description. Returns a PNG image.

refine_chart

Modify an existing chart. Provide the chart ID from a previous generation and describe what to change.

list_styles

List available chart style presets with descriptions.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "chartforge \u2014 prompt to chart generator": {
            "chartforge": {
                "command": "npx",
                "args": [
                    "-y",
                    "chartforge-mcp"
                ],
                "env": {
                    "CHARTFORGE_API_KEY": "<YOUR_API_KEY>"
                }
            }
        }
    }
}

McpServers

{
    "chartforge": {
        "command": "npx",
        "args": [
            "-y",
            "chartforge-mcp"
        ],
        "env": {
            "CHARTFORGE_API_KEY": "<YOUR_API_KEY>"
        }
    }
}

ChartForge 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 chart
- style (optional): Style preset — midnight, frost, ember, minimal, corporate, neon, light
- width (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 generation
- modification (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"

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.