Render Chart
render_chartRender bar, line, or area charts from structured data into SVG strings. Free, unauthenticated, with light/dark themes.
Instructions
Render a bar, line, or area chart from structured data and return it as an SVG string. Free, unauthenticated MCP tool — the open twin of the paid x402-gated dataviz HTTP API (https://x402-dataviz-poc.theliminalguy.workers.dev/chart), same renderer, no payment required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"type": "<type>",
"data": "<data>"
},
"name": "render_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Non-empty array of data points | |
| type | Yes | Chart type: bar, line, or area | |
| theme | No | Optional theme, defaults to "light" | |
| title | No | Optional chart title |