dataset_files
Pack: dataverse-harvard · 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/dataset_files for the schema, then POST the same URL with its arguments for the data.
List all files in the latest version of a Harvard Dataverse dataset identified by its DOI persistent ID (e.g. “doi:10.7910/DVN/…”), returning file names, content types, sizes, and download URLs. For files Dataverse has TABULAR-INGESTED (CSV/DTA/SAV/POR under its ingest size limit), also returns exact COLUMN / VARIABLE NAMES and labels from Dataverse’s DDI metadata (variables_by_file). If a dataset has no tabular-ingested files (common for very large files, or non-tabular formats), column names are not available from Dataverse at all — the response says so explicitly rather than silently omitting them.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
persistent_id | string | yes |
Example call
Arguments
{
"persistent_id": "doi:10.7910/DVN/DUWBBU"
}
curl
curl -X POST https://gateway.pipeworx.io/dataverse-harvard/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"dataset_files","arguments":{"persistent_id":"doi:10.7910/DVN/DUWBBU"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('dataset_files', {
"persistent_id": "doi:10.7910/DVN/DUWBBU"
});
Response shape
| Field | Type | Description |
|---|---|---|
status | string | API response status |
data | array | Dataset files data |
Full JSON Schema
{
"type": "object",
"description": "Files in a dataset",
"properties": {
"status": {
"type": "string",
"description": "API response status"
},
"data": {
"description": "Dataset files data",
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"restricted": {
"type": "boolean"
},
"version": {
"type": "number"
},
"datasetVersionId": {
"type": "number"
},
"dataFile": {
"type": "object",
"properties": {
"id": {
"type": "number"
},
"persistentId": {
"type": "string"
},
"filename": {
"type": "string"
},
"contentType": {
"type": "string"
},
"friendlyType": {
"type": "string"
},
"filesize": {
"type": "number"
},
"storageIdentifier": {
"type": "string"
},
"rootDataFileId": {
"type": "number"
},
"md5": {
"type": "string"
},
"checksum": {
"type": "object",
"properties": {
"type": {
"type": "string"
},
"value": {
"type": "string"
}
}
},
"tabularData": {
"type": "boolean"
},
"creationDate": {
"type": "string"
},
"publicationDate": {
"type": "string"
},
"lastUpdateTime": {
"type": "string"
},
"fileAccessRequest": {
"type": "boolean"
}
}
}
}
}
}
}
}
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 dataverse-harvard pack
{
"mcpServers": {
"dataverse-harvard": {
"url": "https://gateway.pipeworx.io/dataverse-harvard/mcp"
}
}
}
See Getting Started for client-specific install steps.