Klar

Charts you install in one line

Import Klar from npm, copy the source with the shadcn CLI, or let your AI assistant pick and wire a chart through MCP.

npm package

npm i klar-charts
import 'klar-charts/styles.css'
import { ThemeScope, LineChart } from 'klar-charts'

shadcn registry

npx shadcn@latest add https://klar.run/r/fin-candlestick.json

AI tools (MCP)

claude mcp add klar -- npx -y klar-mcp

FAQ

Is Klar free for commercial use?

Yes. Everything (charts, dashboards, MCP server) is MIT licensed.

Does it depend on Recharts, D3 or another chart library?

No. Every chart is hand-written SVG in React. Runtime dependencies are clsx, tailwind-merge, lucide-react and the Inter font.

Does it work without Tailwind?

Yes. Import klar-charts/styles.css, a precompiled stylesheet that never resets your page.

Will it change my shadcn/ui theme?

No. Tokens are scoped to the element that ThemeScope renders.