Hugging Face
Server Details
Connect to Hugging Face Hub and thousands of Gradio AI Applications
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Average 4.5/5 across 4 of 4 tools scored.
Each tool has a distinct purpose: hf_fs navigates the hub like a filesystem, hf_whoami handles authentication, hub_repo_details retrieves metadata for specific repos, and hub_repo_search searches across repos. No functional overlap.
Names mix prefixes: 'hf_' (hf_fs, hf_whoami) and 'hub_' (hub_repo_details, hub_repo_search). While the verb_noun pattern is somewhat present (hf_fs is not verb_noun but a shortcut), the inconsistency in prefixes is confusing.
With 4 tools covering navigation, details, search, and authentication, the count is appropriate for a read-focused exploration server. Not too few, and each tool serves a clear role.
The set covers core exploration needs: browsing resources (hf_fs), getting repo details (hub_repo_details), searching (hub_repo_search), and identity (hf_whoami). Missing write operations, but that aligns with the apparent read-only purpose.
Available Tools
4 toolshf_fsHugging Face Hub: Find, use and view models, datasets, spaces, buckets, papers, documentation and collections. Get daily papers reports, and browse trending content. Read-onlyInspect
Use to access the Hugging Face Hub. Navigate resources with ls, cat, find, stat, and search over hf:// URIs. Roots: hf://models, hf://datasets, hf://spaces, hf://buckets, hf://collections, hf://papers, hf://docs. For papers, ls hf://papers/ARXIV_ID to discover related resources; cat hf://papers/ARXIV_ID/paper.md or metadata.json. Documentation paths include the current version from each product's llms.txt manifest.
Grammar; each token below is one args array element: ls URI [(-R|-r|-lR|-laR|--recursive)] [(-l|-a|-la|-al|--long)] [--glob GLOB] [(-type|--type|--entry-type) TYPE] [--sort SORT] [(-limit|--limit) N] cat URI [RELATIVE_PATH] [(-offset|--offset) N] [(-max-bytes|--max-bytes) N] stat URI [RELATIVE_PATH] find URI [(-R|-r|--recursive)] [(-name|--name|--glob) GLOB] [(-path|--path) GLOB] [(-type|--type|--entry-type) TYPE] [(-limit|--limit) N] search URI [QUERY...] [(-type|--type|--entry-type) TYPE] [--sort SORT] [--tag TAG] [--kind mcp] [(-limit|--limit) N]
TYPE = file|dir|repo|bucket|collection|paper|link. Type aliases: f=file, d=dir, l=link, model|dataset|space=repo. SORT = createdAt|downloads|likes|lastModified|likes30d|trendingScore|mainSize|id|trending|upvotes. URI starts with hf://. QUERY and GLOB are each one string token. Search URI: hf://models|datasets|spaces[/OWNER], hf://collections[/OWNER], any hf://docs scope, or exactly hf://papers; not hf://. Repository and collection searches may omit QUERY to browse or filter; documentation and paper searches require it. Search joins multiple positional QUERY tokens with spaces. Cat and stat join one RELATIVE_PATH token to URI. Long-list flags are accepted for compatibility; hf_fs listings are already structured, so they do not alter output. Find is already recursive, so recursive flags are accepted without altering behavior. Space search: hf://spaces uses semantic search; repeat --tag to require tags, or use --kind mcp for --tag mcp-server. hf://spaces/OWNER uses owner-scoped keyword search. Documentation: ls hf://docs for products; search any docs scope; use returned hf:// URIs verbatim. Trending listings: ls hf://models/trending, hf://datasets/trending, or hf://spaces/trending. They return up to 20 entries. Trending paths imply trending order; --sort trending|trendingScore is redundant but valid. Trending papers: ls hf://papers/trending. TYPE filters mixed results; omit it when the URI already fixes the result type. Limits and path-specific behavior are documented at hf://README.md. Omit --limit and --sort unless the request asks for a cap, ordering, or exhaustive results. No pipes, redirects, shell expansion, or multiple commands.
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | Command to execute. | |
| args | Yes | Command arguments; each array item is one grammar token. |
Output Schema
| Name | Required | Description |
|---|---|---|
| op | Yes | |
| lfs | No | |
| uri | Yes | |
| url | No | |
| path | No | |
| size | No | |
| type | No | |
| bytes | No | |
| exists | No | |
| content | No | |
| entries | No | |
| section | No | |
| warnings | No | |
| arxiv_url | No | |
| namespace | No | |
| truncated | No | |
| target_uri | No | |
| next_offset | No | |
| content_type | No | |
| published_at | No | |
| daily_papers_uri | No | |
| daily_papers_date | No | |
| truncation_reason | No | |
| truncation_message | No |
hf_whoamiHugging Face User InfoRead-onlyInspect
Hugging Face tools are being used anonymously and may be rate limited. Call this tool for instructions on joining and authenticating.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
hub_repo_detailsRead-onlyInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Row count for dataset_preview. Defaults to 5 and is clamped to 1-100. | |
| split | No | Dataset Viewer split. Required for dataset_preview when the dataset has multiple config/split options. Discover via dataset_structure. | |
| config | No | Dataset Viewer config. Required for dataset_preview when the dataset has multiple config/split options. Discover via dataset_structure. | |
| offset | No | Row offset for dataset_preview. Defaults to 0. | |
| repo_ids | Yes | Repo IDs for (models|dataset/space) - usually in author/name format (e.g. openai/gpt-oss-120b) | |
| repo_type | No | Specify lookup type; otherwise auto-detects | |
| operations | No | Details to return. Defaults to ["overview"]. For datasets, prefer ["overview", "dataset_structure"] first; then call ["dataset_preview"] with config and split. |
hub_repo_searchRepo SearchRead-onlyInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order (descending): trendingScore, downloads, likes, createdAt, lastModified | |
| limit | No | Maximum number of results to return per selected repo type | |
| query | No | Search term. Leave blank and specify sort + limit to browse trending or recent repositories. | |
| author | No | Organization or user namespace to filter by (e.g. 'google', 'meta-llama', 'huggingface'). | |
| filters | No | Optional hub filter tags. Applied to each selected repo type (e.g. ["text-generation"], ["language:en"], ["mcp-server"]). | |
| repo_types | No | Repository types to search. Defaults to ["model", "dataset"]. space uses keyword search via /api/spaces. |
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Related MCP Servers
- Alicense-qualityBmaintenanceConnects LLMs to the Hugging Face Hub and thousands of Gradio AI applications, enabling model interaction and search.Last updated268MIT
- Alicense-qualityCmaintenanceProvides direct access to the Hugging Face Hub for searching models and datasets, fetching metadata, and running inference on text, images, and audio.Last updatedMIT
- AlicenseCqualityDmaintenanceConnects Claude Desktop to Hugging Face Spaces with minimal setup, enabling capabilities like image generation, vision tasks, text-to-speech, and chat with AI models.Last updated3241MIT
- Alicense-quality-maintenanceEnables access to 200,000+ machine learning models through the Hugging Face Inference API. Supports text generation, image creation, classification, translation, speech processing, embeddings, and more AI tasks.Last updated