Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

hf-mcp

Skill by sickn33

Lets AI assistants search and inspect the Hugging Face Hub through its MCP server tools. It covers models, datasets, Spaces, papers, docs and compute jobs. Built for developers and ML users who work with the Hub.

  • Score 90
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install hf-mcp

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/hf-mcp ~/.claude/skills/hf-mcp

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install hf-mcp in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill gives an AI assistant access to the Hugging Face Hub through the Hugging Face MCP server. The assistant can search models, datasets, Spaces and papers, read repo details and READMEs, and fetch library documentation. It can also run compute jobs on CPU or GPU flavors and call Gradio Spaces as AI tools.

The skill is written as a SKILL.md file with usage examples and a tool selection guide. It maps goals such as finding models or running code on a GPU to specific MCP tools. The source says the skill is available only when connected to the HF MCP server, and that users should discover actual tool schemas and account permissions first. It is aimed at developers and ML practitioners who want to explore the Hub from an assistant.

Written from the project's SKILL.md and checked against it.

What it can do

  • model_searchSearches Hub models by query, task, author, sort order and limit.
  • dataset_searchSearches Hub datasets using query, tags and sort options.
  • space_searchFinds Spaces and apps, including Spaces usable as tools with mcp=true.
  • paper_searchSearches research papers by query and result limit.
  • hub_repo_detailsReturns details for models, datasets or Spaces, optionally with the README.
  • hf_doc_searchSearches Hugging Face library documentation, such as PEFT.
  • hf_doc_fetchFetches a documentation page from a given docs URL.
  • hf_jobsRuns, lists, checks logs for and schedules compute jobs on CPU or GPU flavors.
  • dynamic_spaceDiscovers, inspects and invokes Gradio Spaces as tools.
  • hf_whoamiChecks the authenticated Hugging Face account.

What you need

  • A Hugging Face account
  • Connection to the Hugging Face MCP server, set up at huggingface.co/settings/mcp
  • HF_TOKEN for private repos and jobs that use secrets
  • Access to paid compute for GPU jobs

Try asking

  • Find the best model for code generation
  • Compare Llama vs Qwen for text generation
  • Find datasets for sentiment analysis in English

Good to know

  • Named Space tools and job operations are examples, not guaranteed installed functions.
  • Space invocation uploads input to the Space operator, so review the destination and payload first.
  • Jobs need a bounded runtime and cost, reviewed inputs and a cancellation path.
  • Popularity and download counts are not evidence of task quality or safety.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/hf-mcp/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to hf-mcp

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

hf-mcp: common questions

Does a search start a model run or a job?

No. The source says a request to search does not authorize model execution, downloads, jobs or recurring schedules.

Which tools does the skill use for finding models?

It uses model_search for models, and hub_repo_details to read a repo's README and details.

Do I need a token for private repos?

The source says jobs accessing private repos should include secrets with HF_TOKEN set to $HF_TOKEN.

How do I install hf-mcp?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is hf-mcp free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is hf-mcp safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to hf-mcp?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

hf-mcp Install

Add to stack

Loading.