# Chartforge

> Chartforge is an open-source MCP server. MCP server for ChartForge — generate stunning charts and diagrams from natural language. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/crawde/chartforge-mcp
- **MCP Registry name:** io.github.crawde/chartforge
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add chartforge --env CHARTFORGE_API_KEY='<CHARTFORGE_API_KEY>' -- npx -y chartforge-mcp
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "chartforge": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "chartforge-mcp"
      ],
      "env": {
        "CHARTFORGE_API_KEY": "<CHARTFORGE_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## FAQ

### Is Chartforge free?

Yes. Chartforge is open source, so you can use and self-host it for free.

### How do I add Chartforge to Claude Code?

Run this command in your terminal: claude mcp add chartforge --env CHARTFORGE_API_KEY='<CHARTFORGE_API_KEY>' -- npx -y chartforge-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/chartforge-2
