HF

Hugging Face MCP Server

Hugging Face's official server for searching models, datasets, papers and Spaces on the Hub and calling Gradio apps as tools. Also offered as a hosted connector.

🔬 ResearchGitHub stars308Updated 2026-10-20By Hugging FaceLicense: MITAuth: Not checked yetGitHub ↗

Test results

Last passed 2026-10-22
Claude CodePassed2026-10-22 · install, connect, tools, agent taskTested with Claude Code 2.1.296 · mcp-remote 0.15.2 · connected in 2.4s
CursorPassed2026-10-22 · install, connect, tools, agent taskTested with Cursor CLI 2026.10.22-27dcf5f · mcp-remote 0.15.2 · connected in 1.6s
Claude DesktopNot tested yet—
ChatGPT (Codex)Passed2026-10-22 · install, connect, tools, agent taskTested with Codex CLI 0.162.0-alpha.17.2 · mcp-remote 0.15.2 · connect time not recorded

Server package tested: mcp-remote 0.15.2 (npm, Node v20.19.2; resolved 2026-10-22)

Direct and key dependencies as resolved: express 4.22.3 · open 10.2.0 · strict-url-sanitise 0.0.1 · undici 7.30.1

All 79 resolved dependencies
accepts==1.3.8
array-flatten==1.1.1
body-parser==1.20.9
bundle-name==4.1.1
bytes==3.1.2
call-bind-apply-helpers==1.0.2
call-bound==1.0.4
content-disposition==0.5.4
content-type==1.0.5
cookie==0.7.2
cookie-signature==1.0.7
debug==2.6.9
default-browser==5.5.1
default-browser-id==5.0.1
define-lazy-prop==3.0.0
depd==2.0.0
destroy==1.2.0
dunder-proto==1.0.1
ee-first==1.1.1
encodeurl==2.0.0
es-define-property==1.0.1
es-errors==1.3.0
es-object-atoms==1.1.2
escape-html==1.0.3
etag==1.8.1
express==4.22.3
finalhandler==1.3.2
forwarded==0.2.0
fresh==0.5.2
function-bind==1.1.2
get-intrinsic==1.3.0
get-proto==1.0.1
gopd==1.2.0
has-symbols==1.1.0
hasown==2.0.4
http-errors==2.0.1
iconv-lite==0.4.24
inherits==2.0.4
ipaddr.js==1.9.1
is-docker==3.0.0
is-inside-container==1.0.0
is-wsl==3.1.1
math-intrinsics==1.1.0
media-typer==0.3.0
merge-descriptors==1.0.3
methods==1.1.2
mime==1.6.0
mime-db==1.52.0
mime-types==2.1.35
ms==2.0.0, 2.1.3
negotiator==0.6.3
object-inspect==1.13.4
on-finished==2.4.2
open==10.2.0
parseurl==1.3.3
path-to-regexp==0.1.13
proxy-addr==2.0.8
qs==6.16.1
range-parser==1.2.1
raw-body==2.5.3
run-applescript==7.1.0
safe-buffer==5.2.1
safer-buffer==2.1.2
send==0.19.2
serve-static==1.16.3
setprototypeof==1.2.0
side-channel==1.1.1
side-channel-list==1.0.1
side-channel-map==1.0.1
side-channel-weakmap==1.0.2
statuses==2.0.2
strict-url-sanitise==0.0.1
toidentifier==1.0.1
type-is==1.6.18
undici==7.30.1
unpipe==1.0.0
utils-merge==1.0.1
vary==1.1.2
wsl-utils==0.1.0

Captured with: npm ls --all --json in the npx env.

Full result per app: Does it work with Claude Code? · Does it work with Cursor? · Does it work with ChatGPT (Codex)?

Protocol: starts, 4 tools listed · 2026-10-22 · connected in 1.1s
🧪 Test-box note: Hosted server used anonymously (no Hugging Face token), so only the anonymous tool set was available.

Real test

Passed

One run from our records. When two runs share a date, we show a failure if there is one.

Client
ChatGPT (Codex) · Codex CLI 0.162.0-alpha.17.2
Date
Oct 22, 2026
The task we gave
Using only the huggingface-mcp MCP tools, search for the paper 'Attention Is All You Need' and reply with its arXiv ID.
What it promised
details not recorded for this run
What happened

Tool calls:

huggingface-mcp:hf_fs

Tool result

{"content": [{"type": "text", "text": "## Operation 1\n\n# hf_fs search\n\nURI: `hf://papers`\n\n| Type | Path | URI | Target | Details |\n|---|---|---|---|---|\n| paper | 1706.03762 | hf://papers/1706.03762 |  | title=Attention Is All You Need, summary=The Transformer architecture, based purely on attention mechanisms, achieves superior performance on machine translation and parsing tasks with improved parallelizability and reduced training time., upvotes=147, created=2017-06-12T17:57:34.000Z, published=2017-06-12T17:57:34.000Z, web=https://huggingface.co/papers/1706.03762, arXiv=https://arxiv.org/abs/1706.03762 |\n| paper | 2010.13154 | hf://papers/2010.13154 |  | title=Attention is All You Need in Speech Separation, summary=SepFormer, a Transformer-based model, achieves state-of-the-art speech separation performance on WSJ0-2/3mix datasets with parallelization and efficiency advantages., upvotes=0, created=2020-10-25T16:28:54.000Z, published=2020-10-25T16:28:54.000Z, web=https://huggingface.co/papers/2010.13154, arXiv=https://arxiv.org/abs/2010.13154 |\n| paper | 2110.03183 | hf://papers/2110.03183 |  | title=Attention is All You Need? Good Embeddings with Statistics are   enough:Large Scale Audio Understanding without Transformers/ Convolutions/   BERTs/ Mixers/ Attention/ RNNs or ...., summary=The paper proposes a Bag-of-Words model for audio understanding using feed-forward networks, surpassing traditional convolutions and nearing Transformer architectures in performanc

Agent reply

1706.03762
Verdict
Passed

Install

claude mcp add huggingface-mcp -- npx -y mcp-remote https://huggingface.co/mcp

Run in your terminal. This exact command is what our harness runs in Claude Code; see the results above.

{
  "mcpServers": {
    "huggingface-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://huggingface.co/mcp"
      ]
    }
  }
}

Save as .cursor/mcp.json. This exact config is what our harness runs in Cursor; see the results above.

{
  "mcpServers": {
    "huggingface-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://huggingface.co/mcp"
      ]
    }
  }
}

Add to claude_desktop_config.json and restart Claude Desktop. Tested on the Linux beta; see the results above.

[mcp_servers.huggingface-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://huggingface.co/mcp"]

Add to ~/.codex/config.toml (shared by the ChatGPT (Codex) CLI and the ChatGPT desktop app; Codex runs inside the ChatGPT desktop app). Tested with the ChatGPT (Codex) CLI bundled in the ChatGPT desktop app; see the results above.

Not connecting? Troubleshooting: Claude Code · Cursor · Claude Desktop · ChatGPT (Codex)

Test history

DateCheckResultVersions tested
2026-10-22Protocol (direct stdio)Protocol: starts, 4 tools listedmcp-remote 0.15.2 · server reported v0.4.31
2026-10-22Claude CodePassed
install, connect, tools, agent task
Claude Code 2.1.296 · mcp-remote 0.15.2
2026-10-22CursorPassed
install, connect, tools, agent task
Cursor CLI 2026.10.22-27dcf5f · mcp-remote 0.15.2
2026-10-22ChatGPT (Codex)Passed
install, connect, tools, agent task
Codex CLI 0.162.0-alpha.17.2 · mcp-remote 0.15.2

Tools seen by our harness (4)

hf_whoamihub_repo_searchhub_repo_detailshf_fs
Sponsors