# Hugging Face

Search Hugging Face models, datasets, Spaces, papers and documentation from an AI coding client, or generate an image from a prompt.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 2405 installs
- Author: huggingface
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/huggingface
- Updated: 2026-03-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/hugging-face

## What it does

The server lets an agent search model and dataset repositories, discover Spaces and machine learning papers, and retrieve repository details. Separate tools search Hugging Face and Gradio documentation, then fetch pages. Another tool creates an image from a prompt and generation settings.

It connects over HTTP and supports clients including Claude Code, Codex, Cursor and Gemini CLI. The `hf_whoami` tool explains how to authenticate; anonymous requests may be rate limited. Keep that limit in mind if your workflow makes repeated requests.

## Requirements
- Remote server: `https://huggingface.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http huggingface https://huggingface.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add hugging-face --url https://huggingface.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "hugging-face": {
            "url": "https://huggingface.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "hugging-face": {
            "type": "http",
            "url": "https://huggingface.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http hugging-face https://huggingface.run.tools
```

## When to use it
- find models and datasets by query
- retrieve details for a Hugging Face repository
- discover Spaces or machine learning papers
- search Hugging Face documentation
- generate an image from a text prompt

## Example prompts
- Find Hugging Face models for image classification.
- Show details for the dataset `owner/dataset-name`.
- Generate an image from this description.

## Similar
- [hugging-face-model-trainer](https://affpapa.org/en/nevibecode/skills/hugging-face-model-trainer.md) — skill · 1 install
- [hugging-face-jobs](https://affpapa.org/en/nevibecode/skills/hugging-face-jobs.md) — skill · ★ 42059 repo stars
- [hugging-science](https://affpapa.org/en/nevibecode/skills/hugging-science.md) — skill · 2000 installs
- [face-morphing](https://affpapa.org/en/nevibecode/skills/face-morphing.md) — skill · 212 installs
- [hugging-face-cli](https://affpapa.org/en/nevibecode/skills/huytran1120-hugging-face-cli.md) — skill · ★ 85 repo stars
- [hugging-face-ui-skills](https://affpapa.org/en/nevibecode/skills/hugging-face-ui-skills.md) — skill · 266 installs

## Other versions with the same name
- [Hugging Face · ](https://affpapa.org/en/nevibecode/mcp/docker-hugging-face.md)

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
