mcpField
C
chartforge

chartforge

Local
github.com/crawdeMedia & Design0Updated 28w ago

About chartforge

chartforge is an MCP server for generating and editing charts and diagrams from natural-language descriptions. It is for people working with Claude who need configurable visualizations, with style presets and tools for refining existing charts.

Key features

  1. 01Generate charts from natural-language prompts
  2. 02Refine previously generated charts
  3. 03Choose from style presets
  4. 04Set chart width and height
  5. 05List available styles

Use cases

  1. 01Create a revenue bar chart from a description
  2. 02Draw a microservices architecture diagram
  3. 03Visualize marketing budget flows with a Sankey diagram

MCP support

The MCP server exposes chart generation, refinement, and style-listing tools to MCP clients such as Claude. It requires a ChartForge API key.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"com-chartforgeai-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_KEYSecretYour ChartForge API key from chartforgeai.com

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-mcp0.1.4

Tools

3

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
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
promptstringYesDescription of the chart or diagram to generate. Be specific about data, labels, and what you want to visualize.

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.