Hugging Face Inference Endpoints
hub_repo_search
Search Hugging Face repositories with a shared query interface. You can target models, datasets, spaces, or aggregate across multiple repo types in one call. Use space_search for semantic-first discovery of Spaces. Include links to repositories in your response.
Remote huggingface
Remote (network-hosted)
Other tools also called hub_repo_search?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"sort": {
"enum": [
"trendingScore",
"downloads",
"likes",
"createdAt",
"lastModified"
],
"type": "string",
"description": "Sort order (descending): trendingScore, downloads, likes, createdAt, lastModified"
},
"limit": {
"type": "number",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Maximum number of results to return per selected repo type"
},
"query": {
"type": "string",
"description": "Search term. Leave blank and specify sort + limit to browse trending or recent repositories."
},
"author": {
"type": "string",
"description": "Organization or user namespace to filter by (e.g. 'google', 'meta-llama', 'huggingface')."
},
"filters": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional hub filter tags. Applied to each selected repo type (e.g. [\"text-generation\"], [\"language:en\"], [\"mcp-server\"])."
},
"repo_types": {
"type": "array",
"items": {
"enum": [
"model",
"dataset",
"space"
],
"type": "string"
},
"default": [
"model",
"dataset"
],
"maxItems": 3,
"minItems": 1,
"description": "Repository types to search. Defaults to [\"model\", \"dataset\"]. space uses keyword search via /api/spaces."
}
}
}