hf-model-explorer-mcp
v0.1.1MCP server for searching, comparing, and hardware-sizing Hugging Face models
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_models
Search Hugging Face Hub for models matching a query, optionally filtered by task (pipeline_tag), sorted by popularity or recency. Args: query: free-text search, e.g. "llama instruct" or "sentiment analysis" task: optional HF pipeline tag filter, e.g. "text-generation", "text-classification", "image-classification", "translation" limit: max number of results (1-50) sort_by: "downloads" (default), "likes", or "last_modified"
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer | |
sort_by | string | |
task |
get_model_details
Get full details for a single Hugging Face model, including parameter count, license, tags, and pipeline task. Args: model_id: the HF model repo id, e.g. "meta-llama/Llama-3.1-8B-Instruct"
| Parameter | Type | Description |
|---|---|---|
model_id * | string |
compare_models
Compare 2-4 Hugging Face models side by side: parameters, license, downloads, task, and last update. Args: model_ids: list of 2-4 HF model repo ids to compare
| Parameter | Type | Description |
|---|---|---|
model_ids * | array |
check_hardware_fit
Estimate whether a Hugging Face model will fit in a given amount of GPU VRAM, and at which precision. Uses the model's parameter count and standard bytes-per-parameter figures for each precision, plus a runtime overhead margin for activations and KV-cache. This is an estimate, not a guarantee — actual usage varies by framework, batch size, and context length. Args: model_id: the HF model repo id, e.g. "mistralai/Mistral-7B-v0.1" available_vram_gb: available GPU VRAM in gigabytes, e.g. 24 precision: specific precision to check, or "auto" t…
| Parameter | Type | Description |
|---|---|---|
available_vram_gb * | number | |
model_id * | string | |
precision | string |
find_similar_models
Find alternative models for the same task as the given model, filtered by relative size (lighter, heavier, or similar-sized alternatives). Args: model_id: the HF model repo id to find alternatives for variant: "lighter" (fewer params), "heavier" (more params), or "same_size" (roughly comparable) limit: max number of alternatives to return (1-20)
| Parameter | Type | Description |
|---|---|---|
model_id * | string | |
limit | integer | |
variant | string |