Skip to content
ChartslibraryUI
Get Pro

MCP server

The ChartslibraryUI MCP server lets your coding agent look charts up by itself: find the right chart for a request, read its data shape and props, and get the install command or the source. It's free to connect. Free charts and every chart's docs are open; Pro source needs your access key.

Address: https://chartslibraryui.com/api/mcp (Streamable HTTP, no sign-in needed). Listed in the official MCP Registry as com.chartslibraryui/charts.

Connect

One click: Add to Cursor · Install in VS Code. Or set it up by hand:

Claude Code

claude mcp add --transport http chartslibraryui https://chartslibraryui.com/api/mcp

With Pro, add your access key (Account → Downloads) so the agent can read Pro source:

claude mcp add --transport http chartslibraryui https://chartslibraryui.com/api/mcp --header "Authorization: Bearer clui_your_key"

Cursor: in .cursor/mcp.json (project) or ~/.cursor/mcp.json (everywhere):

{
  "mcpServers": {
    "chartslibraryui": {
      "url": "https://chartslibraryui.com/api/mcp",
      "headers": { "Authorization": "Bearer ${env:CLUI_TOKEN}" }
    }
  }
}

Leave out headers if you only use free charts.

VS Code (Copilot agent mode): in .vscode/mcp.json:

{
  "servers": {
    "chartslibraryui": { "type": "http", "url": "https://chartslibraryui.com/api/mcp" }
  }
}

Codex: in ~/.codex/config.toml:

[mcp_servers.chartslibraryui]
url = "https://chartslibraryui.com/api/mcp"

Tools

Tool What it does
search_charts Finds charts for a request in plain words ("budget vs actual", "ranking over time").
list_charts Lists every chart, by category or tier.
get_chart When to use and avoid a chart, good practice, data shape, props, install command and an example.
get_source The chart's TypeScript source. Free charts for everyone; Pro charts with your access key.

Try it

Ask your agent: "Add a chart of monthly revenue against plan for the last 12 months, using ChartslibraryUI." It should search, pick a chart, check the data shape and install it with the shadcn CLI.

Without Pro, the agent is told to use the closest free chart instead of rebuilding a Pro chart by hand. Keep your access key out of committed files: use an environment variable as in the Cursor example.

Prefer a file instead of a server? The agent skill gives your agent the same knowledge as one Markdown file.

Sign in to ChartslibraryUI

New here? The same step creates your account.

Continue with Google
or

No password needed. Bought Pro? Use the email you paid with and your license is there. By signing in you agree to the Terms and Privacy policy.