---
title: "Hugging Face MCP server: search models, datasets and Spaces"
description: "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."
url: "https://aldena.ai/mcp-servers/huggingface"
---

# Let agents pick models and datasets from the Hugging Face Hub with the facts

Hugging Face MCP server. 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
- **Last verified**: 2026-11-28

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](https://aldena.ai/integrations/github) 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](https://aldena.ai/mcp-servers/deepwiki) to understand the library code that loads a model, or the [Context7 MCP server](https://aldena.ai/mcp-servers/context7) 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

- “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_search` | Searches models, datasets and Spaces, sorted by downloads, likes or trending | Read |
| `hub_repo_details` | Reads card metadata, license, downloads, files and dataset previews for repos | Read |
| `hf_fs` | Lists and reads files in Hub repos, plus collections, papers and docs | Read |
| `hf_whoami` | Shows the current Hugging Face authentication context, never the credentials | Read |

## Server

- **Server URL**: `https://hf.co/mcp`
- **Website**: [huggingface.co](https://huggingface.co)
- **MCP docs**: [Hugging Face MCP docs](https://huggingface.co/docs/hub/agents-mcp)

## How to connect Hugging Face

1. **Open Marketplace.** In a project, open Settings → Connectors → MCP servers and press Marketplace.
2. **Install Hugging Face.** Search for Hugging Face and press Install. Aldena adds it as `huggingface`.
3. **Nothing to sign in to.** Aldena installs Hugging Face with no sign-in or key, so its tool calls carry no credentials.
4. **Let agents use it.** Agents find its tools with `mcp_search` and call them with `mcp_call`. Each tool gets its own row in the project's permissions.

## Related MCP servers

- [InstantDB MCP server](https://aldena.ai/mcp-servers/instantdb): Manage apps, schema, and data in InstantDB.
- [Intercom MCP server](https://aldena.ai/mcp-servers/intercom): Search conversations, contacts, and help articles.
- [Jam MCP server](https://aldena.ai/mcp-servers/jam): Read bug reports with console logs and repro steps.
- [Linear MCP server](https://aldena.ai/mcp-servers/linear): Read and update issues, projects, and cycles.
- [All MCP servers](https://aldena.ai/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.
