evalstate/mcp-hfspace
Free直接从 Claude 使用 HuggingFace Spaces。使用开源图像生成、聊天、视觉任务等。支持图像、音频和文本上传/下载。
About evalstate/mcp-hfspace
evalstate/mcp-hfspace is an open-source MCP (Model Context Protocol) server that provides a seamless bridge between Claude Desktop and Hugging Face Spaces. It allows users to connect to a wide variety of Hugging Face Spaces with minimal setup—simply add space identifiers as arguments and the server automatically detects the most appropriate endpoints. By default, it connects to black-forest-labs/FLUX.1-schnell for image generation, but supports any Gradio-based space, including vision models like Qwen/QVQ-72B-preview and text-to-speech models like styletts2/styletts2. The server operates in 'Claude Desktop Mode' by default, returning images directly in tool responses and saving other files to a configurable working directory. It also supports URL input, private spaces via a Hugging Face token, and multiple server instances for different configurations. The project is superseded by the official Hugging Face MCP server but remains a straightforward solution for integrating open-source AI models into Claude.
Key Features
Pros & Cons
- Minimal setup: add spaces and go, no complex configuration
- Direct integration with Claude Desktop for seamless user experience
- Supports a wide range of open-source Hugging Face models
- Handles file input/output automatically with configurable storage
- Open source and free to use
- Can run multiple server instances for different configurations
- Requires Node.js and Claude Desktop (not a standalone tool)
- Default file path differs between Windows and Mac (recommends setting working directory)
- May need a Hugging Face token for private spaces
- Documentation is brief; some features rely on reading code
- Superseded by the official Hugging Face MCP server (but still maintained)