com.chartforgeai/chartforge

MCP server for ChartForge — generate stunning charts and diagrams from natural language

OtherJavaScriptv0.1.4

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"

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
npx -y chartforge-mcp

Set up in your AI client

Merge 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.

json
{
  "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 reference

Package

chartforge-mcpnpm

Compatible MCP Clients

com.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.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.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.

Learn More