MCP serversAI toolingHugging Face
Hugging Face MCP server
https://huggingface.co/mcp
Hugging Face runs a remote MCP server an agent can read without logging in. It exposes 4 tools: hf_whoami, hub_repo_search, hub_repo_details and hf_fs. We read its tool list, then made 11 calls to the 4 tools it marks read-only.
Connect
How to add the Hugging Face MCP server
The server speaks Streamable HTTP at the address below. Listing its tools needs no key.
https://huggingface.co/mcp
claude mcp add --transport http hugging-face https://huggingface.co/mcp
{
"mcpServers": {
"hugging-face": {
"url": "https://huggingface.co/mcp"
}
}
}Tools
4 tools, about 5,000 tokens
An agent pays about 5,000 tokens for this list and the server’s instructions on every request, before it has done anything. Every tool is marked read-only. Descriptions are quoted from the server.
| Tool | What the server says it does |
|---|---|
hf_whoami | Inspect the current Hugging Face authentication context, including the account, visible organization memberships, and credential access details. Read-only and never returns credential… |
hub_repo_search | Search and list Hugging Face models, datasets and Spaces (sort by downloads, likes, trending) with a shared query interface. You can target models, datasets, spaces, or aggregate across… |
hub_repo_details | Get details for one or more Hugging Face repos (model, dataset, or space): card metadata, license, downloads, files, Space hardware/status, dataset configs, splits, columns and preview… |
hf_fs | When to use: Hugging Face Hub models, datasets, Spaces, collections, papers, daily papers, today's trending models, current paper leaderboard, docs; list and read repository files, model… |
Score
98 out of 100, check by check
We read its tool list, then made 11 calls to the 4 tools it marks read-only. What each check means and how it is weighted →
Server
100/100- The server sends instructions (304 characters).
- 4 tools.
- The tool list and instructions cost about 5,000 tokens, on every request an agent makes.
Tool descriptions
100/100- Every tool has a description of 40 characters or more.
- No vague tool descriptions.
Parameters
91/100- 1 of 14 parameters have no description:
hf_fs.operations. - 1 string parameter looks constrained but is free text:
hub_repo_search.author.Fix: Declare anenumfor parameters with a fixed set of values, so the model can't invent one. - The list or search tool takes a limit, page or cursor.
Safety hints
100/100- Every tool is annotated.
Error quality
100/100- All 7 wrong calls were refused.
- All 7 errors name the parameter that was wrong.
- No error is empty, generic or a stack trace.
- Errors for an invalid option list the valid ones.
- Errors come back as tool results (
isError: true), which every client shows to the model.
Responses
100/100- The largest of 2 responses is about 6,500 tokens (
hub_repo_search). - Results match the output schemas the tools declare.
- 2 calls: median 0.1 s, slowest 0.2 s.
Evidence
What the server answered
Every call we made, what we sent and what came back. A wrong call should be refused with an error that names the parameter, so the agent’s next call can be right.
| Tool | We sent | Result | What the agent reads |
|---|---|---|---|
hub_repo_details | A plain call | Error on our sample input | Input validation error: Invalid arguments for tool hub_repo_details: repo_ids: Provide at least one id |
hub_repo_details | Left out repo_ids | Refused | Input validation error: Invalid arguments for tool hub_repo_details: repo_ids: Invalid input: expected array, received undefined |
hub_repo_details | Wrong type for repo_ids | Refused | Input validation error: Invalid arguments for tool hub_repo_details: repo_ids: Invalid input: expected array, received number |
hub_repo_details | Invalid option for repo_type | Refused | Input validation error: Invalid arguments for tool hub_repo_details: repo_ids: Provide at least one id, repo_type: Invalid option: expected one of "model"|"dataset"|"space" |
hub_repo_search | A plain call | Answered | About 6,458 tokens |
hub_repo_search | Wrong type for query | Refused | Input validation error: Invalid arguments for tool hub_repo_search: query: Invalid input: expected string, received object |
hub_repo_search | Invalid option for sort | Refused | Input validation error: Invalid arguments for tool hub_repo_search: sort: Invalid option: expected one of "trendingScore"|"downloads"|"likes"|"createdAt"|"lastModified" |
hf_fs | A plain call | Error on our sample input | Input validation error: Invalid arguments for tool hf_fs: operations: Provide at least one operation |
hf_fs | Left out operations | Refused | Input validation error: Invalid arguments for tool hf_fs: operations: Invalid input: expected array, received undefined |
hf_fs | Wrong type for operations | Refused | Input validation error: Invalid arguments for tool hf_fs: operations: Invalid input: expected array, received number |
hf_whoami | A plain call | Answered | About 78 tokens |
Fix first
1 fix, by points lost
- Declare an
enumfor parameters with a fixed set of values, so the model can't invent one. Parameters
Improve the MCP server at https://huggingface.co/mcp so AI agents can use it. A test on 1 December 2026 (https://trybackloop.com/mcp/hugging-face) found: 1. 1 string parameter looks constrained but is free text: `hub_repo_search.author`. Fix: Declare an `enum` for parameters with a fixed set of values, so the model can't invent one. Keep tool names stable. After the change, check each fix against the tool list and one call per tool.
Alternatives
Hugging Face alternatives, same test
The other AI tooling servers on the board, tested the same day. A higher score means an agent has less to guess, not that the product behind it is better.
| # | Server | Biggest gap | Score |
|---|---|---|---|
| 1 | Fixed lists typed as free text | 98 | |
| 2 | Search with no limit parameter | 97 | |
| 3 | A response of about 16,700 tokens | 91 | |
| 4 | All 10 parameters undescribed | 86 |
Your server?
Fixed something? Run it again.
This page is the run of 1 December 2026. The live test takes a few seconds and shows the current result.
About 20 public requests, plus a few calls to the tools the server marks read-only. No other tool is called. No signup, nothing stored.
After the test
A test finds what is wrong with the interface.
It can’t see what agents wanted.
An agent that gives up, or takes the slow way round, still gets a 200 on every call, so your logs never show it. Backloop collects what agents were trying to do and couldn’t, groups it, and opens the pull request that fixes it.