Hugging Face
Поиск моделей, датасетов, Spaces и научных статей на Hugging Face Hub
Добавьте сервер в «Мои MCP» — получите адрес подключения для Claude и ChatGPT.
Добавить в «Мои MCP»Нужно войти или зарегистрироваться — вернём на эту страницу.
Описание
Официальный сервер Hugging Face: ассистент ищет открытые модели, датасеты и демо-приложения (Spaces), смотрит их описания и файлы, находит научные статьи и то, что сейчас в тренде. Инструменты: - hub_repo_search — поиск по моделям, датасетам и Spaces; - hub_repo_details — подробности о репозитории: описание, структура датасета, файлы; - hf_fs — файлы репозиториев, статьи, трендовые модели, документация Hub; - hf_whoami — показывает, под каким аккаунтом идёт работа. Кому полезен: ML-инженерам, исследователям и разработчикам, которые подбирают модель или датасет под задачу. Примеры вопросов: — «Найди открытые модели для распознавания русской речи и сравни их по размеру» — «Какие датасеты есть для классификации отзывов на русском языке?» Публичные данные доступны без входа; с аккаунтом Hugging Face доступно больше.
Инструменты · 4
из ответа tools/list
Hugging Face Hub: Find, use and view models, datasets, spaces, buckets, papers, documentation and collections. Get daily papers reports, and browse trending content.
hf_fs
Hugging Face Hub: Find, use and view models, datasets, spaces, buckets, papers, documentation and collections. Get daily papers reports, and browse trending content.
hf_fs When to use: Hugging Face Hub models, datasets, Spaces, collections, papers, daily papers, today's trending models, current paper leaderboard, docs, and repository files. Examples: {"operations":[{"cmd":"ls","args":["hf://models/trending","--limit","10"]}]} {"operations":[{"cmd":"ls","args":["hf://papers/trending"]}]} {"operations":[{"cmd":"ls","args":["hf://papers/daily/latest"]}]} {"operations":[{"cmd":"cat","args":["hf://papers/2501.00001/paper.md"]}]} Use hf_fs for Hugging Face Hub filesystem operations. Call it with operations, an array of {cmd, args} items; multiple operations may be submitted together. Usage: {"operations":[{"cmd":"ls","args":["hf://models/org/repo"]}]} Grammar; each string below is one args array item: ls URI [--recursive] [--glob GLOB] [--type TYPE] [--sort SORT] [--limit N] cat URI [--offset N] [--max-bytes N] attach URI [--max-bytes N] stat URI find URI [--name GLOB] [--path GLOB] [--type TYPE] [--limit N] search URI [QUERY] [--type TYPE] [--sort SORT] [--tag TAG] [--kind mcp] [--limit N] COMMAND = ls|cat|attach|stat|find|search. TYPE = file|dir|repo|bucket|collection|paper|link. SORT = createdAt|downloads|likes|lastModified|likes30d|trendingScore|mainSize|id|trending|upvotes. URI is a canonical hf:// URI. QUERY and GLOB are each one string. Use search for resource discovery, not repository-content search; ls for a known directory, find for recursive file discovery by name/path (not file contents), stat for filesystem metadata or an uncertain target type, cat for text contents, and attach for a complete JPEG, PNG, or WebP image. When the request gives an exact text-file URI, use cat directly; do not add ls or stat first. stat does not read the contents of JSON, Markdown, or other text files. Search scopes: hf://models[/OWNER], hf://datasets[/OWNER], hf://spaces[/OWNER], hf://collections[/OWNER], hf://papers, and hf://docs[/...]. Repository and repository-file scopes are not supported: search a resource root or owner scope to discover resources; use find for file discovery within a repository or cat for a known text file. Paper and documentation search require QUERY. --tag (repeatable) and --kind are supported only on exactly hf://spaces, not owner scopes or other roots. The only valid --kind value is mcp, which selects MCP Spaces. Use ls hf://models/trending, hf://datasets/trending, hf://spaces/trending, or hf://papers/trending for trending listings. hf://papers/ID is a paper directory, not paper text. Use cat hf://papers/ID/paper.md for paper text and cat hf://papers/ID/metadata.json for metadata. No preliminary listing is needed for these known paths. Use ls hf://papers/ID to discover other resources. Omit --limit, --sort, and --type unless the request requires them. Limits and path-specific behavior are documented at hf://README.md. Issue one hf_fs call.
hf_fs(operations: array)
// inputSchema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"operations"
],
"properties": {
"operations": {
"type": "array",
"items": {
"type": "object",
"required": [
"cmd",
"args"
],
"properties": {
"cmd": {
"enum": [
"ls",
"cat",
"attach",
"stat",
"find",
"search"
],
"type": "string",
"description": "Command to execute."
},
"args": {
"type": "array",
"items": {
"type": "string"
},
"description": "Command arguments. First item must be an hf:// URI, not a local path or bare filename. One argument per array item. search discovers resources, not repository contents; use root/owner discovery scopes, find for file discovery, or cat for a known text file. --tag and --kind require exactly hf://spaces; the only valid --kind value is mcp."
}
},
"additionalProperties": false
},
"maxItems": 30,
"minItems": 1
}
},
"additionalProperties": false
}
Hugging Face User Info
hf_whoami
Hugging Face User Info
hf_whoami Inspect the current Hugging Face authentication context, including the account, visible organization memberships, and credential access details. Read-only and never returns credential values.
hf_whoami()
// inputSchema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}
Hub Repository Details
hub_repo_details
Hub Repository Details
hub_repo_details Get details for one or more Hugging Face repos (model, dataset, or space). Auto-detects type unless specified. For datasets, use operations: overview, dataset_structure, dataset_preview. Use dataset_structure first to discover configs, splits, sizes, and schema. Use dataset_preview only when config and split are known, unless the dataset has a single config/split.
hub_repo_details(limit?: integer, split?: string, config?: string, offset?: integer, repo_ids: array, repo_type?: string, operations?: array)
// inputSchema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"repo_ids"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Row count for dataset_preview. Defaults to 5 and is clamped to 1-100."
},
"split": {
"type": "string",
"description": "Dataset Viewer split. Required for dataset_preview when the dataset has multiple config/split options. Discover via dataset_structure."
},
"config": {
"type": "string",
"description": "Dataset Viewer config. Required for dataset_preview when the dataset has multiple config/split options. Discover via dataset_structure."
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Row offset for dataset_preview. Defaults to 0."
},
"repo_ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"maxItems": 10,
"minItems": 1,
"description": "Repo IDs for (models|dataset/space) - usually in author/name format (e.g. openai/gpt-oss-120b)"
},
"repo_type": {
"enum": [
"model",
"dataset",
"space"
],
"type": "string",
"description": "Specify lookup type; otherwise auto-detects"
},
"operations": {
"type": "array",
"items": {
"enum": [
"overview",
"dataset_structure",
"dataset_preview"
],
"type": "string"
},
"description": "Details to return. Defaults to [\"overview\"]. For datasets, prefer [\"overview\", \"dataset_structure\"] first; then call [\"dataset_preview\"] with config and split."
}
}
}
Repo Search
hub_repo_search
Repo Search
hub_repo_search Search Hugging Face repositories with a shared query interface. You can target models, datasets, spaces, or aggregate across multiple repo types in one call. Include links to repositories in your response.
hub_repo_search(sort?: string, limit?: number, query?: string, author?: string, filters?: array, repo_types?: array)
// inputSchema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"sort": {
"enum": [
"trendingScore",
"downloads",
"likes",
"createdAt",
"lastModified"
],
"type": "string",
"description": "Sort order (descending): trendingScore, downloads, likes, createdAt, lastModified"
},
"limit": {
"type": "number",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Maximum number of results to return per selected repo type"
},
"query": {
"type": "string",
"description": "Search term. Leave blank and specify sort + limit to browse trending or recent repositories."
},
"author": {
"type": "string",
"description": "Organization or user namespace to filter by (e.g. 'google', 'meta-llama', 'huggingface')."
},
"filters": {
"type": "array",
"items": {
"type": "string"
},
"description": "Optional hub filter tags. Applied to each selected repo type (e.g. [\"text-generation\"], [\"language:en\"], [\"mcp-server\"])."
},
"repo_types": {
"type": "array",
"items": {
"enum": [
"model",
"dataset",
"space"
],
"type": "string"
},
"default": [
"model",
"dataset"
],
"maxItems": 3,
"minItems": 1,
"description": "Repository types to search. Defaults to [\"model\", \"dataset\"]. space uses keyword search via /api/spaces."
}
}
}
Вопросы, новые серверы, обсуждение MCP
t.me/rusmcp · t.me/RusMcp_bot