# Json To Chart — REST API endpoint `json-to-chart`

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.

- Category: data
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/json-to-chart/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/api/json-to-chart/
- Same tool on the other surface: https://findutils.com/mcp/json-to-chart/

## Call the endpoint (verified example)

```bash
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
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
{
  "json": "{\"title\":\"Sales\",\"type\":\"bar\",\"data\":[{\"label\":\"Q1\",\"value\":10},{\"label\":\"Q2\",\"value\":30}]}"
}
```

Decoded `json` argument (readability only — send it as a string):

```json
{
  "title": "Sales",
  "type": "bar",
  "data": [
    {
      "label": "Q1",
      "value": 10
    },
    {
      "label": "Q2",
      "value": 30
    }
  ]
}
```

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Then ask the client to call `findutils:json_to_chart`. Full MCP reference: https://findutils.com/mcp/json-to-chart/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
