Chart images from one URL.
Send numbers, get a clean chart image and a public link for emails, Slack, PDFs and READMEs. For scripts, automations and AI agents.
Live preview: edit the numbers below.
https://kitforge-chart-api.kitforgelabs.workers.dev/v1/chart?type=bar&title=…One request per chart
Use GET for short charts and POST with JSON for longer ones. The response is the SVG; its x-chart-url header is a signed public link to the same chart. Machine-readable: OpenAPI 3.1 · llms.txt.
curl -H "Authorization: Bearer YOUR_KEY" -D - -o chart.svg \
"https://kitforge-chart-api.kitforgelabs.workers.dev/v1/chart?type=bar&labels=Jan|Feb|Mar&data=1200,1850,1600&prefix=%24"
# x-chart-url: https://kitforge-chart-api.kitforgelabs.workers.dev/v1/chart?type=bar&...&sig=... <- public link for <img>curl -X POST "https://kitforge-chart-api.kitforgelabs.workers.dev/v1/chart?response=json" \
-H "Authorization: Bearer YOUR_KEY" -H "content-type: application/json" \
-d '{"type":"line","title":"Weekly users","labels":["W1","W2","W3"],
"series":[{"name":"Web","data":[320,410,395]},{"name":"Mobile","data":[200,260,240]}]}'
# -> {"url": "…&sig=…", "svg": "<svg …", "charged": true, "credits": {…}}| Parameter | What it does | Default |
|---|---|---|
| type | bar, line, pie, doughnut, sparkline | bar |
| data | Numbers, comma-separated. Several series: separate with | (3,5,2|4,1,6). Empty = gap. | — |
| labels | Category / x-axis labels, separated with |. | — |
| series | Series names, separated with |. Two or more series get a legend. | — |
| title | Shown on top and used as the image's accessible name (max 100 characters). | — |
| stacked · values | Stack bar series · print values (with several series only the max or last point). | off |
| prefix · suffix | Around values, e.g. $, %, k. | — |
| theme | light or dark. | light |
| width · height | Pixels (120–1600 × 32–1000). | 600 × 360 |
| colors | Hex colours per series or slice, separated with |. | Kitforge palette |
| transparent | No background. | off |
Charts from Claude, Cursor or any MCP client
Remote server, nothing to install, 10 charts a day without a key. Add it and ask: "Chart last week's signups by day as a bar chart I can paste into Slack." The tool make_chart returns a link, Markdown and the SVG.
{
"mcpServers": {
"kitforge-chart": {
"type": "http",
"url": "https://kitforge-chart-api.kitforgelabs.workers.dev/mcp",
"headers": { "Authorization": "Bearer YOUR_KEY" }
}
}
}claude mcp add --transport http kitforge-chart https://kitforge-chart-api.kitforgelabs.workers.dev/mcp \
--header "Authorization: Bearer YOUR_KEY"Prepaid credits. No subscription.
Start with 50 free charts (get a free key). Then buy a pack once; credits never expire and work for both Kitforge APIs. Running low? Recharge the same key: nothing to change in your code.
2,000 charts
- Credits never expire
- Same chart again is free
- Also pays for Tech Stack API lookups
10,000 charts Save 24%
- Credits never expire
- Same chart again is free
- Also pays for Tech Stack API lookups
50,000 charts Save 37%
- Credits never expire
- Same chart again is free
- Also pays for Tech Stack API lookups
Secure checkout by Dodo Payments · Refunds within 14 days of purchase · Your key arrives by email and on the next page
Questions
Do I need a separate key?
No. One Kitforge API key works for the Chart API and the Tech Stack API, with one shared balance. Get a free key (50 credits, no sign-up) or buy a pack below.
What does a chart cost?
One credit per new chart. A free key gives you 50 charts (no email, one quick human check), and AI assistants using the MCP server get 10 charts a day without any key. After that, packs start at $5 for 2,000 charts. Rendering the same chart again with the same key is free, viewing a signed chart URL never costs anything, and invalid requests are not charged.
How do I put a chart in an email or Slack message?
Every paid render returns a signed public URL (the x-chart-url header, or url in JSON and MCP results). Put it in an <img> tag or a Markdown image. It needs no key, always shows exactly that chart and is cached for a year. Never put your API key in a URL: the API refuses it.
Who can see my chart?
Anyone who has its signed URL, like any image link. The numbers are part of the URL. We don't store charts or chart data; chart URLs are kept out of search engines (robots.txt). Don't chart data you wouldn't put in an email.
Is there a PNG version?
Not yet: charts are SVG, which every browser, Slack, Notion and most email apps show sharply at any size. Some email apps (notably Outlook on Windows) don't show SVG images; for those, convert the SVG once in your pipeline.
Can my AI assistant use it?
Yes. Add the MCP server (above) to Claude, Cursor or any MCP client and ask for a chart. Without a key you get 10 trial charts a day; the assistant gets a link and the SVG.