Huggingface
MCP server by pipeworx-io Community
Lets AI assistants search and inspect models, datasets, and Spaces on the Hugging Face Hub. Published by pipeworx-io as an unofficial MCP server for ML developers and researchers. Public reads need no API key.
Install Huggingface
Built from the published package, never by AI.
claude mcp add huggingface -- npx -y @pipeworx/mcp-huggingfaceRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"huggingface": {
"args": [
"-y",
"@pipeworx/mcp-huggingface"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"huggingface": {
"args": [
"-y",
"@pipeworx/mcp-huggingface"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"huggingface": {
"args": [
"-y",
"@pipeworx/mcp-huggingface"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add huggingface -- npx -y @pipeworx/mcp-huggingface{
"mcpServers": {
"huggingface": {
"args": [
"-y",
"@pipeworx/mcp-huggingface"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add huggingface npx -y @pipeworx/mcp-huggingfaceGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the huggingface block.
About
This MCP server gives an AI assistant read access to the Hugging Face Hub, the public repository of open machine learning models, datasets, and Spaces. It offers tools to search each of the three repository types, fetch details for a single repo, list the files in a model or dataset repo, and pull trending models and datasets. It reads from the public Hub REST API at huggingface.co/api.
The server is served through the Pipeworx gateway at gateway.pipeworx.io. It can be added to an MCP client by URL, or run locally with npx as a stdio bridge that forwards calls to the gateway. Public reads work without a key. An optional Hugging Face token raises rate limits and unlocks gated or private repos. It suits ML engineers and researchers who want an assistant to look up open models and datasets. It is an independent, unofficial integration.
Written from the project's README and checked against it.
Tools it gives your assistant
search_modelsSearches models by text, author, library, language, pipeline tag, or tags.search_datasetsSearches datasets by text, author, language, or task categories.search_spacesSearches Spaces by text, author, or SDK.get_modelReturns details for a single model repository, optionally at a given revision.get_datasetReturns details for a single dataset repository, optionally at a given revision.get_spaceReturns details for a single Space, optionally at a given revision.list_model_filesLists the files in a model repository, optionally at a given revision.list_dataset_filesLists the files in a dataset repository, optionally at a given revision.trending_modelsLists currently trending models, with an optional limit.trending_datasetsLists currently trending datasets, with an optional limit.
What you need
- Node.js to run the npx bridge
- Network access, since there is no offline mode
- Optional Hugging Face token for higher rate limits and gated or private repos
- Optional Pipeworx account for a higher daily call limit
| Setting | Needed | What it is |
|---|---|---|
PIPEWORX_Environment variable, secret | Optional | Optional Pipeworx API key. Without it calls are anonymous and capped daily; a free key raises the cap. |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Find the most popular open models for text classification in French
- Compare the datasets available for speech recognition in English
- Show me the files in the bert-base-uncased model repository
Good to know
- Anonymous npx use is capped at 50 calls a day; a free account raises this to 200.
- Gated and private repos require a Hugging Face token.
- Needs network access; there is no offline mode.
- Unofficial integration, not affiliated with or endorsed by Hugging Face.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Huggingface
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
Huggingface: common questions
Does the Hugging Face MCP server need an API key?
Public reads are keyless. A Hugging Face token is optional and raises rate limits and allows access to gated or private repos.
Can it access private Hugging Face repositories?
Gated and private repos require a token. The source says a token is needed for them, and the token is optional for public reads.
Is this an official Hugging Face product?
No. The source describes it as an independent, unofficial integration that is not affiliated with, endorsed by, or published by Hugging Face.
How do I install Huggingface?
In Claude Code run claude mcp add huggingface -- npx -y @pipeworx/mcp-huggingface. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Huggingface the official server?
Huggingface is a community project by pipeworx-io, not verified by a company domain.
Is Huggingface free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Huggingface safe to use?
It scores 72 of 100. Grades: maintenance A, licence A, quality C. 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 Huggingface?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does Huggingface work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
