Chartforge MCP Server

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

Local serverstdio

What is the Chartforge MCP server?

MCP server for ChartForge — generate stunning charts and diagrams from natural language. The chartforge mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 3 defined tools rather than through you.

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.

Its toolset

Everything the assistant can do here goes through one of these:

  • generate_chart — The generate_chart tool exposed by this server
  • refine_chart — The refine_chart tool exposed by this server
  • list_styles — The list_styles tool exposed by this server

Configuration

You will need 2 environment variables: CHARTFORGE_API_KEY, CHARTFORGE_API_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the chartforge mcp server does with a few real requests.

When to reach for it

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Chartforge's toolset — generate_chart, refine_chart, list_styles — is a fair guide to whether it matches your workflow. It is maintained by com.chartforgeai; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Chartforge's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
generate_chartThe generate_chart tool exposed by this server.
refine_chartThe refine_chart tool exposed by this server.
list_stylesThe list_styles tool exposed by this server.

How to install the Chartforge MCP server

{
  "mcpServers": {
    "chartforge": {
      "command": "npx",
      "args": ["chartforge-mcp"],
      "env": {
        "CHARTFORGE_API_KEY": "your_api_key_here"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
CHARTFORGE_API_KEYCredential the server authenticates with.Yes
CHARTFORGE_API_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Chartforge to generate chart.
  • Use Chartforge to refine chart.
  • Use Chartforge to list styles.

Frequently asked questions

It connects Chartforge to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (generate_chart, refine_chart, list_styles) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Chartforge directly.