list_dataset_files

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

List files in a Hugging Face dataset repository by repo_id and optional revision/subdirectory path; returns filename, size, and blob SHA for each file.

Parameters

NameTypeRequiredDescription
repo_idstringyes
revisionstringno
pathstringno

Example call

Arguments

{
  "repo_id": "wikitext"
}

curl

curl -X POST https://gateway.pipeworx.io/huggingface/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_dataset_files","arguments":{"repo_id":"wikitext"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('list_dataset_files', {
  "repo_id": "wikitext"
});

More examples

{
  "repo_id": "openwebtext/openwebtext",
  "path": "data"
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "List of files in a dataset repository"
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026