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.

AI tooling4 toolsv0.5.1Streamable HTTP

Connect

How to add the Hugging Face MCP server

The server speaks Streamable HTTP at the address below. Listing its tools needs no key.

Server URL
https://huggingface.co/mcp
Claude Code
claude mcp add --transport http hugging-face https://huggingface.co/mcp
Cursor and other clients (mcp.json)
{
  "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.

ToolWhat the server says it doesParamsHint
hf_whoamiInspect the current Hugging Face authentication context, including the account, visible organization memberships, and credential access details. Read-only and never returns credential…0Read-only
hub_repo_searchSearch 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…6Read-only
hub_repo_detailsGet 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…7Read-only
hf_fsWhen 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…1Read-only

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 an enum for 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.

ToolWe sentResultWhat the agent readsTime
hub_repo_detailsA plain callError on our sample inputInput validation error: Invalid arguments for tool hub_repo_details: repo_ids: Provide at least one id0.1 s
hub_repo_detailsLeft out repo_idsRefusedInput validation error: Invalid arguments for tool hub_repo_details: repo_ids: Invalid input: expected array, received undefined0.1 s
hub_repo_detailsWrong type for repo_idsRefusedInput validation error: Invalid arguments for tool hub_repo_details: repo_ids: Invalid input: expected array, received number0.1 s
hub_repo_detailsInvalid option for repo_typeRefusedInput 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"0.2 s
hub_repo_searchA plain callAnsweredAbout 6,458 tokens0.2 s
hub_repo_searchWrong type for queryRefusedInput validation error: Invalid arguments for tool hub_repo_search: query: Invalid input: expected string, received object0.1 s
hub_repo_searchInvalid option for sortRefusedInput validation error: Invalid arguments for tool hub_repo_search: sort: Invalid option: expected one of "trendingScore"|"downloads"|"likes"|"createdAt"|"lastModified"0.1 s
hf_fsA plain callError on our sample inputInput validation error: Invalid arguments for tool hf_fs: operations: Provide at least one operation0.1 s
hf_fsLeft out operationsRefusedInput validation error: Invalid arguments for tool hf_fs: operations: Invalid input: expected array, received undefined0.1 s
hf_fsWrong type for operationsRefusedInput validation error: Invalid arguments for tool hf_fs: operations: Invalid input: expected array, received number0.1 s
hf_whoamiA plain callAnsweredAbout 78 tokens0.1 s

Fix first

1 fix, by points lost

  1. Declare an enum for parameters with a fixed set of values, so the model can't invent one. Parameters
Paste into your coding agent, in the server's repository
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.

#ServerToolsBiggest gapScore
1Hugging Facehuggingface.co/mcp4Fixed lists typed as free text98
2LangChaindocs.langchain.com/mcp3Search with no limit parameter97
3Pineconedocs.pinecone.io/mcp3A response of about 16,700 tokens91
4OpenAI Docsdevelopers.openai.com/mcp5All 10 parameters undescribed86

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.