Home / Directory / Hugging Face / hub_repo_details
Hub repo details
An MCP tool from the Hugging Face server, run by Hugging Face.
Get details for one or more Hugging Face repos (model, dataset, or space): card metadata, license, downloads, files, Space hardware/status, dataset configs, splits, columns and preview rows. Auto-detects type unless specified. For datasets, use operations: overview, dataset_structure, dataset_preview. Use dataset_structure first to discover configs, splits, sizes, and schema. Use dataset_preview only when config and split are known, unless the dataset has a single config/split.
Name on the gateway: huggingface__hub_repo_details.
Parameters
| Name | Type | Description |
|---|---|---|
repo_ids required | array | Repo IDs for (models|dataset/space) - usually in author/name format (e.g. openai/gpt-oss-120b) |
repo_type | model | dataset | space | Specify lookup type; otherwise auto-detects |
operations | array | Details to return. Defaults to ["overview"]. For datasets, prefer ["overview", "dataset_structure"] first; then call ["dataset_preview"] with config and split. |
config | string | Dataset Viewer config. Required for dataset_preview when the dataset has multiple config/split options. Discover via dataset_structure. |
split | string | Dataset Viewer split. Required for dataset_preview when the dataset has multiple config/split options. Discover via dataset_structure. |
offset | integer | Row offset for dataset_preview. Defaults to 0. |
limit | integer | Row count for dataset_preview. Defaults to 5 and is clamped to 1-100. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "huggingface__hub_repo_details",
"arguments": {
"repo_ids": []
}
}The first call connects Hugging Face to your account automatically; nothing to set up. About this server.
Try asking
Use the hub repo details tool with repo_ids set to ….