Kitforge Chart API

Make bar, line, pie, doughnut and sparkline chart images (SVG) with a permanent public URL for emails, chat and docs. Remote MCP, 10 free trial charts/day.

Servidor MCP alojado

npx add-mcp 'https://kitforge-chart-api.kitforgelabs.workers.dev/mcp'

Se instala en Claude Code, Codex, Cursor y más

Documentación

Monthly revenue Bar chart titled "Monthly revenue". Values: Jan: $1,200, Feb: $1,850, Mar: $1,600, Apr: $2,400, May: $2,950, Jun: $3,100. Monthly revenue $0 $1k $2k $3k $4k Jan Feb Mar Apr May Jun $1,200 $1,850 $1,600 $2,400 $2,950 $3,100

Live preview: edit the numbers below.

https://kitforge-chart-api.kitforgelabs.workers.dev/v1/chart?type=bar&title=…

Send your key as an Authorization: Bearer header. The preview runs in your browser and costs nothing; the API returns exactly this image plus a public link.

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": {…}}

In an email or web page · HTML

<img src="https://kitforge-chart-api.kitforgelabs.workers.dev/v1/chart?type=bar&labels=Jan%7CFeb%7CMar&data=1200%2C1850%2C1600&sig=…"
     alt="Monthly revenue: Jan $1,200, Feb $1,850, Mar $1,600" width="600" height="360">
ParameterWhat it doesDefault
typebar, line, pie, doughnut, sparklinebar
dataNumbers, comma-separated. Several series: separate with | (3,5,2|4,1,6). Empty = gap.—
labelsCategory / x-axis labels, separated with |.—
seriesSeries names, separated with |. Two or more series get a legend.—
titleShown on top and used as the image's accessible name (max 100 characters).—
stacked · valuesStack bar series · print values (with several series only the max or last point).off
prefix · suffixAround values, e.g. $, %, k.—
themelight or dark.light
width · heightPixels (120–1600 × 32–1000).600 × 360
colorsHex colours per series or slice, separated with |.Kitforge palette
transparentNo 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 an email." 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

$5 one-time · $0.0025 per chart

  • Credits never expire
  • Same chart again is free
  • Also pays for Tech Stack API lookups

10,000 charts Save 24%

$19 one-time · $0.0019 per chart

  • Credits never expire
  • Same chart again is free
  • Also pays for Tech Stack API lookups

50,000 charts Save 37%

$79 one-time · $0.0016 per chart

  • 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, README or doc?

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 (it is being built). Charts are SVG, which browsers, GitHub READMEs, Notion and nearly all email apps show sharply at any size (Gmail converts it to a PNG for you; details). Slack and Discord image previews need PNG or JPG today, so 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.