Hugging Face MCP Server

official

Hugging Face connects assistants to the Hugging Face Hub and thousands of Gradio apps. Its connector brings model, dataset, Space, and app context into AI workflows for discovery, experimentation, and machine-learning research.

What can you do with Hugging Face MCP?

  • Search models and datasets — Ask your assistant to find models or datasets on the Hub via search_models or search_datasets.
  • Get model or dataset details — Request metadata, files, or configuration for a specific model or dataset using get_model_info or get_dataset_info.
  • List and explore Spaces — Have your assistant list Gradio apps or fetch details about a particular Space with list_spaces or get_space_info.
  • Retrieve user or org info — Ask for profile details of a Hub user or organization via get_user_info or get_org_info.

Hosted MCP Server

npx add-mcp 'https://huggingface.co/mcp?login'

Installs into Claude Code, Codex, Cursor, VS Code and more

Documentation

Hugging Face MCP Server

Hugging Face connects assistants to the Hugging Face Hub and thousands of Gradio apps. Its connector brings model, dataset, Space, and app context into AI workflows for discovery, experimentation, and machine-learning research.

Connection

oauth: https://huggingface.co/mcp?login

This is the official Hub service, distinct from the third-party evalstate/mcp-hfspace and Talos wrappers. Old identities are preserved. Import the Registry-advertised OAuth login endpoint; token and anonymous modes are not mislabeled as OAuth.

Official documentation