Hugging Face · Capability

Hugging Face Hub and Data Management

Unified workflow for managing models, datasets, and spaces on the Hugging Face Hub, and exploring dataset contents via the Dataset Viewer. Used by ML engineers, data scientists, and platform administrators for model discovery, dataset curation, and repository management.

Run with Naftiko Hugging FaceHubModelsDatasetsData Management

What You Can Do

GET
List models — List and search models
/v1/models
GET
Get model — Get model information
/v1/models/{repo_id}
GET
List datasets — List and search datasets
/v1/datasets
GET
Get dataset — Get dataset information
/v1/datasets/{repo_id}
GET
Get rows — Get rows from a dataset
/v1/datasets/{dataset}/rows
GET
Search rows — Search rows in a dataset
/v1/datasets/{dataset}/search
GET
List spaces — List and search Spaces
/v1/spaces
POST
Create repo — Create a new repository
/v1/repos
GET
Whoami — Get authenticated user info
/v1/user

MCP Tools

list-models

List and search ML models on the Hugging Face Hub.

read-only
get-model

Get detailed information about a specific model.

read-only
get-model-revision

Get model information at a specific revision or branch.

read-only
list-datasets

List and search datasets on the Hub.

read-only
get-dataset

Get detailed information about a specific dataset.

read-only
get-dataset-parquet

Get parquet file URLs for a dataset.

read-only
list-spaces

List and search Spaces on the Hub.

read-only
get-space

Get detailed information about a specific Space.

read-only
create-repo

Create a new model, dataset, or Space repository on the Hub.

delete-repo

Delete a repository from the Hub.

update-repo-settings

Update settings for a repository.

idempotent
whoami

Get information about the authenticated user.

read-only
list-model-tags

List all available model tags grouped by type.

read-only
list-dataset-tags

List all available dataset tags grouped by type.

read-only
check-dataset-validity

Check if a dataset is valid and available on the Hub.

read-only
get-dataset-splits

Get the list of splits for a dataset.

read-only
preview-dataset-rows

Get the first rows of a dataset split for preview.

read-only
get-dataset-rows

Get rows from a dataset split with pagination.

read-only
search-dataset

Search for rows matching a query in a dataset.

read-only
filter-dataset

Filter dataset rows using a condition.

read-only
get-dataset-size

Get size information for a dataset.

read-only
get-dataset-statistics

Get statistical information about a dataset split.

read-only
get-croissant-metadata

Get Croissant metadata for a dataset.

read-only

APIs Used

hf-hub hf-dataset-viewer