Hugging Face MCP Server

Hugging Face MCP Server

huggingface-mcp-server-nikolausm•bynikolausm

An MCP server offering access to Hugging Face AI image generation models, including Stable Diffusion.

License: MIT•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Generates images from prompts using multiple Stable Diffusion models.
  • •Supports negative prompts and adjustable guidance scale.
  • •Saves generated images locally or returns them as base64.
  • •Can check API status and token validity.

BEST FOR

  • •Creating illustrated images such as children's book illustrations.
  • •Producing educational diagrams and posters.

ABOUT HUGGINGFACE-MCP-SERVER-NIKOLAUSM

Hugging Face MCP Server is cataloged as an MCP server attributed to nikolausm. An MCP server offering access to Hugging Face AI image generation models, including Stable Diffusion. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Hugging Face MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Is there a free option?

Yes, a free tier is available with rate limits of about 10-20 requests per minute.

Upstream README

View this exact version on GitHub

README.md · b1e481ebcfd3 · Fetched 2026-11-13 13:18:31 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Hugging Face MCP Server

An MCP (Model Context Protocol) server that provides access to Hugging Face's AI image generation models, including Stable Diffusion.

Features

  • Generate images using multiple Stable Diffusion models
  • Support for negative prompts and guidance scale
  • Save images locally or return as base64
  • Check API status and token validity
  • Free tier available (with rate limits)

Available Models

  • Stable Diffusion 2.1: High-quality general purpose model
  • Stable Diffusion XL: Latest and most advanced model
  • OpenJourney: Midjourney-style artistic images
  • Dreamlike Diffusion: Fantasy and artistic styles
  • Anything v5: Anime/manga style images

Installation

  1. Clone this repository:
git clone https://github.com/nikolausm/huggingface-mcp-server.git
cd huggingface-mcp-server
  1. Install dependencies:
npm install
  1. Get your Hugging Face API token:

  2. Set up environment variable:

export HUGGINGFACE_TOKEN="your_token_here"

Configuration in Claude Desktop

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "huggingface": {
      "command": "node",
      "args": ["/path/to/huggingface-mcp-server/index.js"],
      "env": {
        "HUGGINGFACE_TOKEN": "your_token_here"
      }
    }
  }
}

Usage

Generate an Image

// Basic usage
generate_image({
  prompt: "a cute guinea pig in a garden, children's book illustration style"
})

// Advanced usage
generate_image({
  prompt: "a beautiful landscape with mountains",
  model: "stable-diffusion-xl",
  negative_prompt: "ugly, blurry, low quality",
  guidance_scale: 10,
  save_path: "/tmp/landscape.png"
})

List Available Models

list_models()

Check API Status

check_status()

Free Tier Limitations

  • Rate limited to ~10-20 requests per minute
  • Some models may have queue times
  • For production use, consider upgrading to a paid plan

Tips for Better Results

  1. Be specific: "watercolor painting of a red barn" works better than just "barn"
  2. Add style: Include art styles like "oil painting", "pencil sketch", "digital art"
  3. Use negative prompts: Tell the model what to avoid
  4. Adjust guidance scale: Higher values (10-15) follow prompts more closely

Examples

Children's Book Illustration

prompt: "cute guinea pig eating carrots, children's book illustration, watercolor style, soft colors"
negative_prompt: "realistic, photo, dark, scary"

Educational Diagram

prompt: "simple diagram of guinea pig anatomy, educational poster, labeled parts, clean design"
model: "stable-diffusion-xl"

License

MIT

Author

Michael Nikolaus

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Hugging Face MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/huggingface-mcp-server-nikolausm)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design