BannerChart — Free Banner, Infographic & Chart Renderer for AI Agents
BannerChart — Canva for AI Agents: Generate crisp banners, charts, and infographics from one JSON spec. Lightweight programmatic design without heavy headless browsers—cut token usage by 45%. 100% offline and free.
Install in one minute — see the install commands below. Source and README: github.com/creatorops-studio/bannerchart.
What BannerChart does
JSON in, PNG/SVG out — JSON to image without a browser. Render banners, infographics, and data charts from a small JSON spec — one static Rust binary, fully offline. Start from one of 18 built-in templates and edit from there:
bannerchart render --spec banner.json --out banner.png
bannerchart validate --spec banner.json # fails fast on bad colors, empty charts, overflowing text
bannerchart template og-default > my-banner.json # start from a template
bannerchart templates # list all 18 built-in templates
Install in one minute
Install straight from GitHub with a Rust toolchain (cargo) — the crate is not on crates.io yet:
cargo install --git https://github.com/creatorops-studio/bannerchart
Prefer a ready-made binary? Download the Release v0.1.0 binary (4,360,232 B) from github.com/creatorops-studio/bannerchart/releases/tag/v0.1.0. Check it runs: bannerchart --version prints 0.1.0.
Measured numbers, not marketing
Measured 5 December 2026 on a Linux VM, release binary bannerchart 0.1.0 (~4.2 MB). Tokens ≈ characters / 4, same rule both sides. Re-run them yourself: bannerchart bench --spec <spec>.
| Task | Spec tokens | Old way | Saving | Cold render |
|---|---|---|---|---|
| OG banner 1200×630 | 381 | Puppeteer script (702 tokens) | 1.8× | ~156 ms |
| Bar chart 640×360 | 69 | matplotlib script (183 tokens) | 2.7× | ~103 ms |
| Infographic 800×665 | 288 | Puppeteer script (702 tokens) | 2.4× | ~278 ms |
Honest note: our original target was ≥3× token saving. We did not reach it on the banner task — the realistic Puppeteer reference script measured 702 tokens, below the 800–1,500 we had estimated. The saving is real (1.8–2.7×) and the bigger win is operational — no browser, no flakiness, deterministic output, ~103–278 ms cold — but we are not going to claim 3× until a task actually measures it.
What the free version includes
- 10 banner templates + 8 infographic templates, all in
templates/ - 6 chart types: bar, line, area, horizontal bar, pie, donut
- Infographic layout blocks (flexbox): title, subtitle, text, chart, callout, stats, divider, footer
validatecatches problems before render: bad colors, sizes out of range, empty charts, label/value mismatch, missing images, overflowing text- MCP server + CLI, fully offline, one static binary; PNG and SVG output
What it does not do
No animation or video output. No brand-kit sync, no AI-generated layouts. No full Chart.js config surface — the JSON spec is intentionally small. No batch cloud rendering — that is Pro, coming soon (template packs, brand kit, batch Cloud API — $10–29/month frame).
BannerChart vs the old way
| Offline? | Rust? | MCP server? | Price | Tokens to render one banner | |
|---|---|---|---|---|---|
| BannerChart | ✅ | ✅ | ✅ | Free (MIT) | 381 |
| QuickChart | ❌ (cloud API) | ❌ | ❌ | Free tier + paid | 51 (chart config only — but needs network + key) |
| Canva | ❌ | ❌ | ❌ | Free + $15/mo | n/a (human clicks) |
| Figma | ❌ | ❌ | ❌ | Free + $15/mo | n/a (human clicks) |
| html2canvas | ✅ | ❌ | ❌ | Free | ~800+ (HTML + JS) |
| Playwright / Puppeteer screenshot | ✅ | ❌ | ❌ | Free | 702 |
On QuickChart and AGPL: BannerChart is not a QuickChart fork. QuickChart's community tier is AGPL v3; we implemented the renderer from scratch (resvg, taffy, plotters, hand-rolled SVG arcs) and took no code from it.
Built for AI agents first
MCP server with four tools (render, render_chart, validate, list_templates). Add this to your MCP config:
{
"mcpServers": {
"bannerchart": {
"command": "bannerchart",
"args": ["mcp"]
}
}
}
Text that doesn't fit is reported as a structured issue (and auto-fit shrinks it down to a 10px floor) — the agent gets a one-line error it can fix, instead of a silently broken image.
Built with: Rust, a single static binary, and an MCP server — rendering on resvg, layout on taffy, charts on plotters, fonts on fontdb.
Frequently asked questions
Is BannerChart really free?
Yes, MIT licensed, free forever for the CLI + MCP.
Do I need a browser or an API key?
No. One static Rust binary, fully offline.
How is it different from QuickChart?
QuickChart is a cloud API (AGPL community tier); BannerChart is a local binary. We wrote our own renderer from scratch and do not copy QuickChart code (AGPL).
Can an AI agent use it?
Yes: it ships an MCP server with 4 tools (render, render_chart, validate, list_templates) for Claude Code, Cursor and Codex.
What fonts can I use?
System fonts; Noto Sans (OFL) by default. No commercial font is bundled.
How do I install it?
Run cargo install --git https://github.com/creatorops-studio/bannerchart (needs a Rust toolchain), or download the Release v0.1.0 binary (4,360,232 B) from the v0.1.0 release. The crate is not on crates.io yet.
Render a banner from JSON.
Free, offline, MIT licensed — get the source on GitHub.