get_dataset

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

Get rows from a specific CDC dataset by its Socrata dataset ID (four-by-four format like “xxxx-xxxx”). Returns data rows with all columns. Use search_datasets first to find the ID.

Parameters

NameTypeRequiredDescription
idstringyesSocrata dataset ID in four-by-four format (e.g., “9mfq-cb36”)
limitnumbernoNumber of rows to return (default 50, max 1000)

Example call

Arguments

{
  "id": "9mfq-cb36"
}

curl

curl -X POST https://gateway.pipeworx.io/cdc/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_dataset","arguments":{"id":"9mfq-cb36"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_dataset', {
  "id": "9mfq-cb36"
});

More examples

{
  "id": "r8kz-9hhg",
  "limit": 500
}

Response shape

Always returns: dataset_id, row_count, columns, rows

FieldTypeDescription
dataset_idstringSocrata dataset ID
row_countnumberNumber of rows returned
columnsarrayColumn names from the dataset
rowsarrayData rows with all columns as key-value pairs
Full JSON Schema
{
  "type": "object",
  "properties": {
    "dataset_id": {
      "type": "string",
      "description": "Socrata dataset ID"
    },
    "row_count": {
      "type": "number",
      "description": "Number of rows returned"
    },
    "columns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Column names from the dataset"
    },
    "rows": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Data rows with all columns as key-value pairs"
    }
  },
  "required": [
    "dataset_id",
    "row_count",
    "columns",
    "rows"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026