Repository avatar
AI Tools
v1.0.1
active

huggingface-models-hub-mcp

io.github.theluckystrike/huggingface-models-hub-mcp

Zero-key Hugging Face Hub search for AI models, datasets, downloads, likes, licenses, and tasks.

Documentation

huggingface-models-hub-mcp

Zero-key Hugging Face Hub AI model and dataset catalog over Model Context Protocol (MCP). ML engineers, AI governance teams, and supply-chain auditors can search public Hugging Face models and datasets, verify open-weight licenses, check downloads and likes, inspect gated flags, and list top models by pipeline task without an API key or sign-up. It connects over Streamable HTTP right away.

Hosted endpoint

Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.

https://huggingface-models-hub-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
search_hf_modelsSearch Hugging Face models by keyword, pipeline task, library, or author, sorted by downloads, likes, or trending score
get_hf_model_detailsRetrieve model metadata including license, downloads, likes, gated status, tags, and sample repository files
search_hf_datasetsSearch Hugging Face datasets by keyword or author with downloads, likes, license tags, and descriptions
get_hf_dataset_detailsRetrieve detailed metadata for a Hugging Face dataset repository
list_trending_models_by_taskList top-downloaded or top-liked models for a specific pipeline task such as text-generation or feature-extraction

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "huggingface-models-hub": {
      "url": "https://huggingface-models-hub-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries https://huggingface.co/api/models or /api/datasets with a clear User-Agent header (mcpstamp-huggingface-hub/1.0) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't stay cached. All five tools declare read-only, non-destructive, idempotent, open-world annotations.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.