Connect Hugging Face to your agents
A trial starts first, then a project installs Hugging Face from its marketplace.
Hugging Face MCP server
Let agents pick models and datasets from the Hugging Face Hub with the facts
Install the Hugging Face MCP server in an Aldena project and agents search the Hub, read model and dataset cards, and browse repo files without an account.
- Sign-in
- None
- Installs as
huggingface- Transport
- Streamable HTTP
The Hugging Face Hub hosts a vast catalog of open models, datasets and Spaces. Its MCP server lets an agent search that catalog, read model and dataset cards with their licenses and download counts, preview a dataset's splits, columns and rows, and list or read the files in a repository. The marketplace install works anonymously, within Hugging Face's rate limits for anonymous use.
In an Aldena project, the server turns "find a model for this" into a decision with facts behind it. An agent adding semantic search to the app searches for embedding models, filters out restrictive licenses, compares sizes and downloads, and reads the card of the winner for its expected input format. It then writes the integration in its conversation's sandbox, runs a small evaluation, and opens a pull request through the GitHub connector that explains the choice. For datasets, it previews the columns first so the loader it writes matches the real schema.
All four tools are read-only, so Aldena starts them on allow. Pair the Hub with the DeepWiki MCP server to understand the library code that loads a model, or the Context7 MCP server for current library documentation.
With Hugging Face, your agents can
Search models, datasets and Spaces, sorted by downloads, likes or trending
Read model and dataset cards, licenses and download counts
Preview a dataset's configs, splits, columns and sample rows
List and read the files in a Hub repository
Try asking
Things to ask an agent in a project chat once it's installed.
“Search the Hugging Face Hub for the most downloaded sentence embedding models under 500M parameters with a permissive license.”
“Read the dataset card for this Hugging Face dataset and show me its splits, columns and a few preview rows.”
“Compare the licenses and download counts of the three trending speech-to-text models on Hugging Face this week.”
Hugging Face MCP tools
| Tool | What it does | Access |
|---|---|---|
hub_repo_searchSearches models, datasets and Spaces, sorted by downloads, likes or trending | Searches models, datasets and Spaces, sorted by downloads, likes or trending | Read |
hub_repo_detailsReads card metadata, license, downloads, files and dataset previews for repos | Reads card metadata, license, downloads, files and dataset previews for repos | Read |
hf_fsLists and reads files in Hub repos, plus collections, papers and docs | Lists and reads files in Hub repos, plus collections, papers and docs | Read |
hf_whoamiShows the current Hugging Face authentication context, never the credentials | Shows the current Hugging Face authentication context, never the credentials | Read |
Server
- Server URL
https://hf.co/mcp- Website
- huggingface.co
- MCP docs
- Hugging Face MCP docs
How to connect Hugging Face
- Open Marketplace
In a project, open Settings → Connectors → MCP servers and press Marketplace.
- Install Hugging Face
Search for Hugging Face and press Install. Aldena adds it as
huggingface. - Nothing to sign in to
Aldena installs Hugging Face with no sign-in or key, so its tool calls carry no credentials.
- Let agents use it
Agents find its tools with
mcp_searchand call them withmcp_call. Each tool gets its own row in the project's permissions.
Related MCP servers
FAQ
Does the Hugging Face MCP server need an account in Aldena?
No. The marketplace install connects without a sign-in and works anonymously, within the rate limits Hugging Face applies to anonymous use. Agents can search the Hub, read cards and browse public repository files from the first minute.
Do the Hugging Face tools need approval?
No. All four tools mark themselves read-only, and Aldena starts read-only tools on allow, so agents search and read the Hub without waiting for anyone. You can still move any of them to ask or deny in the project's permissions.
How do engineering agents use the Hub?
To choose a model or dataset with evidence. An agent adding an embedding or speech feature compares candidates by license, size and downloads, previews a dataset's columns before writing the loader, and records why it picked one in the pull request.
Ready when you are
Spin up your first project.
One project per client, product, or piece of work, staffed with intake, requirements, build and code review agents.