🤗 Hugging Face MCP Server 🤗
@shreyaskarnik
🤗 Hugging Face MCP Server 🤗 について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"huggingface-mcp-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@shreyaskarnik/huggingface-mcp-server",
"--client",
"claude"
]
}
}
}ツール
10Search models with filters for query, author, tags, and limit
Get detailed information about a specific model
Search datasets with filters
Get detailed information about a specific dataset
Search Spaces with filters including SDK type
Get detailed information about a specific Space
Get information about a paper and its implementations
Get the list of curated daily papers
Search collections with various filters
Get detailed information about a specific collection
概要
What is Hugging Face MCP Server?
A Model Context Protocol (MCP) server that provides read-only access to the Hugging Face Hub APIs. It allows LLMs like Claude to interact with Hugging Face's models, datasets, spaces, papers, and collections.
How to use Hugging Face MCP Server?
Install via Smithery or configure the server in Claude Desktop’s claude_desktop_config.json using uv run huggingface_mcp_server.py. Set the optional HF_TOKEN environment variable for higher rate limits and private repository access. After installation, use the provided prompts and tools to query the Hub.
Key features of Hugging Face MCP Server
- Custom
hf://URI scheme for models, datasets, and spaces - Prompts: compare models and summarize research papers
- Tools to search and get info on models, datasets, spaces, papers, and collections
- Optional Hugging Face authentication via
HF_TOKEN - No required configuration; works out-of-the-box
Use cases of Hugging Face MCP Server
- Search for models or datasets by query, author, or tags
- Compare multiple Hugging Face models side by side
- Summarize a research paper using its arXiv ID
- Retrieve the list of curated daily papers
- Explore collections and their contents
FAQ from Hugging Face MCP Server
What is the HF_TOKEN environment variable used for?
It is optional. Setting it provides higher API rate limits and access to private repositories (if authorized). It also improves reliability for high-volume requests.
How do I debug the server?
Use the MCP Inspector by running npx @modelcontextprotocol/inspector uv --directory /path/to/huggingface-mcp-server run huggingface_mcp_server.py. Server logs are stored in ~/Library/Logs/Claude/mcp-server-huggingface.log (macOS) or %APPDATA%\Claude\logs\mcp-server-huggingface.log (Windows).
How do I install for Claude Desktop?
You can install automatically via Smithery with npx -y @smithery/cli install @shreyaskarnik/huggingface-mcp-server --client claude, or manually add the configuration to claude_desktop_config.json under mcpServers.
What resources does the server expose?
It exposes models (hf://model/{model_id}), datasets (hf://dataset/{dataset_id}), spaces (hf://space/{space_id}), and daily papers and collections via tools. All resources have descriptive names and JSON content type.
Is the server read-only?
Yes. The server provides read-only access to the Hugging Face Hub APIs. It cannot modify or upload data.
「AI とエージェント」の他のコンテンツ
Perplexity MCP Server
DaInfernalCoderA Model Context Protocol (MCP) server for research and documentation assistance using Perplexity AI. Won 1st @ Cline Hackathon
Web Agent Protocol
OTA-Tech-AI🌐Web Agent Protocol (WAP) - Record and replay user interactions in the browser with MCP support
🛡️ A.I.G(AI-Infra-Guard)
TencentA full-stack AI Red Teaming platform securing AI ecosystems via OpenClaw Security Scan, Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.
MCP Server - Remote MacOs Use
baryhuangThe only general AI agent that does NOT requires extra API key, giving you full control on your local and remote MacOs from Claude Desktop App
Solon Ai
opensolonJava AI application development framework (supports LLM-tool,skill; RAG; MCP; Agent-ReAct,Team-Agent). Compatible with java8 ~ java25. It can also be embedded in SpringBoot, jFinal, Vert.x, Quarkus, and other frameworks.
コメント