column_data

Pack: data-ny · Endpoint: https://gateway.pipeworx.io/data-ny/mcp

Distinct values in a column.

Parameters

NameTypeRequiredDescription
resource_idstringyes
columnstringyes

Example call

Arguments

{
  "resource_id": "xj2p-gjci",
  "column": "borough"
}

curl

curl -X POST https://gateway.pipeworx.io/data-ny/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"column_data","arguments":{"resource_id":"xj2p-gjci","column":"borough"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('column_data', {
  "resource_id": "xj2p-gjci",
  "column": "borough"
});

Response shape

Always returns: items, count

FieldTypeDescription
itemsarrayArray of distinct values in the specified column
countintegerNumber of items returned.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "Array of distinct values in the specified column",
      "items": {
        "type": "object",
        "description": "Row object containing the column value"
      }
    },
    "count": {
      "type": "integer",
      "description": "Number of items returned."
    }
  },
  "required": [
    "items",
    "count"
  ]
}

Connect

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

{
  "mcpServers": {
    "data-ny": {
      "url": "https://gateway.pipeworx.io/data-ny/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026