Hugging Face

Hugging Face's hosted MCP server explores models, datasets, Spaces, papers, jobs, and community AI tools.

Connection specification

Remote endpoint
https://huggingface.co/mcp?login
Browser access
Not yet measured
Declared MCP transport
Streamable HTTP
Live-validated MCP transport
Not yet verified — Latest validation did not verify a transport
Declared authentication
OAuth 2.1
Detected authentication
OAuth 2.1 detected or retained from publisher evidence
Alternative authentication
Bearer token
Alternative endpoint
https://huggingface.co/mcp — Use when supplying a Hugging Face token directly (Bearer token)
Protocol lifecycle
Not yet negotiated
Required header
Authorization — For the bare /mcp endpoint only: Bearer <HF_TOKEN>
Authorization server
https://huggingface.co
Category
AI Infrastructure

Product documentation · Source repository · Official listing documentation

Provider guidance

  • The ?login endpoint initiates OAuth. Use the bare /mcp endpoint only when supplying a bearer token.

Browse all MCP servers · Test this endpoint in the MCP Playground

Authorization setup

Registration requirements not verified

The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks.

Publisher evidence reviewed .

Publisher documentation

Connect this server to your client

Claude Code setup

Run in a terminal. This user-scoped entry is available across projects.

claude mcp add --transport http --scope user 'hugging-face' 'https://huggingface.co/mcp?login'

Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks.

  • Using live-validated endpoint: https://huggingface.co/mcp?login
  • Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks.
  • Publisher evidence (reviewed 2026-08-24): https://huggingface.co/docs/hub/en/agents-mcp
  • Optional bearer token alternative: Store HF_TOKEN in your operating system keychain, secret manager, or protected environment; never commit the value. The Authorization header syntax is Bearer <HF_TOKEN>.
  • Alternative endpoint: https://huggingface.co/mcp — Use when supplying a Hugging Face token directly.
  • Provider guidance: The ?login endpoint initiates OAuth. Use the bare /mcp endpoint only when supplying a bearer token.
  • After adding the server, open Claude Code, run /mcp, select the server, and follow the browser flow to authenticate.

Claude Code MCP documentation

Codex CLI setup

Run in a terminal; Codex stores the entry in ~/.codex/config.toml.

codex mcp add 'hugging-face' --url 'https://huggingface.co/mcp?login'
codex mcp login 'hugging-face'

Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks.

  • Using live-validated endpoint: https://huggingface.co/mcp?login
  • Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks.
  • Publisher evidence (reviewed 2026-08-24): https://huggingface.co/docs/hub/en/agents-mcp
  • Optional bearer token alternative: Store HF_TOKEN in your operating system keychain, secret manager, or protected environment; never commit the value. The Authorization header syntax is Bearer <HF_TOKEN>.
  • Alternative endpoint: https://huggingface.co/mcp — Use when supplying a Hugging Face token directly.
  • Provider guidance: The ?login endpoint initiates OAuth. Use the bare /mcp endpoint only when supplying a bearer token.

Codex MCP documentation

Cursor setup

Add to .cursor/mcp.json for this project, or ~/.cursor/mcp.json for all projects.

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

Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks.

  • Using live-validated endpoint: https://huggingface.co/mcp?login
  • Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks.
  • Publisher evidence (reviewed 2026-08-24): https://huggingface.co/docs/hub/en/agents-mcp
  • Optional bearer token alternative: Store HF_TOKEN in your operating system keychain, secret manager, or protected environment; never commit the value. The Authorization header syntax is Bearer <HF_TOKEN>.
  • Alternative endpoint: https://huggingface.co/mcp — Use when supplying a Hugging Face token directly.
  • Provider guidance: The ?login endpoint initiates OAuth. Use the bare /mcp endpoint only when supplying a bearer token.

Cursor MCP documentation

VS Code setup

Add to .vscode/mcp.json, or run “MCP: Open User Configuration” for a private user-level entry.

{
  "servers": {
    "hugging-face": {
      "type": "http",
      "url": "https://huggingface.co/mcp?login"
    }
  }
}

Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks.

  • Using live-validated endpoint: https://huggingface.co/mcp?login
  • Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks.
  • Publisher evidence (reviewed 2026-08-24): https://huggingface.co/docs/hub/en/agents-mcp
  • Optional bearer token alternative: Store HF_TOKEN in your operating system keychain, secret manager, or protected environment; never commit the value. The Authorization header syntax is Bearer <HF_TOKEN>.
  • Alternative endpoint: https://huggingface.co/mcp — Use when supplying a Hugging Face token directly.
  • Provider guidance: The ?login endpoint initiates OAuth. Use the bare /mcp endpoint only when supplying a bearer token.

VS Code MCP documentation

Latest validation evidence

Validation status
Online when last tested
Validation checked at
Aug 18, 2026 at 1:35 PM
Validation detail
Authentication challenge at https://huggingface.co/mcp?login returned HTTP 401; endpoint was reachable but did not complete an MCP probe; authentication oauth