CSV <-> JSON
live UtilityParse RFC 4180 CSV to JSON (objects or arrays) and serialize JSON rows back to CSV with correct quoting. Handles quoted fields, escaped quotes, embedded commas/newlines. Keyless, offline.
Tools
csv_to_json Parse RFC 4180 CSV into JSON (keyless, offline). With `header` true (default) the first row becomes object keys; otherwise rows are returned as arrays. Handles quoted fields, escaped quotes, and embed
No parameters required.
Try it
json_to_csv Serialize an array of JSON objects (or arrays) to CSV (keyless, offline). Object keys become the header (union of all keys, in first-seen order). Fields are quoted when needed.
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/csv/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/csv/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"csv_to_json","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("csv_to_json", {}); // Or ask in plain English:
const answer = await px.ask("parse rfc 4180 csv to json (objects or arrays) and serialize json rows back to csv with correct quoting");