Render a bar, line, or pie chart as an SVG string from JSON data of the form {"title","type","data":[{"label","value","color?"}]}. Returns the SVG, the normalised data points with colours and percentages, the total, and the maximum value.
This page documents the HTTP endpoint POST /api/tools/json-to-chart/execute. See the MCP reference →
Call it over REST
POST https://api.findutils.com/api/tools/json-to-chart/execute · no API keys · 60 requests/min per IP
Execute — verified arguments
curl -X POST https://api.findutils.com/api/tools/json-to-chart/execute \
-H "Content-Type: application/json" \
-d '{
"json": "{\"title\":\"Sales\",\"type\":\"bar\",\"data\":[{\"label\":\"Q1\",\"value\":10},{\"label\":\"Q2\",\"value\":30}]}"
}' Parameter schema for this endpoint
curl https://api.findutils.com/api/tools/json-to-chart Input schema
| Argument | Type | Required | Description |
|---|---|---|---|
| json | string | yes | Chart JSON: {"title"?: string, "type"?: "bar"|"line"|"pie", "data": [{"label": string, "value": number, "color"?: "#hex"}], "xAxisLabel"?, "yAxisLabel"?}. |
| type | string (bar | line | pie) | no | Override the chart type from the JSON. Default: the JSON "type", else "bar". |
Example arguments (verified)
{
"json": {
"title": "Sales",
"type": "bar",
"data": [
{
"label": "Q1",
"value": 10
},
{
"label": "Q2",
"value": 30
}
]
}
} Arguments that carry JSON as a string are shown decoded for readability. The Copy button copies the exact wire arguments.
Also an MCP tool
Claude, Cursor, and any MCP client can call this tool as
findutils:json_to_chart after one connect command.
Connect once
claude mcp add findutils --transport http https://mcp.findutils.com/ More Data tools
Api Docs Generator
Return API documentation generated from a list of endpoints, as Markdown (with table of contents, request/response examples) or as an OpenAP
Csv To Json
Parse CSV text into an array of objects keyed by the header row.
Graphql To Typescript
Convert a GraphQL SDL schema into TypeScript type definitions and return the generated code with counts of emitted types, enums, and inputs.
Html Table To Json
Convert an HTML <table> into JSON — an array of objects keyed by the header row, or an array of row arrays.
Jq Playground
Returns the result of running a jq-style filter over a JSON document.
Json Comparer
Returns a git-style line diff of two JSON documents after both are pretty-printed with 2-space indentation.
Json Diff
Returns the semantic differences between two JSON documents as a list of added, removed and modified paths with their old and new values, pl
Json Faker
Returns an array of fake JSON records built from a field list, for testing and prototyping.