The Hugging Face MCP Server is designed to provide read-only access to the Hugging Face Hub APIs, enabling seamless interaction with a variety of resources such as models, datasets, spaces, papers, and collections.
The Hugging Face MCP Server is designed to provide read-only access to the Hugging Face Hub APIs, enabling seamless interaction with a variety of resources such as models, datasets, spaces, papers, and collections.
pip install huggingface-mcp-serverAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"shreyaskarnik-huggingface-mcp-server-github": {
"command": "uvx",
"args": [
"pip install huggingface-mcp-server"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from huggingface?"
API Key Required
This server requires an API key from huggingface. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| HUGGINGFACE_API_KEY | Yes | Your huggingface API key |
"What resources are available in huggingface?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in huggingface"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in huggingface with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.