ApexCharts logo

ApexCharts

Generate, validate, and reference configurations for ApexCharts and six related visualization products through MCP.

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.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

ApexCharts MCP server generates and validates configurations for charts, Gantt schedules, trees, Sankey diagrams, data grids, stock charts, and geographic maps. Product-specific tools return structured issues, placeholder data, supported types, and reference documentation for resolving configuration questions. It runs locally over stdio with npx or remotely over Streamable HTTP, and product loading can be limited with an environment variable. Reach for ApexCharts when an AI assistant needs to create a visualization configuration or check an existing one against library-specific data and option rules.

Use cases

  • Generate a valid starting configuration for a chart or visualization
  • Validate an existing options object before rendering it
  • Look up data formats and integration details for an ApexCharts product
  • Limit the server to the visualization products an assistant needs

Key features

  • Generates configurations with placeholder data
  • Returns structured validation issues
  • Lists chart types and bundle requirements
  • Provides product-specific reference files
  • Supports stdio and Streamable HTTP transports
  • Loads products selectively with an environment variable

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

Recent health check succeeded.

9/9 checks healthy over the last 33d

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 16d 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 downloads5.5kPackage downloads in the last 30 days.
Last commit2d agoMost recent push to the default branch.
Tools exposed23Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How ApexCharts works

What ApexCharts does

ApexCharts exposes MCP tools for seven products in the ApexCharts ecosystem: charts, Gantt, Tree, Sankey, Grid, Stock, and Maps. Each product has tools for generating a minimal configuration, validating an existing configuration, and retrieving reference material from its bundled knowledge base. The chart product also provides a catalog of supported chart types and a product-discovery tool that reports available products, registered tool names, and compatibility information for the guidance it uses.

Generated output is designed to give an assistant a usable starting point. Depending on the product, the server can add placeholder chart data, a sample Gantt schedule, a small organization tree, a Sankey flow, a users table, OHLCV candles, or geographic data. These examples are intended to produce structurally complete configurations rather than replace application data.

How it works

An MCP client calls the product tool that matches the task. Generate tools return configuration objects, while validation tools inspect the supplied object and return structured issues, including paths, severity, and stable rule identifiers where supported. A successful chart validation returns ok: true when no errors are found, although warnings may remain.

Reference tools list available files when called without a filename and return a selected Markdown reference when given one. These references cover details such as chart data formats, Gantt dependencies, tree node structures, Sankey layer ordering, grid templates, stock indicators, map projections, and framework integration.

The server supports local stdio operation and Streamable HTTP. HTTP mode exposes the MCP endpoint at /mcp and a health check at /healthz. Requests are stateless, handled as read-only calls, and returned as JSON. The HTTP listener can be configured with a port, bind host, permitted hosts, permitted browser origins, and the product selection.

Setup and configuration

Use the hosted endpoint at https://mcp.apexcharts.com/mcp with a client that accepts a remote MCP URL, or run the package locally with npx -y apexcharts-mcp. Claude Desktop, Claude Code, and Cursor have documented local configurations; Claude Code, Cursor, and VS Code also have documented HTTP configurations.

To run a local HTTP endpoint, use npx -y apexcharts-mcp --http --port 3000. The PORT and APEXCHARTS_MCP_HOST environment variables correspond to the port and bind address. APEXCHARTS_MCP_ALLOWED_HOSTS controls host validation, while APEXCHARTS_MCP_ALLOWED_ORIGINS controls browser CORS access. APEXCHARTS_MCP_PRODUCTS accepts a comma-separated list such as charts,gantt and limits which product tools are registered. Container deployments can use the included Dockerfile and configure these settings through environment variables.

Tools and capabilities

  • Generate minimal configurations for all seven supported products.
  • Validate chart options, schedules, trees, flows, grids, stock data, and map settings against product-specific rules.
  • List chart types, families, series formats, expected data shapes, and bundle requirements.
  • Identify Tier 2 ApexCharts types that require an add-on import or the full bundle.
  • Retrieve focused reference files for configuration details and worked examples.
  • Validate relationships such as Gantt dependencies, tree IDs, Sankey edges, OHLC tuples, and map joins.

Limitations and notes

The server generates and checks configuration data; it does not render charts or mutate application data. ApexStock requires the host page to provide ApexCharts to the stock constructor or configure it globally. ApexMaps uses built-in geometry identifiers by default, while external URLs and inline geometry are also validation cases. ApexCharts Tier 2 chart types need their corresponding add-on import or apexcharts/full in the consuming page.

HTTP request bodies are limited to 1 MiB. The default HTTP bind address is 127.0.0.1, and the default permitted hosts are local addresses. Product selection affects which tools are registered, so a client must include the relevant product in APEXCHARTS_MCP_PRODUCTS when using a restricted configuration.

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 connects AI clients to the ApexCharts ecosystem and exposes tools to generate and validate chart, Gantt, tree, Sankey, grid, stock, and map configurations. It also lists supported types and serves product reference files, helping assistants produce and troubleshoot visualization configs.

Install it locally by configuring your MCP client to run `npx -y apexcharts-mcp`. Claude Desktop, Claude Code, and Cursor have local setup examples. You can instead connect to `https://mcp.apexcharts.com/mcp` without installing Node.js, or run the package in local HTTP mode.

Run `npx -y apexcharts-mcp --http --port 3000` to start a local Streamable HTTP endpoint at `/mcp`. Set `PORT`, `APEXCHARTS_MCP_HOST`, `APEXCHARTS_MCP_ALLOWED_HOSTS`, and `APEXCHARTS_MCP_ALLOWED_ORIGINS` as needed. The `/healthz` endpoint provides a dependency-free health check.

Set `APEXCHARTS_MCP_PRODUCTS` to a comma-separated list of product IDs such as `charts,gantt`. Valid IDs are `charts`, `gantt`, `tree`, `sankey`, `grid`, `stock`, and `maps`; unlisted products are not registered.

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>