Hugging Face Hub
liveAI/MLResearchLargest open ML hub — search and inspect models, datasets, Spaces. Public reads keyless.
10tools
0msauth
free tier50 calls/day
Tools
search_modelsBrowse / search models.
Parameters
NameTypeDescription
searchoptstring—authoroptstring—libraryoptstring—languageoptstring—pipeline_tagoptstring—tagsoptstring—sortoptstring—directionoptstring—limitoptnumber—fulloptboolean—Try it
Response
search_datasetsBrowse / search datasets.
Parameters
NameTypeDescription
searchoptstring—authoroptstring—languageoptstring—task_categoriesoptstring—sortoptstring—directionoptstring—limitoptnumber—fulloptboolean—Try it
Response
search_spacesBrowse / search Spaces.
Parameters
NameTypeDescription
searchoptstring—authoroptstring—sdkoptstring—sortoptstring—directionoptstring—limitoptnumber—fulloptboolean—Try it
Response
get_modelrequired: repo_idDetailed model info.
Parameters
NameTypeDescription
repo_idreqstring—revisionoptstring—Try it
Response
get_datasetrequired: repo_idDetailed dataset info.
Parameters
NameTypeDescription
repo_idreqstring—revisionoptstring—Try it
Response
get_spacerequired: repo_idDetailed Space info.
Parameters
NameTypeDescription
repo_idreqstring—revisionoptstring—Try it
Response
list_model_filesrequired: repo_idList files in a model repo.
Parameters
NameTypeDescription
repo_idreqstring—revisionoptstring—pathoptstring—Try it
Response
list_dataset_filesrequired: repo_idList files in a dataset repo.
Parameters
NameTypeDescription
repo_idreqstring—revisionoptstring—pathoptstring—Try it
Response
trending_modelsCurrently-trending models.
Parameters
NameTypeDescription
limitoptnumber—Try it
Response
trending_datasetsCurrently-trending datasets.
Parameters
NameTypeDescription
limitoptnumber—Try it
Response
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
List available tools
bash
curl -X POST https://gateway.pipeworx.io/huggingface/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Call a tool
bash
curl -X POST https://gateway.pipeworx.io/huggingface/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_models","arguments":{}}}'Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_models", {});ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("largest open ml hub — search and inspect models, datasets, spaces");