---
title: "Hugging Face: setup for Claude, Cursor, Codex · DotsAgent"
description: "Search Hub models, datasets, papers and docs, and call Gradio Spaces as tools, hosted by Hugging Face. Set up Hugging Face in 13 MCP clients."
url: https://dotsagent.io/mcp/servers/hugging-face
---

Models and memory · Hugging Face

# Set up Hugging Face

Search Hub models, datasets, papers and docs, and call Gradio Spaces as tools, hosted by Hugging Face.

- **Publisher**: Hugging Face Official
- **Hosted endpoint**: `https://huggingface.co/mcp`
- **Transports**: streamable-http
- **Authentication**: OAuth, or a Hugging Face token sent as a bearer token.
- **What it can touch**: Mostly reads; Space tools can run jobs.
- **Licence**: MIT
- **Source**: [github.com/huggingface/hf-mcp-server](https://github.com/huggingface/hf-mcp-server)
- **Status**: Active

## Install

The vendor hosts this server, so you only add its URL and nothing runs on your machine. If it needs authentication, the row above says how; OAuth servers prompt you on first connection.

### Claude Code

`shell`

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

### Cursor

`.cursor/mcp.json`

```
{
  "mcpServers": {
    "hugging-face": {
      "url": "https://huggingface.co/mcp"
    }
  }
}
```

### Codex

`~/.codex/config.toml`

```
[mcp_servers.hugging-face]
url = "https://huggingface.co/mcp"
```

[Config for other clients →](https://dotsagent.io/mcp/config#add=hugging-face)

## Other servers in models and memory

- [Memory](https://dotsagent.io/mcp/servers/memory): Keeps a knowledge graph of entities and relations in a local file so the agent can recall facts between sessions.

- [Sequential Thinking](https://dotsagent.io/mcp/servers/sequential-thinking): Gives the model a scratchpad for breaking a problem into numbered thoughts it can revise or branch.

- [Pinecone](https://dotsagent.io/mcp/servers/pinecone): Search Pinecone docs, and create, upsert into and query Pinecone vector indexes from a local server.

## Sources

1. [github.com](https://github.com/huggingface/hf-mcp-server)/huggingface/hf-mcp-server

Independent reference for people who build AI agents. Not affiliated with any vendor named here.

© 2026 DotsAgent · Facts checked October 1, 2026
