Skip to main content
Glama

Hugging Face Hub MCP Server

by michaelwaves

hf_list_datasets

Search, filter, and retrieve detailed metadata for datasets on the Hugging Face Hub, including downloads, likes, and tags. Refine results by author, search terms, or tags for targeted exploration.

Instructions

Get information from all datasets in the Hub. Supports filtering by search terms, authors, tags, and more. Returns paginated results with dataset metadata including downloads, likes, and tags.

Input Schema

NameRequiredDescriptionDefault
authorNoFilter datasets by author or organization (e.g., 'huggingface', 'microsoft')
configNoWhether to also fetch the repo config
directionNoSort direction: '-1' for descending, anything else for ascending
filterNoFilter based on tags (e.g., 'task_categories:text-classification', 'languages:en')
fullNoWhether to fetch most dataset data including all tags and files
limitNoLimit the number of datasets fetched
searchNoFilter based on substrings for repos and their usernames (e.g., 'pets', 'microsoft')
sortNoProperty to use when sorting (e.g., 'downloads', 'author')

Input Schema (JSON Schema)

{ "properties": { "author": { "description": "Filter datasets by author or organization (e.g., 'huggingface', 'microsoft')", "type": "string" }, "config": { "description": "Whether to also fetch the repo config", "type": "boolean" }, "direction": { "description": "Sort direction: '-1' for descending, anything else for ascending", "type": "string" }, "filter": { "description": "Filter based on tags (e.g., 'task_categories:text-classification', 'languages:en')", "type": "string" }, "full": { "description": "Whether to fetch most dataset data including all tags and files", "type": "boolean" }, "limit": { "description": "Limit the number of datasets fetched", "type": "number" }, "search": { "description": "Filter based on substrings for repos and their usernames (e.g., 'pets', 'microsoft')", "type": "string" }, "sort": { "description": "Property to use when sorting (e.g., 'downloads', 'author')", "type": "string" } }, "required": [], "type": "object" }

Other Tools from Hugging Face Hub MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/michaelwaves/hf-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server