Hugging Face MCP Server
Connect to the Hugging Face MCP server to search models, datasets, and Spaces, find research papers, read documentation, and run inference Spaces using AI agents on Gumloop, Claude, Cursor, or Codex.
Try Hugging Face now
Type what you want done. Sign in and run it live with an AI agent.

Installation
Set up the Hugging Face MCP server in Gumloop
Do this once to provision your hosted server URL.
Create a Gumloop account
To use this MCP, you need a Gumloop account. If you don't have one yet, sign up and start a 14-day free trial.
Add and authorize the Hugging Face server
In Gumloop, open Connectors and add Hugging Face. You'll be sent to Hugging Face's sign-in screen to grant access. The credential is stored securely in Gumloop.
Then use it in your client
Use in GumloopUse Hugging Face in an agent
Once Hugging Face is set up, just open any Gumloop agent, add Hugging Face as a connector, and start chatting with the agent.
Tools (8)
Hf Whoami
Inspect the current Hugging Face authentication context, including the account, visible organization memberships, and credential access details. Read-only and never returns credential values.
Hub Repo Search
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.
Create Repo
Create a Hugging Face model, dataset, Space, or bucket repository using an hf:// destination URI. Set source_uri to duplicate an existing model, dataset, or Space server-side.
Hub Repo Details
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.
Hf Fs
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 uses hf://, a typed shorthand such as models/OWNER/REPO, or a canonical https://huggingface.co URL. 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.
Hf Jobs
Remote compute for Hugging Face workflows. Run Python/UV or Docker jobs to deeply analyze Hub datasets, repos, traces, models, and large files; compute trends/statistics; run batch inference/evaluation; or perform long-running work with installed libraries. Use for dataset/repo analysis prompts when local chat inspection is insufficient. Includes submit, logs, inspect, cancel, schedule, and volume mounting.
Dynamic Space
Perform Tasks with Hugging Face Spaces. Use "discover" to view available Tasks. Examples are Image Generation/Editing, Background Removal, Text to Speech, OCR and many more. Call with no arguments for full usage instructions.
Gr1 Z Image Turbo Generate
Generate an image using the Z-Image model based on the provided prompt and settings. This function is triggered when the user clicks the "Generate" button. It processes the input prompt (optionally enhancing it), configures generation parameters, and produces an image using the Z-Image diffusion transformer pipeline. Returns: tuple: (gallery_images, seed_str, seed_int), - seed_str: String representation of the seed used for generation, - seed_int: Integer representation of the seed used for generation (from mcp-tools/Z-Image-Turbo)
What is Hugging Face MCP?
The Hugging Face MCP server gives AI agents access to the Hugging Face Hub and its ecosystem. That means agents can search models, datasets, and Spaces, look up machine learning research papers, read repository details and files, search the documentation, and run Hugging Face Spaces to perform tasks like image generation, background removal, and transcription. It works across the Hub’s models, datasets, Spaces, and docs.
If you spend your time hunting across the Hub for the right models, opening tab after tab to compare datasets, rereading docs to remember how different libraries work, running the same searches, skimming dozens of model cards, and copying links by hand, you might want to try using an AI agent instead. Just describe what you are looking for, and your AI agent will search the Hub, compare the candidates, and pull the details for you.
MCP stands for Model Context Protocol. It’s an open standard that gives AI agents a way to connect to external tools and services. Instead of calling the Hugging Face Hub API yourself, handling authentication, and parsing responses, you connect your Hugging Face account to Gumloop once. After that, you can explore the Hub and run Spaces just by chatting with your AI agent.
Related MCP servers
fal MCP Server
Run AI models on fal.ai - search models, get schemas, submit inference requests, and retrieve results across image, video, audio, and 3D generation
Replit MCP Server
Build, run, and manage your Replit apps and projects.
Github MCP Server
Server for interacting with Github
Exa MCP Server
Interact with Exa.ai API for web search - intelligently search the web, retrieve content, find similar pages, get LLM-powered answers, and conduct deep research
Parallel MCP Server
Extract content from web URLs using Parallel AI
Tavily MCP Server
Search the web and extract content with Tavily.
What you can do with Hugging Face MCP on Gumloop
Search models, datasets, and Spaces
Run a shared search across models, datasets, and Spaces, or target one repo type, so your agent surfaces the right resources without you needing to click through the Hub.
Find machine learning research papers
Search the papers on the Hugging Face Hub and pull back titles, summaries, and links. Useful for keeping up with a fast-moving field or building a reading list.
Pull full repository details
Get details for one or more repos, with automatic type detection for models, datasets, and Spaces, so an agent can compare candidates and summarize model cards side by side.
Browse and read repository files
List, read, find, and search files across Hub repos, buckets, and collections, so an agent can open a config, inspect a dataset sample, or read a README without a manual download.
Search and fetch the documentation
Search the Hugging Face and Gradio documentation and fetch full documents (with chunked reads for long pages), so answers come straight from the official docs.
Run Hugging Face Spaces
Discover and run Spaces to perform tasks like image generation and editing, background removal, and transcription, turning a hosted Space into a step your agent can call.
Generate images
Create images from a text prompt with the Z-Image model, so a content or design agent can produce visuals as part of a larger task.
Query the Hub with precise filters
Use the read-only Hub navigator for discovery, lookup, filtering, ranking, counts, and relationship questions, so an agent can answer “which model” or “how many” without scraping.
How to connect the Gumloop Hugging Face MCP Server
- 1
Create a Gumloop account
Sign up at gumloop.com. Every new account starts with a 14-day free trial.
- 2
Add the Hugging Face MCP server
Copy your MCP server URL from Gumloop and add it to your preferred client (Claude, Cursor, or Gumloop workflows). You'll authorize on first use.
- 3
Start using Hugging Face in your AI workflows
That's it. That’s it: your hosted Hugging Face MCP server is live, and the same server URL works in any MCP client you’ve added it to. Your AI agent can now search the Hub, read repos and docs, and run Spaces to generate images or process files. Use it inside a Gumloop automation, in Claude Desktop, or in Cursor.
Hugging Face MCP use cases
Model and dataset scouting for ML engineers
When you need a model for a task, a Gumloop agent can search the Hub, pull details for the top candidates, compare their model cards, and summarize the tradeoffs in a Slack message or a Notion doc. Engineers get a shortlist instead of a dozen open tabs.
Literature reviews for research teams
An agent can search the papers on the Hub for a topic, pull summaries and links, and compile a ranked reading list into Google Sheets, so the research team can stay current without anyone needing to trawl feeds by hand.
On-demand image generation for content teams
Connect the Hugging Face MCP server with your content stack. An agent can take a brief, generate images with the Z-Image model or run an image-editing Space to remove a background, and drop the results into the campaign folder.
Documentation Q&A for developer teams
An agent can search the Hugging Face and Gradio docs, fetch the relevant sections, and answer a library question with the exact references. Internal questions get accurate, sourced answers.
Cross-tool research agents
Combine Hugging Face with Slack, Google Sheets, and Notion in a single agent. Trigger a weekly digest of new models in your area, transcribe an audio file through a Space, or enrich a dataset review with links, so Hub research feeds the rest of your work.
Why use Gumloop for Hugging Face MCP
Connect once, no token juggling
Most Hugging Face MCP setups you find on GitHub ask you to create a user access token, store it in environment variables, and write code against the Hub API. With Gumloop you connect your Hugging Face account once and the connection is handled for you. No config files, token juggling, or coding against the Hub API necessary.
Works with multiple MCP clients
Use the Hugging Face MCP server in Claude Desktop, Cursor, Codex, or directly inside Gumloop agents. Same server URL, works with any MCP client.
Chain Hugging Face with 100+ other integrations
Combine Hugging Face with Slack, Google Sheets, Notion, GitHub, and other MCP tools in a single AI agent. Search the Hub, process the results, and write them wherever your team works.
Enterprise-grade and scalable
Built for teams, with role-based permissions and dedicated support for Pro users. For details on Gumloop’s security practices, see trust.gumloop.com.
Start with a free trial
You can test the Hugging Face MCP integration during Gumloop’s 14-day free trial before committing. Paid plans start at $37/month.
Frequently asked questions
Ship Hugging Face agents in minutes
Connect any AI agent to 100+ MCP servers, zero setup.