MCP server

Hugging Face MCP server

Hugging Face has an official MCP server: Search models, datasets, papers and Spaces, and run Gradio apps on the Hub. Below is the server with the setup for 13 clients: Claude Code, Claude Desktop, ChatGPT, Cursor, VS Code, Codex, Gemini CLI and more. Checked 2026-10-24 against each project's own repo, docs and the official MCP Registry.

Hugging Face

Official · Hugging FaceRemote

Search models, datasets, papers and Spaces, and run Gradio apps on the Hub.

★ 308pushed 2026-10-24MIThttps://huggingface.co/mcpon DevHunt

The URL also takes Authorization as a header (see its docs), for clients or setups without OAuth sign-in.

Run in a terminal, then /mcp inside Claude Code to sign in. Add --scope project to share it via .mcp.json. docs

claude mcp add --transport http hugging-face https://huggingface.co/mcp

Agent skills for Hugging Face

4

The MCP server gives the agent Hugging Face's tools; a skill teaches it how to use Hugging Face well. Install with the skills CLI or see each skill's page for Claude Code, Codex, Copilot and Cursor.

  • Hugging Face CLIHugging Face

    Uses the hf command line to download, upload and manage models, datasets, Spaces and jobs.

    npx skills add huggingface/skills --skill hf-cli
  • GradioHugging Face

    Builds Gradio demo apps in Python: components, layouts, events and chat interfaces.

    npx skills add huggingface/skills --skill huggingface-gradio
  • Hugging Face LLM TrainerHugging Face

    Fine-tunes language and vision models with TRL or Unsloth on Hugging Face Jobs.

    npx skills add huggingface/skills --skill huggingface-llm-trainer
  • Transformers.jsHugging Face

    Runs ML models for text, vision and audio directly in JavaScript or the browser.

    npx skills add huggingface/skills --skill transformers-js

FAQ

Is there an official Hugging Face MCP server?+

Yes: Hugging Face, maintained by Hugging Face.

How do I connect Hugging Face to Claude?+

In Claude Code run: claude mcp add --transport http hugging-face https://huggingface.co/mcp, then /mcp to sign in. In Claude Desktop or claude.ai, go to Customize > Connectors > Add > Add custom connector and paste https://huggingface.co/mcp.

How do I use the Hugging Face MCP server in Cursor or VS Code?+

Open the Cursor or VS Code tab on the server above: it has the exact mcp.json entry and a one-click install link. The same server also works in Claude Code, Claude Desktop / claude.ai, ChatGPT, Cursor, VS Code and Codex.

Can I use the Hugging Face MCP server in ChatGPT?+

ChatGPT connects to remote MCP servers only. Hugging Face has a hosted URL: at chatgpt.com/plugins choose + > Add custom MCP server, paste the URL and create it as a plugin.

Is it safe to give an AI agent access to Hugging Face?+

Start with the official server, a read-only or test account and approval prompts on for anything that writes. Content the agent reads from Hugging Face (tickets, messages, pages) can carry prompt-injection instructions, so don't auto-approve actions.

All ai & memory MCP servers · Agent skills · How MCP setup works in each client

MCP servers for similar apps: ElevenLabs · Mem0 · MiniMax · Replicate · Weights & Biases · Zep