Hugging Face
Connect to Hugging Face Hub and thousands of Gradio AI Applications
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
claude mcp add --transport http hugging-face 'https://huggingface.co/mcp?login'
{
"mcpServers": {
"hugging-face": {
"type": "http",
"url": "https://huggingface.co/mcp?login"
}
}
}
claude mcp add --transport http hugging-face 'https://huggingface.co/mcp' --header 'Authorization: <Hugging Face API token for authentication>'
{
"mcpServers": {
"hugging-face": {
"type": "http",
"url": "https://huggingface.co/mcp",
"headers": {
"Authorization": "<Hugging Face API token for authentication>"
}
}
}
}
claude mcp add --transport http hugging-face 'https://huggingface.co/mcp'
{
"mcpServers": {
"hugging-face": {
"type": "http",
"url": "https://huggingface.co/mcp"
}
}
}
Frequently asked questions
What is Hugging Face?
Connect to Hugging Face Hub and thousands of Gradio AI Applications
How do I install Hugging Face?
It runs as a remote server. In Claude Code: claude mcp add --transport http hugging-face 'https://huggingface.co/mcp?login'. For other clients, paste the JSON configuration from this page into their MCP settings.
Does Hugging Face need an API key?
Yes. It expects Authorization, which you set in its configuration.
Who maintains Hugging Face?
It is published by co.huggingface. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.