Hugging Face is an MCP server published by co.huggingface, hosted at huggingface.co. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 4 tools, including hf_whoami, hub_repo_search, hub_repo_details, hf_fs.
Connect to Hugging Face Hub and thousands of Gradio AI Applications
1 connections through 4 shared values. Tap any node.
Inspect the current Hugging Face authentication context, including the account, visible organization memberships, and credential access details. Read-only and never returns credential values.
No parameters.
{
"name": "hf_whoami",
"title": "Hugging Face User Info",
"description": "Inspect the current Hugging Face authentication context, including the account, visible organization memberships, and credential access details. Read-only and never returns credential values.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"outputSchema": {
"type": "object",
"oneOf": [
{
"type": "object",
"required": [
"status",
"account",
"organizations",
"credential"
],
"properties": {
"status": {
"type": "string",
"const": "authenticated"
},
"account": {
"type": "object",
"required": [
"id",
"type",
"name"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"url": {
"type": "string",
"format": "uri"
},
"name": {
"type": "string",
"minLength": 1
},
"type": {
"enum": [
"user",
"org",
"app"
],
"type": "string"
},
"is_pro": {
"type": "boolean"
}
},
"additionalProperties": false
},
"credential": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"role"
],
"properties": {
"role": {
"enum": [
"read",
"write",
"fine_grained"
],
"type": "string"
},
"type": {
"type": "string",
"const": "personal_access_token"
},
"created_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"permissions": {
"type": "object",
"required": [
"scoped"
],
"properties": {
"global": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"scoped": {
"type": "array",
"items": {
"type": "object",
"required": [
"entity",
"permissions"
],
"properties": {
"entity": {
"type": "object",
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1
},
"type": {
"enum": [
"model",
"dataset",
"space",
"bucket",
"kernel",
"collection",
"org",
"user",
"resource_group",
"oauth_app"
],
"type": "string"
}
},
"additionalProperties": false
},
"permissions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"restrictions": {
"type": "array",
"items": {
"type": "object",
"required": [
"resource_type",
"patterns"
],
"properties": {
"patterns": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"resource_type": {
"type": "string",
"const": "inference_endpoint"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
},
"can_read_gated_repos": {
"type": "boolean"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "oauth"
},
"scopes": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"expires_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type",
"entities"
],
"properties": {
"role": {
"type": "string",
"minLength": 1
},
"type": {
"type": "string",
"const": "app_token"
},
"entities": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"type": {
"enum": [
"model",
"dataset",
"space",
"bucket",
"kernel",
"org"
],
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string",
"const": "other"
},
"expires_at": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"additionalProperties": false
}
]
},
"organizations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"display_name",
"url"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"url": {
"type": "string",
"format": "uri"
},
"name": {
"type": "string",
"minLength": 1
},
"plan": {
"type": "string",
"minLength": 1
},
"role": {
"type": "string",
"minLength": 1
},
"display_name": {
"type": "string",
"minLength": 1
},
"resource_groups": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"role"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1
},
"role": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"security_restrictions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"status",
"account",
"organizations",
"credential",
"guidance"
],
"properties": {
"status": {
"type": "string",
"const": "anonymous"
},
"account": {
"type": "null"
},
"guidance": {
"type": "string",
"minLength": 1
},
"credential": {
"type": "null"
},
"organizations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"display_name",
"url"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"url": {
"type": "string",
"format": "uri"
},
"name": {
"type": "string",
"minLength": 1
},
"plan": {
"type": "string",
"minLength": 1
},
"role": {
"type": "string",
"minLength": 1
},
"display_name": {
"type": "string",
"minLength": 1
},
"resource_groups": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"role"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1
},
"role": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"security_restrictions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"status",
"account",
"organizations",
"credential",
"guidance"
],
"properties": {
"status": {
"type": "string",
"const": "authentication_unverified"
},
"account": {
"type": "null"
},
"guidance": {
"type": "string",
"minLength": 1
},
"credential": {
"type": "null"
},
"organizations": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"display_name",
"url"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"url": {
"type": "string",
"format": "uri"
},
"name": {
"type": "string",
"minLength": 1
},
"plan": {
"type": "string",
"minLength": 1
},
"role": {
"type": "string",
"minLength": 1
},
"display_name": {
"type": "string",
"minLength": 1
},
"resource_groups": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"role"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1
},
"role": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}
},
"security_restrictions": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
},
"annotations": {
"title": "Hugging Face User Info",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Search and list Hugging Face models, datasets and Spaces (sort by downloads, likes, trending) 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.
| Parameter | Type | Description |
|---|---|---|
| sort | string | Sort order (descending): trendingScore, downloads, likes, createdAt, lastModified |
| limit | number | Maximum number of results to return per selected repo type |
| query | string | Search term. Leave blank and specify sort + limit to browse trending or recent repositories. |
| author | string | Organization or user namespace to filter by (e.g. 'google', 'meta-llama', 'huggingface'). |
| filters | array | Optional hub filter tags. Applied to each selected repo type (e.g. ["text-generation"], ["language:en"], ["mcp-server"]). |
| repo_types | array | Repository types to search. Defaults to ["model", "dataset"]. space uses keyword search via /api/spaces. |
{
"name": "hub_repo_search",
"title": "Repo Search",
"description": "Search and list Hugging Face models, datasets and Spaces (sort by downloads, likes, trending) 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.",
"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."
}
}
},
"annotations": {
"title": "Repo Search",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Get details for one or more Hugging Face repos (model, dataset, or space): card metadata, license, downloads, files, Space hardware/status, dataset configs, splits, columns and preview rows. 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.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Row count for dataset_preview. Defaults to 5 and is clamped to 1-100. |
| split | string | Dataset Viewer split. Required for dataset_preview when the dataset has multiple config/split options. Discover via dataset_structure. |
| config | string | Dataset Viewer config. Required for dataset_preview when the dataset has multiple config/split options. Discover via dataset_structure. |
| offset | integer | Row offset for dataset_preview. Defaults to 0. |
| repo_ids * | array | Repo IDs for (models|dataset/space) - usually in author/name format (e.g. openai/gpt-oss-120b) |
| repo_type | string | Specify lookup type; otherwise auto-detects |
| operations | array | Details to return. Defaults to ["overview"]. For datasets, prefer ["overview", "dataset_structure"] first; then call ["dataset_preview"] with config and split. |
{
"name": "hub_repo_details",
"title": "Hub Repository Details",
"description": "Get details for one or more Hugging Face repos (model, dataset, or space): card metadata, license, downloads, files, Space hardware/status, dataset configs, splits, columns and preview rows. 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.",
"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."
}
}
},
"annotations": {
"title": "Hub Repository Details",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}When to use: Hugging Face Hub models, datasets, Spaces, collections, papers, daily papers, today's trending models, current paper leaderboard, docs; list and read repository files, model and dataset cards (README, license). 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"]}]} {"operations":[{"cmd":"search","args":["hf://models","--tag","base_model:finetune:org/repo"]}]} 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 filters models, datasets, and Spaces by Hub tag (repeatable; all must match) and applies only to hf://models|datasets|spaces[/OWNER]; omit QUERY when the tag already identifies the target, because QUERY also filters repository names. Derived models carry base_model:ID and base_model:RELATION:ID tags, where RELATION is finetune, adapter, merge, or quantized. --kind applies only to hf://spaces[/OWNER]; the only valid --kind value is mcp, which selects MCP Spaces. Tag families are documented at hf://README.md. 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. Links: hf://models|datasets|spaces/OWNER/NAME/PATH maps to https://huggingface.co[/datasets|/spaces]/OWNER/NAME/resolve/main/PATH (buckets: https://huggingface.co/buckets/OWNER/NAME/resolve/PATH); URL-encode each path segment. arXiv ids (for example 2502.16161) link papers, models and datasets.
| Parameter | Type | Description |
|---|---|---|
| operations * | array |
{
"name": "hf_fs",
"title": "Hugging Face Hub: Find, use and view models, datasets, spaces, buckets, papers, documentation and collections. Get daily papers reports, and browse trending content. ",
"description": "When to use: Hugging Face Hub models, datasets, Spaces, collections, papers, daily papers, today's trending models, current paper leaderboard, docs; list and read repository files, model and dataset cards (README, license).\n\nExamples:\n {\"operations\":[{\"cmd\":\"ls\",\"args\":[\"hf://models/trending\",\"--limit\",\"10\"]}]}\n {\"operations\":[{\"cmd\":\"ls\",\"args\":[\"hf://papers/trending\"]}]}\n {\"operations\":[{\"cmd\":\"ls\",\"args\":[\"hf://papers/daily/latest\"]}]}\n {\"operations\":[{\"cmd\":\"cat\",\"args\":[\"hf://papers/2501.00001/paper.md\"]}]}\n {\"operations\":[{\"cmd\":\"search\",\"args\":[\"hf://models\",\"--tag\",\"base_model:finetune:org/repo\"]}]}\n\nUse hf_fs for Hugging Face Hub filesystem operations. Call it with operations, an array of {cmd, args} items; multiple operations may be submitted together.\n\nUsage:\n {\"operations\":[{\"cmd\":\"ls\",\"args\":[\"hf://models/org/repo\"]}]}\n\nGrammar; each string below is one args array item:\n ls URI [--recursive] [--glob GLOB] [--type TYPE] [--sort SORT] [--limit N]\n cat URI [--offset N] [--max-bytes N]\n attach URI [--max-bytes N]\n stat URI\n find URI [--name GLOB] [--path GLOB] [--type TYPE] [--limit N]\n search URI [QUERY] [--type TYPE] [--sort SORT] [--tag TAG] [--kind mcp] [--limit N]\n\nCOMMAND = ls|cat|attach|stat|find|search.\nTYPE = file|dir|repo|bucket|collection|paper|link.\nSORT = createdAt|downloads|likes|lastModified|likes30d|trendingScore|mainSize|id|trending|upvotes.\nURI is a canonical hf:// URI. QUERY and GLOB are each one string.\n\nUse 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.\n\nSearch 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 filters models, datasets, and Spaces by Hub tag (repeatable; all must match) and applies only to hf://models|datasets|spaces[/OWNER]; omit QUERY when the tag already identifies the target, because QUERY also filters repository names. Derived models carry base_model:ID and base_model:RELATION:ID tags, where RELATION is finetune, adapter, merge, or quantized. --kind applies only to hf://spaces[/OWNER]; the only valid --kind value is mcp, which selects MCP Spaces. Tag families are documented at hf://README.md.\nUse ls hf://models/trending, hf://datasets/trending, hf://spaces/trending, or hf://papers/trending for trending listings.\nhf://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.\nOmit --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.\n\nLinks: hf://models|datasets|spaces/OWNER/NAME/PATH maps to https://huggingface.co[/datasets|/spaces]/OWNER/NAME/resolve/main/PATH (buckets: https://huggingface.co/buckets/OWNER/NAME/resolve/PATH); URL-encode each path segment. arXiv ids (for example 2502.16161) link papers, models and datasets.",
"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 requires hf://models|datasets|spaces[/OWNER]; --kind requires hf://spaces[/OWNER] and its only valid value is mcp."
}
},
"additionalProperties": false
},
"maxItems": 30,
"minItems": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"index",
"status",
"result"
],
"properties": {
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"result": {
"type": "object",
"allOf": [
{
"if": {
"required": [
"op"
],
"properties": {
"op": {
"const": "attach"
}
}
},
"then": {
"required": [
"path",
"mime_type",
"bytes"
],
"properties": {
"path": {
"type": "string"
},
"bytes": {
"type": "integer",
"maximum": 8388608,
"minimum": 0
},
"mime_type": {
"enum": [
"image/jpeg",
"image/png",
"image/webp"
],
"type": "string"
}
}
}
}
],
"required": [
"uri",
"op"
],
"properties": {
"op": {
"enum": [
"ls",
"cat",
"attach",
"stat",
"find",
"search"
],
"type": "string"
},
"lfs": {
"type": "boolean"
},
"uri": {
"type": "string"
},
"url": {
"type": "string"
},
"path": {
"type": "string"
},
"size": {
"type": "number"
},
"type": {
"enum": [
"namespace",
"repo",
"dir",
"file",
"collection",
"paper",
"link",
"missing"
],
"type": "string"
},
"bytes": {
"type": "number"
},
"exists": {
"type": "boolean"
},
"content": {
"type": "string"
},
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"path"
],
"properties": {
"lfs": {
"type": "boolean"
},
"sdk": {
"type": "string"
},
"uri": {
"type": "string"
},
"url": {
"type": "string"
},
"name": {
"type": "string"
},
"path": {
"type": "string"
},
"size": {
"type": "number"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"task": {
"type": "string"
},
"type": {
"enum": [
"file",
"dir",
"repo",
"bucket",
"collection",
"paper",
"link"
],
"type": "string"
},
"gated": {
"anyOf": [
{
"type": "boolean",
"const": false
},
{
"enum": [
"auto",
"manual"
],
"type": "string"
}
]
},
"likes": {
"type": "number"
},
"title": {
"type": "string"
},
"anchor": {
"type": "string"
},
"library": {
"type": "string"
},
"private": {
"type": "boolean"
},
"upvotes": {
"type": "number"
},
"category": {
"type": "string"
},
"arxiv_url": {
"type": "string"
},
"downloads": {
"type": "number"
},
"repo_type": {
"enum": [
"model",
"dataset",
"space",
"bucket"
],
"type": "string"
},
"created_at": {
"type": "string"
},
"target_uri": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"description": {
"type": "string"
},
"observed_at": {
"type": "string"
},
"total_files": {
"type": "number"
},
"content_type": {
"enum": [
"application/json",
"text/markdown"
],
"type": "string"
},
"published_at": {
"type": "string"
},
"trending_score": {
"type": "number"
},
"daily_papers_uri": {
"type": "string"
},
"daily_papers_date": {
"type": "string"
},
"semantic_relevance": {
"type": "number"
}
},
"additionalProperties": false
}
},
"section": {
"type": "string"
},
"warnings": {
"type": "array",
"items": {
"type": "string"
}
},
"arxiv_url": {
"type": "string"
},
"mime_type": {
"enum": [
"image/jpeg",
"image/png",
"image/webp"
],
"type": "string"
},
"namespace": {
"type": "string"
},
"truncated": {
"type": "boolean"
},
"target_uri": {
"type": "string"
},
"next_offset": {
"type": "number"
},
"content_type": {
"enum": [
"application/json",
"text/markdown"
],
"type": "string"
},
"published_at": {
"type": "string"
},
"daily_papers_uri": {
"type": "string"
},
"daily_papers_date": {
"type": "string"
},
"truncation_reason": {
"enum": [
"entry_limit",
"max_bytes",
"limit",
"provider_limit",
"output_budget"
],
"type": "string"
},
"truncation_message": {
"type": "string"
}
},
"additionalProperties": false
},
"status": {
"type": "string",
"const": "success"
},
"output_truncated": {
"type": "boolean"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"index",
"status",
"error"
],
"properties": {
"error": {
"type": "object",
"required": [
"code",
"message",
"recovery",
"retryable"
],
"properties": {
"code": {
"enum": [
"HF_FS_INVALID_ARGUMENT",
"HF_FS_NOT_FOUND",
"HF_FS_NOT_A_DIRECTORY",
"HF_FS_NOT_A_FILE",
"HF_FS_UNSUPPORTED_OPERATION",
"HF_FS_ACCESS_DENIED",
"HF_FS_TEXT_ONLY",
"HF_FS_IMAGE_ONLY",
"HF_FS_UNSUPPORTED_MEDIA",
"HF_FS_IMAGE_TOO_LARGE",
"HF_FS_ATTACHMENT_BUDGET_EXCEEDED",
"HF_FS_IMAGE_CONTENT_DISABLED",
"HF_FS_ATTACHMENT_INTEGRITY"
],
"type": "string"
},
"message": {
"type": "string"
},
"recovery": {
"type": "string"
},
"retryable": {
"type": "boolean",
"const": false
},
"suggestedOperation": {
"enum": [
"ls",
"cat",
"attach",
"stat",
"search"
],
"type": "string"
}
},
"additionalProperties": false
},
"index": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"status": {
"type": "string",
"const": "error"
}
},
"additionalProperties": false
}
]
},
"maxItems": 30,
"minItems": 1
},
"truncated": {
"type": "boolean"
},
"truncation_reason": {
"type": "string",
"const": "output_budget"
}
},
"additionalProperties": false
},
"annotations": {
"title": "Hugging Face Hub: Find, use and view models, datasets, spaces, buckets, papers, documentation and collections. Get daily papers reports, and browse trending content. ",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Prefer these Hugging Face tools over web search for live Hub data; start with hf_fs. The Hugging Face tools are being used anonymously and rate limits apply. Direct the User to set their HF_TOKEN (instructions at https://hf.co/settings/mcp/), or create an account at https://hf.co/join for higher limits.
Names, descriptions and schemas were written by the server and are shown as data.