🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

chartforge-generate-mcp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chartforge-generate-mcp

MCP server for generating charts from natural language — create bar charts, line graphs, pie charts, scatter plots, and more from text descriptions or CSV data

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

chartforge-generate-mcp

MCP server for generating charts and data visualizations from natural language. Create bar charts, line graphs, pie charts, scatter plots, and more from text descriptions or CSV data.

Features

  • generate_chart — Create any chart from a text description with data values
  • refine_chart — Modify an existing chart (colors, labels, type, style) without starting over
  • chart_from_csv — Visualize CSV/tabular data with automatic chart type detection
  • get_chart_templates — Browse ready-to-use chart prompts for business, finance, marketing, engineering, science, education, and health

Installation

npx chartforge-generate-mcp

Or install globally:

npm install -g chartforge-generate-mcp

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "chartforge-generate": {
      "command": "npx",
      "args": ["-y", "chartforge-generate-mcp"]
    }
  }
}

With API Key (for higher limits)

{
  "mcpServers": {
    "chartforge-generate": {
      "command": "npx",
      "args": ["-y", "chartforge-generate-mcp"],
      "env": {
        "CHARTFORGE_API_KEY": "your-api-key-here"
      }
    }
  }
}

Get an API key at chartforgeai.com/pricing.

Tools

generate_chart

Create a chart from a natural language description.

Parameters:

  • prompt (required) — Description including data values (e.g., "bar chart: Q1=$2.3M, Q2=$2.8M")
  • style — modern, minimal, corporate, dark, colorful, monochrome, retro, neon
  • csvData — Optional CSV data string
  • width — 400-3840px (default: 1200)
  • height — 300-2160px (default: 800)

refine_chart

Modify a previously generated chart.

Parameters:

  • originalPrompt (required) — The original chart prompt
  • refinement (required) — What to change (e.g., "make it horizontal", "add trend line")
  • style — Change visual style

chart_from_csv

Create a chart from CSV data with automatic type detection.

Parameters:

  • csvData (required) — CSV with headers
  • chartType — auto, bar, line, pie, scatter, area, radar, heatmap
  • title — Chart title
  • style — Visual style

get_chart_templates

Browse chart examples for common use cases.

Parameters:

  • category — business, finance, marketing, engineering, science, education, health, general

Examples

"Create a bar chart showing monthly sales: Jan $45K, Feb $52K, Mar $61K, Apr $58K, May $73K"
"Pie chart of time spent: Meetings 30%, Coding 40%, Email 15%, Other 15%"
"Line graph showing website traffic growing from 1000 to 50000 visitors over 12 months"
"Scatter plot of price vs customer satisfaction for 20 products"

About ChartForge

ChartForge is an AI-powered prompt-to-chart platform. Generate publication-ready charts from natural language, upload CSV data, embed charts anywhere, and export as PNG/SVG.

License

MIT

Keywords

mcp

FAQs

Package last updated on 04 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts