Hugging Face MCP server
Hugging Face's official MCP server connects AI assistants to the Hugging Face Hub to search and explore models, datasets, Spaces, and papers. Anonymous users get a standard tool set; signing in with OAuth or an HF token unlocks account tools and community tools hosted on Spaces.
Endpoint and access
No sign-in: your client connects and lists tools immediately, with no account or key.
No sign-inEndpoint checked 2026-10-05
Hugging Face account (unlocks account and community tools)
MCP endpoint (Streamable HTTP)
https://huggingface.co/mcpWhat you can do with it
- Search and explore Hub models, datasets, Spaces, and papers.
- Search Hugging Face documentation with natural-language queries.
- Run community tools via MCP-compatible Gradio apps hosted on Spaces.
hf_whoamihub_repo_searchhub_repo_detailshf_fs
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
Claude Code configuration
claude mcp add --transport http hugging-face https://huggingface.co/mcpCodex
Codex configuration
codex mcp add hugging-face --url https://huggingface.co/mcpCursor
Cursor configuration
{
"mcpServers": {
"hugging-face": {
"url": "https://huggingface.co/mcp"
}
}
}Cline
Cline configuration
{
"mcpServers": {
"hugging-face": {
"type": "streamableHttp",
"url": "https://huggingface.co/mcp",
"disabled": false
}
}
}VS Code
VS Code configuration
{
"servers": {
"hugging-face": {
"type": "http",
"url": "https://huggingface.co/mcp"
}
}
}Gemini CLI
Gemini CLI configuration
gemini mcp add --transport http hugging-face https://huggingface.co/mcpClaude Desktop
Claude Desktop configuration
{
"mcpServers": {
"hugging-face": {
"url": "https://huggingface.co/mcp"
}
}
}Windsurf
Windsurf configuration
{
"mcpServers": {
"hugging-face": {
"serverUrl": "https://huggingface.co/mcp"
}
}
}Other ai and machine learning servers
Do you run Hugging Face?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.