Home / Servers / Data Formats / json_to_csv
Json to csv
An MCP tool from the Data Formats server, hosted on mcp.hjlabs.in.
Turn an array of JSON objects into CSV (or TSV): columns from the keys (in first-seen order, or the ones you list), values quoted when needed, nested values as JSON.
Name on the gateway: data__json_to_csv · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
json required | string | An array of objects, as JSON text or an object. |
columns | array | Columns to include, in order. Default: all keys. |
delimiter | string | "," (default), "tab", ";" or "|". |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "data__json_to_csv",
"arguments": {
"json": "…"
}
}Or connect the Data Formats server directly, which lists 26 tools including this one:
claude mcp add --transport http hj-data https://mcp.hjlabs.in/mcp/data \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the json to csv tool with json set to ….