MCP SERVER

Model Context Protocol Endpoint & API Key Credit Management

Model Context Protocol (MCP) API Key

Every user starts with 6 free credits (1 credit per recommendation or chart generation). Watch ad anytime to add +2 credits (up to 30 credits cap).

Connecting MCP Clients

Make Charts With AI exposes a Model Context Protocol (MCP) server providing AI agents (Claude Desktop, Cursor, VS Code, etc.) with chart recommendation and generation tools.

{
  "mcpServers": {
    "makechartswithai": {
      "command": "npx",
      "args": ["-y", "makechartswithai"],
      "env": {
        "MAKECHARTSWITHAI_API_KEY": "YOUR_API_KEY_HERE",
        "MAKECHARTSWITHAI_BACKEND_URL": "https://makechartswithai.online"
      }
    }
  }
}

Available MCP Tools

recommend_charts 1 Credit

Analyzes dataset structure (JSON, CSV, Markdown) or user intent to recommend optimal chart types and column classifications.

generate_chart 1 Credit

Generates a production-ready chart specification and compiles it into SVG, PNG, or web URL format using Vega-Lite, ECharts, or Chart.js engines.