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

NameTypeDescription
repo_ids requiredarrayRepo IDs for (models|dataset/space) - usually in author/name format (e.g. openai/gpt-oss-120b)
repo_typemodel | dataset | spaceSpecify lookup type; otherwise auto-detects
operationsarrayDetails to return. Defaults to ["overview"]. For datasets, prefer ["overview", "dataset_structure"] first; then call ["dataset_preview"] with config and split.
configstringDataset Viewer config. Required for dataset_preview when the dataset has multiple config/split options. Discover via dataset_structure.
splitstringDataset Viewer split. Required for dataset_preview when the dataset has multiple config/split options. Discover via dataset_structure.
offsetintegerRow offset for dataset_preview. Defaults to 0.
limitintegerRow 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:

call_tool arguments
{
  "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 ….

More from Hugging Face