Hugging Face MCP by usefulapi

Search the Hub, papers and Spaces; list repo files, credits and notifications in Hugging Face.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
100%
Integridad del esquema
88%
Calidad de los nombres
77%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Hallazgos (2)

  • LOWTool 'huggingface_get_organization_credits' name length outside 3-30 rangeen huggingface_get_organization_credits
  • LOWTool 'huggingface_list_organization_members' name length outside 3-30 rangeen huggingface_list_organization_members

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~2,282Tokens (definiciones de herramientas)
~1.2 KBTamaño de respuesta típico
Impacto moderado en la atención (1.78% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "huggingface": {
      "url": "https://huggingface.usefulapi.io/mcp"
    }
  }
}

Puntos de conexión remotos

https://huggingface.usefulapi.io/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (14)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢huggingface_whoami

Show the Hugging Face account this token belongs to and the token's role. Good first call to confirm the connection. Hub API: GET /api/whoami-v2.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢huggingface_get_credits

Show the account's credits balance (USD), billing mode and the purchased, granted and monthly included balances with expiry dates. Hub API: GET /api/settings/billing/credits.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢huggingface_get_organization_credits(organization)

Show an organization's credits balance and billing mode. Needs a token with access to billing for that organization. Hub API: GET /api/organizations/{name}/billing/credits.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "organization": {
      "type": "string",
      "minLength": 1,
      "description": "Hugging Face user or organization name, as shown in its URL."
    }
  },
  "required": [
    "organization"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢huggingface_list_organization_members(organization, search, limit, cursor)

List the members of an organization, with optional search by name. Needs an organization admin token. Hub API: GET /api/organizations/{name}/members.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "organization": {
      "type": "string",
      "minLength": 1,
      "description": "Hugging Face user or organization name, as shown in its URL."
    },
    "search": {
      "description": "Filter members by username or name.",
      "type": "string"
    },
    "limit": {
      "description": "Maximum number of results to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 100
    },
    "cursor": {
      "description": "nextCursor from the previous page's response, to fetch the next page.",
      "type": "string"
    }
  },
  "required": [
    "organization"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢huggingface_list_notifications(page, readStatus, repoType, mention)

List the account's notifications (discussions, pull requests, papers, mentions), newest first. Hub API: GET /api/notifications.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "page": {
      "description": "Page number, starting at 0.",
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "readStatus": {
      "description": "Show all notifications or only unread ones.",
      "type": "string",
      "enum": [
        "all",
        "unread"
      ]
    },
    "repoType": {
      "description": "Only notifications for this repository kind.",
      "type": "string",
      "enum": [
        "model",
        "dataset",
        "space",
        "bucket",
        "kernel",
        "container"
      ]
    },
    "mention": {
      "description": "Filter by how the account is involved.",
      "type": "string",
      "enum": [
        "all",
        "participating",
        "mentions"
      ]
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢huggingface_quicksearch(query, type, limit)

Search the Hub for models, datasets, Spaces, users, papers and collections with one query. Pass type to narrow the kinds, for example model or dataset. Hub API: GET /api/quicksearch.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "description": "Search text, for example a model name or topic.",
      "type": "string"
    },
    "type": {
      "description": "Result kinds to include, for example [\"model\"] or [\"dataset\"].",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "limit": {
      "description": "Maximum number of results to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 100
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢huggingface_search_spaces(query, category, includeNonRunning)

Semantic search over Hugging Face Spaces (demo apps), by what they do. Optionally filter by category and include Spaces that are not running. Hub API: GET /api/spaces/semantic-search.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "What the Space should do, in plain words."
    },
    "category": {
      "description": "Category filter, for example text-generation or image-generation.",
      "type": "string"
    },
    "includeNonRunning": {
      "description": "Also return Spaces that are not running now.",
      "type": "boolean"
    }
  },
  "required": [
    "query"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢huggingface_search_papers(query, limit)

Search research papers indexed on Hugging Face (hybrid semantic and full-text search). Hub API: GET /api/papers/search.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "description": "Search text, for example a method or a task."
    },
    "limit": {
      "description": "Maximum number of results to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 100
    }
  },
  "required": [
    "query"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢huggingface_get_paper(paperId, field)

Get one paper by its arXiv-style id (for example 2310.06825). Optionally add comments or the submission deadline. Hub API: GET /api/papers/{paperId}.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "paperId": {
      "type": "string",
      "minLength": 1,
      "description": "Paper id, for example 2310.06825."
    },
    "field": {
      "description": "Extra field to include.",
      "type": "string",
      "enum": [
        "submissionDeadline",
        "comments"
      ]
    }
  },
  "required": [
    "paperId"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢huggingface_list_collections(query, owner, sort, limit, cursor)

List or search Hub collections (curated lists of models, datasets, Spaces and papers), by text, owner or sort order. Hub API: GET /api/collections.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "query": {
      "description": "Search text for the collection title or description.",
      "type": "string"
    },
    "owner": {
      "description": "Only collections owned by these users or organizations.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sort": {
      "description": "Sort order.",
      "type": "string",
      "enum": [
        "upvotes",
        "lastModified",
        "trending"
      ]
    },
    "limit": {
      "description": "Maximum number of results to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 100
    },
    "cursor": {
      "description": "nextCursor from the previous page's response, to fetch the next page.",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢huggingface_get_collection(namespace, slug, id)

Get one collection with its items. The URL slug is the collection's name part plus its id (for example slug 'semantic-search', id 'abc123'). Hub API: GET /api/collections/{namespace}/{slug}-{id}.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "namespace": {
      "type": "string",
      "minLength": 1,
      "description": "Hugging Face user or organization name, as shown in its URL."
    },
    "slug": {
      "type": "string",
      "minLength": 1,
      "description": "Collection name part of the URL slug, without the id."
    },
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "Collection id, the last part of the URL slug."
    }
  },
  "required": [
    "namespace",
    "slug",
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢huggingface_get_user_overview(username)

Show a public user's profile overview: name, Pro status and counts of their models, datasets, Spaces and discussions. Hub API: GET /api/users/{username}/overview.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "minLength": 1,
      "description": "Hugging Face user or organization name, as shown in its URL."
    }
  },
  "required": [
    "username"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢huggingface_list_user_likes(username, limit, cursor)

List the public repositories (models, datasets, Spaces and others) a user has liked, with pagination. Hub API: GET /api/users/{username}/likes.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "minLength": 1,
      "description": "Hugging Face user or organization name, as shown in its URL."
    },
    "limit": {
      "description": "Maximum number of results to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 100
    },
    "cursor": {
      "description": "nextCursor from the previous page's response, to fetch the next page.",
      "type": "string"
    }
  },
  "required": [
    "username"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢huggingface_list_repo_files(repoType, namespace, repo, revision, path, ...)

List the files and folders of a model, dataset or Space at a branch or revision, optionally inside one folder. Leave path empty for the root. Hub API: GET /api/{models|datasets|spaces}/{namespace}/{repo}/tree/{rev}/{path}.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "repoType": {
      "type": "string",
      "enum": [
        "model",
        "dataset",
        "space"
      ],
      "description": "Kind of repository."
    },
    "namespace": {
      "type": "string",
      "minLength": 1,
      "description": "Hugging Face user or organization name, as shown in its URL."
    },
    "repo": {
      "type": "string",
      "minLength": 1,
      "description": "Repository name, without the namespace."
    },
    "revision": {
      "description": "Branch, tag or commit. Default: main.",
      "type": "string",
      "minLength": 1
    },
    "path": {
      "description": "Folder inside the repository. Empty or omitted means the root.",
      "type": "string"
    },
    "limit": {
      "description": "Maximum number of results to return.",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 100
    },
    "cursor": {
      "description": "nextCursor from the previous page's response, to fetch the next page.",
      "type": "string"
    }
  },
  "required": [
    "repoType",
    "namespace",
    "repo"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada14 herramientas