Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

MCP Hfspace

MCP server by evalstate Verified · npm:@llmindset

Connects Claude Desktop to Hugging Face Spaces so it can use Space models for image generation, vision, audio and chat. Aimed at Claude Desktop users who want simple setup. The source says this project has been superseded by the official Hugging Face MCP Server.

  • Score 60
  • 386 stars
  • 308 a week
  • MIT
  • Updated

Install MCP Hfspace

Built from the published package, never by AI.

claude mcp add mcp-hfspace -- npx -y @llmindset/mcp-hfspace

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install MCP Hfspace in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-hfspace block.

About

mcp-hfspace is an MCP server that connects an AI assistant to Hugging Face Spaces. You list the Spaces you want in the server arguments, and it finds a suitable endpoint and configures it for use. By default it connects to black-forest-labs/FLUX.1-schnell, which provides image generation in Claude Desktop.

In Claude Desktop Mode, images are returned in tool responses, while other files are saved to a working directory and their paths are returned. Private Spaces are supported with a Hugging Face token. The source notes that the project has been superseded by the official Hugging Face MCP Server and Gradio MCP Endpoints. It suits Claude Desktop users who want to try Space models for image, vision, audio and chat tasks.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Space connectionConnects to the Hugging Face Spaces listed in the arguments and configures each endpoint automatically.
  • Image generationReturns generated images in tool responses in Claude Desktop Mode.
  • File handlingSaves non-image output to the working folder and returns the file path.
  • Text-to-speech outputSaves generated audio to the working directory in Claude Desktop Mode.
  • ResourcesLists files in the working directory with their mime types so Claude can use them.
  • PromptsGenerates an input prompt for each connected Space.
  • Private SpacesUses a Hugging Face token to access private Spaces.
  • URL inputsAccepts URLs as inputs, which are passed to the Space.

What you need

  • Node.js with npx
  • Claude Desktop 0.78 or greater
  • Hugging Face token for private Spaces (optional)

Try asking

  • use paligemma to find out who is in "test_gemma.jpg"
  • use omniparser to analyse ./screenshot.png
  • Generate an image of a lighthouse at dusk with FLUX.1-schnell

Good to know

  • The source says this project has been superseded by the official Hugging Face MCP Server.
  • Endpoints with unnamed parameters are unsupported.
  • Claude Desktop appears to use a hard timeout of about 60 seconds, so large jobs may time out.
  • ZeroGPU quota limits can cause requests to fail.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to MCP Hfspace

All alternatives →
Oh My Posh Validator JanDeDobbeleer
100

Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.

AAA Remote 24k
Sim simstudioai
100

Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.

AAA Remote 30k
Omnara omnara-ai
98

Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.

AAA Remote 3.5k
strata Klavis-AI
95

Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.

AAA Remote 5.8k
voicemode mbailey
95

VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.

AAA Local 1.5k
OpenWork MCP Gateway different-ai
94

Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.

AFA Remote 25k

Compare with Oh My Posh Validator, Sim or Omnara

MCP Hfspace: common questions

Is mcp-hfspace still maintained?

The source says it has been superseded by the official Hugging Face MCP Server and Gradio MCP Endpoints. It also mentions running hf-mcp-server locally as an alternative.

Can mcp-hfspace use private Hugging Face Spaces?

Yes. Supply a Hugging Face token with the --hf-token argument or the HF_TOKEN environment variable.

Where are generated files saved?

Files are saved to the working directory set with --work-dir or MCP_HF_WORK_DIR. The source says the current working directory is used by default.

How do I install MCP Hfspace?

In Claude Code run claude mcp add mcp-hfspace -- npx -y @llmindset/mcp-hfspace. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is MCP Hfspace the official server?

MCP Hfspace is published by npm:@llmindset from its verified domain in the official MCP Registry.

Is MCP Hfspace free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is MCP Hfspace safe to use?

It scores 60 of 100. Grades: maintenance F, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to MCP Hfspace?

Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.

Does MCP Hfspace work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

MCP Hfspace Install

Add to stack

Loading.