mcpField
C
ChartForge — Prompt to Chart Generator

ChartForge — Prompt to Chart Generator

Local
github.com/crawdeDeveloper Tools0Updated 28w ago

About 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

  1. 01Generate charts from natural-language prompts
  2. 02Refine previously generated charts
  3. 03Choose from named style presets
  4. 04Set chart image dimensions
  5. 05Export charts as PNG

Use cases

  1. 01Create a chart from a written data description
  2. 02Revise a chart's appearance or content
  3. 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.

mcp.json · Universal config
{
"mcpServers": {
"chartforge": {
"command": "npx",
"args": [
"-y",
"chartforge-mcp"
],
"env": {
"CHARTFORGE_API_KEY": "<CHARTFORGE_API_KEY>"
}
}
}
}
Run commandnpx -y chartforge-mcp
Environment variables to set
CHARTFORGE_API_KEYSecret

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmchartforge-mcp

Tools

3

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
promptstringYesDescription of the chart or diagram to generate. Be specific about data, labels, and what you want to visualize.
styleenumNoVisual style preset. Default: auto (AI chooses best style).midnight | frost | ember | minimal | corporate | neon | light
widthnumberNoWidth in pixels. Default: 1200
heightnumberNoHeight in pixels. Default: 800

Details

From the project README

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
VariableRequiredDescription
CHARTFORGE_API_KEYYesYour API key from chartforgeai.com
CHARTFORGE_API_URLNoCustom 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"

Comments

Markdown supported

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.