get_dataset
Pack: healthdata · Endpoint: https://gateway.pipeworx.io/healthdata/mcp
Get full metadata for a HealthData.gov dataset by its package ID. Returns title, description, organization, resources (CSV/JSON download links), update frequency, and tags.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | Dataset package ID (returned by search_datasets) |
Example call
Arguments
{
"id": "covid-19-hospitalization-data"
}
curl
curl -X POST https://gateway.pipeworx.io/healthdata/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_dataset","arguments":{"id":"covid-19-hospitalization-data"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_dataset', {
"id": "covid-19-hospitalization-data"
});
Response shape
Always returns: id, name, title, description, organization, license, created, modified, tags, resources
| Field | Type | Description |
|---|---|---|
id | string | Dataset package ID |
name | string | Dataset name |
title | string | null | Dataset title |
description | string | null | Full dataset description |
organization | string | null | Organization that published the dataset |
license | string | null | License type of the dataset |
created | string | null | Dataset creation timestamp |
modified | string | null | Dataset last modified timestamp |
tags | array | Dataset tags/keywords |
resources | array | Array of data resources (downloadable files) |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Dataset package ID"
},
"name": {
"type": "string",
"description": "Dataset name"
},
"title": {
"type": [
"string",
"null"
],
"description": "Dataset title"
},
"description": {
"type": [
"string",
"null"
],
"description": "Full dataset description"
},
"organization": {
"type": [
"string",
"null"
],
"description": "Organization that published the dataset"
},
"license": {
"type": [
"string",
"null"
],
"description": "License type of the dataset"
},
"created": {
"type": [
"string",
"null"
],
"description": "Dataset creation timestamp"
},
"modified": {
"type": [
"string",
"null"
],
"description": "Dataset last modified timestamp"
},
"tags": {
"type": "array",
"description": "Dataset tags/keywords",
"items": {
"type": "string"
}
},
"resources": {
"type": "array",
"description": "Array of data resources (downloadable files)",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Resource ID"
},
"name": {
"type": [
"string",
"null"
],
"description": "Resource name"
},
"format": {
"type": [
"string",
"null"
],
"description": "File format (e.g., CSV, JSON)"
},
"url": {
"type": [
"string",
"null"
],
"description": "Download URL for the resource"
},
"description": {
"type": [
"string",
"null"
],
"description": "Resource description"
},
"created": {
"type": [
"string",
"null"
],
"description": "Resource creation timestamp"
},
"last_modified": {
"type": [
"string",
"null"
],
"description": "Resource last modified timestamp"
}
},
"required": [
"id",
"name",
"format",
"url",
"description",
"created",
"last_modified"
]
}
}
},
"required": [
"id",
"name",
"title",
"description",
"organization",
"license",
"created",
"modified",
"tags",
"resources"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"healthdata": {
"url": "https://gateway.pipeworx.io/healthdata/mcp"
}
}
}
See Getting Started for client-specific install steps.