Skip to content

Hugging Face MCP Server

Search models, datasets, Spaces and papers on the Hugging Face Hub, and run Gradio apps as tools.

Officialby Hugging FaceHosted or on your computerChecked November 8, 2026

Hugging Face's official MCP server lets Claude search the Hub for models, datasets, Spaces and papers and read their details, so you can find a ready-made AI model or demo without browsing for it. Public search works with no account; signing in lets Claude call the Gradio apps you pick in your settings and adds optional tools for repos, sandboxes and Jobs.

Who is Hugging Face MCP for?

  • Creators looking for a free AI model or demo
  • Developers choosing an open-source model
  • Students and researchers following new papers

What can you ask Hugging Face MCP to do?

Once it is connected, ask in plain words. Your AI tool decides when to use the server and asks before it changes anything important.

Prompt 1
Find the most downloaded open-source speech-to-text models under 1B parameters on Hugging Face. List the top five with their download counts, licence and size.
Prompt 2
Find a Space that removes the background from product photos and tell me which ones I can use for free.
Prompt 3
Show me today's trending papers on Hugging Face and explain, in plain words, the three most useful for a small business that makes its own marketing videos.

How to connect Hugging Face to Claude

MCP is an open standard. The setup steps below cover this server in Claude Code, Claude app, Codex, ChatGPT, Cursor, VS Code, Gemini CLI, Antigravity, OpenCode, Windsurf. Pick your tool:

New to MCP? Read what an MCP server is and how to add one.

Easiest: paste this into Claude Code
Connect the Hugging Face MCP server to Claude Code for me: run this command: claude mcp add hf-mcp-server -t http "https://huggingface.co/mcp?login"
If a value starts with YOUR_, ask me for it first. When it is connected, help me sign in if needed and show me one thing I can ask it to do.

Or do it yourself:

claude mcp add hf-mcp-server -t http "https://huggingface.co/mcp?login"

Type /mcp inside Claude Code, pick the server and choose Authenticate to sign in.

Hosted address: https://huggingface.co/mcp

Unlock the setup steps

Free. Leave your email once to open the setup steps for all 152 servers, and get the best new connectors each month.

No spam. One click to unsubscribe. We use your email to send you this bonus, new guides and news about our courses.

Good to know

The ?login at the end of the address makes Claude Code ask you to sign in; leave it off to use the 4 public tools with no account. If your client shows images badly, turn on Remove Embedded Images in your MCP settings to get text-only answers from Spaces.

How did we check Hugging Face MCP?

Checked on November 8, 2026: Hugging Face's MCP docs, the GitHub repo (MIT, release v0.4.33 on November 4, 2026) and the live endpoint, which listed 4 tools with no sign-in. We connected it anonymously in Claude Code with Claude Opus 5.5 and ran prompt 1: two tool calls, about 33 seconds, and every download count in the answer matched the Hub's own API when we checked. It also pointed out on its own that the top result transcribes only Japanese. On November 22, 2026 the latest GitHub release was v0.4.38 (November 19, 2026).

Source: huggingface.co/docs/hub/agents-mcp

Other official pages we read for this entry:

What do people ask about Hugging Face MCP?

Do I need a Hugging Face account to use the MCP server?

Not for search: the hosted server answers public searches of models, datasets, Spaces and papers without sign-in. You need a free account to call Gradio Spaces as tools and to switch on the extra tools for repos, sandboxes and Jobs.

How do I add a Space as a tool?

Open huggingface.co/settings/mcp while logged in and add an MCP-compatible Space (the Spaces page lists them with the mcp-server filter), or turn on Dynamic Spaces so Claude can find them on its own. Then restart or refresh your client so it loads the new tools.

Can Claude run AI models through it?

Yes, through Spaces: Gradio apps that support MCP expose their functions as tools, so Claude can call, for example, an image or transcription app you added. Searching the Hub on its own does not run any model.

Which apps does the Hugging Face MCP server work with?

Hugging Face names Codex, Cursor, VS Code extensions, Zed, ChatGPT and Claude Desktop, and its MCP settings page generates the exact configuration snippet for each of them.

We wrote these answers from the official pages of each product named, read on November 8, 2026.

Using servers like Hugging Face from Claude Code? Our Claude Code course, in early access, goes from your first command to a landing page, an AI video and a working agent.