datasets

Pack: data-ny · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/datasets for the schema, then POST the same URL with its arguments for the data.

Search dataset catalogue.

Parameters

NameTypeRequiredDescription
querystringno
limitnumberno
offsetnumberno

Example call

Arguments

{
  "query": "crime",
  "limit": 10
}

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":"datasets","arguments":{"query":"crime","limit":10}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('datasets', {
  "query": "crime",
  "limit": 10
});

More examples

{
  "query": "311 complaints",
  "limit": 20,
  "offset": 0
}

Response shape

FieldTypeDescription
resultsarrayArray of dataset results
countnumberTotal number of results matching query
Full JSON Schema
{
  "type": "object",
  "description": "Socrata catalog search results",
  "properties": {
    "results": {
      "type": "array",
      "description": "Array of dataset results",
      "items": {
        "type": "object",
        "properties": {
          "resource": {
            "type": "object",
            "description": "Dataset resource metadata"
          },
          "classification": {
            "type": "object",
            "description": "Dataset classification information"
          }
        }
      }
    },
    "count": {
      "type": "number",
      "description": "Total number of results matching query"
    }
  }
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the data-ny pack
{
  "mcpServers": {
    "data-ny": {
      "url": "https://gateway.pipeworx.io/data-ny/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026