# Hugging Face MCP Server

Access Hugging Face's models, datasets, and research papers seamlessly. Interact with a wide range of resources and tools to enhance your LLM's capabilities. Utilize prompt templates for efficient mo…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add shreyaskarnik/huggingface-mcp-server

# Browse available tools
npx -y @smithery/cli@latest tool list shreyaskarnik/huggingface-mcp-server

# Get full schema for a tool
npx -y @smithery/cli@latest tool get shreyaskarnik/huggingface-mcp-server search-models

# Call a tool
npx -y @smithery/cli@latest tool call shreyaskarnik/huggingface-mcp-server search-models '{}'
```

## Direct MCP Connection

Endpoint: `https://huggingface-mcp-server--shreyaskarnik.run.tools`

**Optional config:**
- `hfToken` (query) — Optional Hugging Face API Token. Leave empty if not provided.

## Tools (10)

- `search-models` — Search for models on Hugging Face Hub
- `get-model-info` — Get detailed information about a specific model
- `search-datasets` — Search for datasets on Hugging Face Hub
- `get-dataset-info` — Get detailed information about a specific dataset
- `search-spaces` — Search for Spaces on Hugging Face Hub
- `get-space-info` — Get detailed information about a specific Space
- `get-paper-info` — Get information about a specific paper on Hugging Face
- `get-daily-papers` — Get the list of daily papers curated by Hugging Face
- `search-collections` — Search for collections on Hugging Face Hub
- `get-collection-info` — Get detailed information about a specific collection

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get shreyaskarnik/huggingface-mcp-server <tool-name>
```

---

Source: https://github.com/shreyaskarnik/huggingface-mcp-server
