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.
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-mcpRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/hf-mcp ~/.gemini/antigravity-cli/skills/hf-mcpAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
