json_to_csv

Pack: csv · Endpoint: https://gateway.pipeworx.io/csv/mcp

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.

Parameters

NameTypeRequiredDescription
rowsarrayyesAn array of objects (or arrays) to serialize.
delimiterstringnoField delimiter (default ”,”).

Example call

Arguments

{
  "rows": [
    {
      "name": "Alice",
      "age": 30,
      "city": "New York"
    },
    {
      "name": "Bob",
      "age": 25,
      "city": "Los Angeles"
    }
  ]
}

curl

curl -X POST https://gateway.pipeworx.io/csv/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"json_to_csv","arguments":{"rows":[{"name":"Alice","age":30,"city":"New York"},{"name":"Bob","age":25,"city":"Los Angeles"}]}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('json_to_csv', {
  "rows": [
    {
      "name": "Alice",
      "age": 30,
      "city": "New York"
    },
    {
      "name": "Bob",
      "age": 25,
      "city": "Los Angeles"
    }
  ]
});

More examples

{
  "rows": [
    {
      "product": "Widget",
      "price": 9.99,
      "quantity": 100
    },
    {
      "product": "Gadget",
      "price": 19.99,
      "quantity": 50
    }
  ],
  "delimiter": "\t"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "csv": {
      "url": "https://gateway.pipeworx.io/csv/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 15, 2026