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.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

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.

上游原版 README

在 GitHub 查看同一版本原文

README.md · b1e481ebcfd3 · 采集于 2026-11-13 13:18:31 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

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.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

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