ApexCharts logo

ApexCharts

Generates and validates configs for ApexCharts charts, grid, gantt, tree, sankey, stock and maps.

Install ApexCharts

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "apexcharts": {
      "command": "npx",
      "args": [
        "-y",
        "apexcharts-mcp"
      ]
    }
  }
}

Settings โ†’ Developer โ†’ Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passedโ€” started and listed 23 tools correctly (2d ago).

Overview

Tools23

What ApexCharts lets your agent do. Expand a tool for its parameters.

Verified live~5.3k tokens of context

Security & health

What it can reach and how reliably it runs โ€” from our own checks, not the maintainerโ€™s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

4/4 checks healthy over the last 15d

What it can do

From the 23 tools this server returned when we ran it; 23 declare their own safety hints.

Makes network requests ยท 5Read-only tools ยท 23
Network at startup3 connections
Files written at startupNone
Install scriptsprepare
npm provenanceSigned build
Package age180 days
Maintainers1

Observed 2026-10-26 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev ยท apexcharts-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads3.3kPackage downloads in the last 30 days.
Last commit15d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed23Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

apexcharts-mcp

A Model Context Protocol server that gives AI assistants like Claude expert-level help with the ApexCharts ecosystem: charts, gantt, tree, sankey, grid, stock, and maps. It generates valid configs, catches common mistakes, and serves the official knowledge base for each product on demand, so the AI gets your visualization right the first time.

One MCP, seven products. Tools are namespaced per product (apexcharts_*, apexgantt_*, apextree_*, apexsankey_*, apexgrid_*, apexstock_*, apexmaps_*) so you can use any combination together.

Install

Pick your editor / client. You only need to do this once.

Hosted server (nothing to install)

The quickest way: point your client at the hosted server, https://mcp.apexcharts.com/mcp. It needs no Node.js and stays on the latest release.

Claude Code

Terminal
claude mcp add --transport http apexcharts https://mcp.apexcharts.com/mcp

Cursor, in ~/.cursor/mcp.json:

config.json
{
  "mcpServers": {
    "apexcharts": {
      "url": "https://mcp.apexcharts.com/mcp"
    }
  }
}

VS Code, in .vscode/mcp.json:

config.json
{
  "servers": {
    "apexcharts": {
      "type": "http",
      "url": "https://mcp.apexcharts.com/mcp"
    }
  }
}

Any other client that accepts a remote MCP server URL (Streamable HTTP) connects the same way. To run the server on your own machine instead, use one of the local installs below.

Claude Code

Terminal
claude mcp add apexcharts -- npx -y apexcharts-mcp

Claude Desktop

Add to claude_desktop_config.json:

config.json
{
  "mcpServers": {
    "apexcharts": {
      "command": "npx",
      "args": ["-y", "apexcharts-mcp"]
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json:

config.json
{
  "mcpServers": {
    "apexcharts": {
      "command": "npx",
      "args": ["-y", "apexcharts-mcp"]
    }
  }
}

After installing, restart the client. Your AI assistant now has tools for every ApexCharts product, with no further commands needed.

What you can ask the AI

Once installed, the assistant uses the server's tools automatically. Things you can ask:

  • "Build me a stacked area chart of monthly revenue across three regions."
  • "Here's my pie chart config โ€” why isn't it rendering?" (paste the config)
  • "What data format does ApexGantt expect for dependencies?"
  • "Show me the recursive node shape ApexTree uses."
  • "How do I configure layer ordering in ApexSankey?"
  • "Explain cellTemplate in apex-grid and give me an example."
  • "Map unemployment by US state as a choropleth with ApexMaps."

The AI decides which tool to call. You don't invoke them directly.

Tools

ProductTools
metaapexcharts_list_products
apexchartsapexcharts_generate_config, apexcharts_validate_config, apexcharts_list_types, apexcharts_get_reference
apexganttapexgantt_generate_config, apexgantt_validate_config, apexgantt_get_reference
apextreeapextree_generate_config, apextree_validate_config, apextree_get_reference
apexsankeyapexsankey_generate_config, apexsankey_validate_config, apexsankey_get_reference
apexgridapexgrid_generate_config, apexgrid_validate_config, apexgrid_get_reference
apexstockapexstock_generate_config, apexstock_validate_config, apexstock_get_reference
apexmapsapexmaps_generate_config, apexmaps_validate_config, apexmaps_get_reference

Every product exposes generate_config (build a valid config from a short spec) and validate_config (check a config against its skill's rules and return structured issues), plus get_reference to read that product's knowledge base on demand. The chart tools add apexcharts_list_types (a typed catalog of the 30 supported chart types, including the v6 additions violin, funnel, pyramid, gauge, unit, waffle, sunburst and histogram, the v7.1 additions waterfall, dumbbell, streamgraph and raincloud, the v7.6 addition icicle, and column, the synonym for bar that chart.type accepts since v7.9; each entry's bundle field says whether the default bundle has the type or names the add-on import a Tier 2 type needs); apexcharts_generate_config covers all 30 and apexcharts_validate_config checks against 40 rules. apexcharts_list_products is a meta tool that lists the products this server exposes, their tool names, and the upstream library version each product's guidance targets.

Limiting which products load

By default, all seven products' tools are registered. To load only a subset, set APEXCHARTS_MCP_PRODUCTS to a comma-separated list of product ids:

config.json
{
  "mcpServers": {
    "apexcharts": {
      "command": "npx",
      "args": ["-y", "apexcharts-mcp"],
      "env": { "APEXCHARTS_MCP_PRODUCTS": "charts,gantt" }
    }
  }
}

Valid ids: charts, gantt, tree, sankey, grid, stock, maps. Unknown ids are skipped with a stderr warning; the server still starts.

Running over HTTP

The install commands above run the server locally over stdio. To serve it over the network instead (for a shared team server, or a client that only takes a URL), start it with --http:

Terminal
npx -y apexcharts-mcp --http --port 3000

It speaks Streamable HTTP at /mcp and answers a dependency-free health check at /healthz. Connect a client to it:

Terminal
claude mcp add --transport http apexcharts http://localhost:3000/mcp

The server is stateless and answers every request with plain JSON. Every tool is a quick read-only call, so it keeps no sessions and opens no long-lived streams: GET and DELETE on /mcp return 405, which the spec defines as "this server offers neither". Nothing outlives a single request, so it runs behind any load balancer without sticky sessions or a raised idle timeout.

SettingDefaultMeaning
--port or PORT3000Port to listen on
--host or APEXCHARTS_MCP_HOST127.0.0.1Address to bind. Use 0.0.0.0 in a container
APEXCHARTS_MCP_ALLOWED_HOSTSlocalhost,127.0.0.1,[::1]Hostnames /mcp answers for (DNS-rebinding defence), or *. Set it to your public hostname when exposing the server
APEXCHARTS_MCP_ALLOWED_ORIGINSnoneBrowser origins that may call /mcp (CORS), or *. Requests without an Origin header, which is every IDE and desktop client, are always accepted
APEXCHARTS_MCP_PRODUCTSallSame as in stdio mode

Request bodies are capped at 1 MiB. Each request writes one JSON line to stdout naming the JSON-RPC method and tool (never the arguments); diagnostics go to stderr. SIGTERM lets in-flight requests finish before exiting.

A Dockerfile builds a production image that listens on port 3000 inside the container:

Terminal
docker build -t apexcharts-mcp .
docker run -d -p 127.0.0.1:3100:3000 --memory=256m \
  -e APEXCHARTS_MCP_ALLOWED_HOSTS=mcp.example.com,localhost apexcharts-mcp

Configure the container through environment variables rather than flags; its HEALTHCHECK reads PORT.

Knowledge base

Authoritative guidance comes from the per-product skill packages on npm:

  • apexcharts-skill: SKILL.md + cartesian/bar/financial/circular/grid/radar references + the feature platform and its bundle tiers (the v8 default bundle, add-on imports, apexcharts/full), tree-shaking, SSR, framework wrappers
  • apexgantt-skill: task data, dependencies, columns/toolbar, events, editing (CRUD/undo/calendar), the task-list grid (sort/filter/group), interaction (UI state, draw-to-create, export), framework wrappers
  • apextree-skill: data format, graph API, framework wrappers
  • apexsankey-skill: data format, styling/interaction, framework wrappers
  • apexgrid-skill: columns/templates, data pipeline, sort/filter, state and interaction features (row pinning/reordering, undo-redo, validators, localization), framework integration, vanilla JS
  • apexstock-skill: OHLC data format, technical indicators, streaming/appendData, trading overlays, the analysis workspace (range statistics, drawdown, measurements, comparison), state and export, theming, framework wrappers
  • apexmaps-skill: series data formats, geo joins, geometry registry, projections, scales, drilldown, framework wrappers

They're regular dependencies: to pick up upstream improvements, bump the version in this repo's package.json and in the product's packages/mcp-<id>/package.json (see CLAUDE.md). Each skill repo is the source of truth for its own docs.


Contributing

For working on apexcharts-mcp itself.

bash
git clone https://github.com/apexcharts/apexcharts-mcp.git
cd apexcharts-mcp
npm install
npm run build

This is an npm workspace monorepo:

Code
apexcharts-mcp/
  src/index.ts            # bootstrap: reads APEXCHARTS_MCP_PRODUCTS, wires up products, picks stdio or --http
  Dockerfile              # production image for HTTP mode
  packages/
    mcp-core/             # shared types and the reference-reader factory
    mcp-http/             # stateless Streamable HTTP transport, /healthz, Host/Origin policy
    mcp-charts/           # apexcharts_* tools
    mcp-gantt/            # apexgantt_* tools
    mcp-tree/             # apextree_* tools
    mcp-sankey/           # apexsankey_* tools
    mcp-grid/             # apexgrid_* tools
    mcp-stock/            # apexstock_* tools
    mcp-maps/             # apexmaps_* tools

Reviews

No reviews yet โ€” be the first to share how it worked for you.

Frequently Asked Questions about ApexCharts

ApexCharts is an MCP server that gives AI assistants tools to generate and validate configurations across ApexCharts products, including charts, Gantt, tree, Sankey, grid, stock, and maps. It also provides product reference knowledge on demand, helping developers create valid visualizations and identify common configuration mistakes.

The server supports ApexCharts charts, ApexGantt, ApexTree, ApexSankey, ApexGrid, ApexStock, and ApexMaps. Each product has namespaced tools for generating configurations, validating configurations, and accessing its reference knowledge.

Connect an MCP-compatible client to https://mcp.apexcharts.com/mcp using Streamable HTTP. Claude Code, Cursor, and VS Code can be configured with this URL, and the hosted server requires no Node.js installation.

Yes, the server can validate configurations and return structured issues based on the relevant product's rules. It provides validation tools for ApexCharts, ApexGantt, ApexTree, ApexSankey, ApexGrid, ApexStock, and ApexMaps.

Related MCP servers

Add a badge to your READMEShow itโ€™s listed โ€” live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewApexCharts AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/apexcharts?style=directory)](https://allmcps.com/mcp/apexcharts)
HTML Embed
<a href="https://allmcps.com/mcp/apexcharts"><img src="https://allmcps.com/api/badge/apexcharts?style=directory" alt="ApexCharts on AllMCPs" /></a>