Hugging Face Spaces
March 24, 2026 · View on GitHub
Browse and embed Hugging Face Spaces directly in your chat. Search for AI demos, view trending spaces, and interact with them via embedded iframes — all without leaving the conversation.

Try it now
Connect to the hosted instance:
https://gentle-frost-pvxpk.run.mcp-use.com/mcp
Or open the Inspector to test it interactively.
Setup on ChatGPT
- Open Settings > Apps and Connectors > Advanced Settings and enable Developer Mode
- Go to Connectors > Create, name it "HF Spaces", paste the URL above
- In a new chat, click + > More and select the HF Spaces connector
Setup on Claude
- Open Settings > Connectors > Add custom connector
- Paste the URL above and save
- The HF Spaces tools will be available in new conversations
Features
- Search spaces — find Hugging Face Spaces by keyword or topic
- Trending spaces — see what's popular right now
- Embedded iframes — interact with spaces directly in chat
- Metadata — see likes, SDK type, author, and description
Tools
| Tool | Description |
|---|---|
search-spaces | Search Hugging Face Spaces by keyword |
show-space | Embed a specific Space as an interactive iframe |
trending-spaces | Browse trending and popular spaces |
Available Widgets
| Widget | Preview |
|---|---|
spaces-browser | ![]() |
Local development
git clone https://github.com/mcp-use/mcp-huggingface-spaces.git
cd mcp-huggingface-spaces
npm install
npm run dev
Deploy
npx mcp-use deploy
Built with
- mcp-use — MCP server framework
- Hugging Face API — AI model hosting
License
MIT
