hf-mcp-server

v0.5.1
@llmindset/hf-mcp-server Checked 2 hours ago Published 3 days ago

Official Hugging Face MCP Server

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

hf_whoami Hugging Face User Info

Inspect the current Hugging Face authentication context, including the account, visible organization memberships, and credential access details. Read-only and never returns credential values.

hub_repo_details Hub Repository Details

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.

ParameterTypeDescription
repo_ids *arrayRepo IDs for (models|dataset/space) - usually in author/name format (e.g. openai/gpt-oss-120b)
configstringDataset Viewer config. Required for dataset_preview when the dataset has multiple config/split options. Discover via dataset_structure.
limitintegerRow count for dataset_preview. Defaults to 5 and is clamped to 1-100.
offsetintegerRow offset for dataset_preview. Defaults to 0.
operationsarrayDetails to return. Defaults to ["overview"]. For datasets, prefer ["overview", "dataset_structure"] first; then call ["dataset_preview"] with config and split.
repo_typestringSpecify lookup type; otherwise auto-detects
splitstringDataset Viewer split. Required for dataset_preview when the dataset has multiple config/split options. Discover via dataset_structure.

hf_fs Hugging Face Hub: Find, use and view models, datasets, spaces, buckets, papers, documentation and collections. Get daily papers reports, and browse trending content.

When to use: Hugging Face Hub models, datasets, Spaces, collections, papers, daily papers, today's trending models, current paper leaderboard, docs; list and read repository files, model and dataset cards (README, license). Examples: {"operations":[{"cmd":"ls","args":["hf://models/trending","--limit","10"]}]} {"operations":[{"cmd":"ls","args":["hf://papers/trending"]}]} {"operations":[{"cmd":"ls","args":["hf://papers/daily/latest"]}]} {"operations":[{"cmd":"cat","args":["hf://papers/2501.00001/paper.md"]}]} {"operations":[{"cmd":"search","args":["hf://models","--tag","base_model:fin…

ParameterTypeDescription
operations *array