Hugging Face integration
Machine learning platform API for accessing models, datasets, and inference endpoints. Deploy and run models from the Hugging Face Hub, manage model repositories, and access the Inference Providers API for thousands of pre-trained models across NLP, vision, and audio tasks via the unified router (router.huggingface.co) and the Hub API (huggingface.co/api).
Common Hugging Face use cases
- Publish models
- Model discovery
- Dataset discovery
- Remove old models
- Model documentation
- Publish trained models
- Build conversational chatbots
- Build semantic search engines
- Build multilingual applications
- Build creative writing assistants
What you can do with Hugging Face
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Classification, 4 operations
- POSTimage_classification
Categorizes images into predefined classes using computer vision models.
- POSTtext_classification
Categorizes text into predefined classes using trained classification models.
- POSTtoken_classification
Labels individual tokens in text for Named Entity Recognition (NER) and Part-of-Speech tagging.
- POSTzero_shot_classification
Classifies text into arbitrary categories without requiring model training or fine-tuning.
Model, 2 operations
- GETget_model_info
Retrieves detailed metadata for a specific model.
- GETlist_models
Lists available models from the Hugging Face Hub with filtering and search.
Repo, 2 operations
- POSTcreate_repo
Creates a new repository for models, datasets, or Spaces.
- DELETEdelete_repo
Permanently deletes a repository from Hugging Face Hub.
Text, 2 operations
- POSTfill_mask
Predicts masked words in sentences using masked language models like BERT and RoBERTa.
- POSTtext_generation
Generates text continuations using various language models from the Hugging Face model hub.
Answer, 1 operation
- POSTquestion_answering
Extracts precise answers to questions from provided context passages using extractive QA models.
Chat, 1 operation
- POSTchat_completion
OpenAI-compatible chat completions endpoint supporting conversational LLMs and VLMs.
Commit, 1 operation
- POSTcommit_files
Creates a commit on a Hugging Face repository that can add, modify, or delete files.
Dataset, 1 operation
- GETlist_datasets
Lists available datasets from the Hugging Face Hub.
Embedding, 1 operation
- POSTfeature_extraction
Generates dense vector representations of text for semantic similarity and machine learning tasks.
Image, 1 operation
- POSTtext_to_image
Creates images from text descriptions using diffusion models like Stable Diffusion and FLUX.
Similarity, 1 operation
- POSTsentence_similarity
Computes semantic similarity scores between a source sentence and multiple candidate sentences.
Summary, 1 operation
- POSTsummarization
Condenses long texts into concise summaries while preserving key information and meaning.
Transcription, 1 operation
- POSTautomatic_speech_recognition
Converts speech audio into text transcriptions using automatic speech recognition models.
Translation, 1 operation
- POSTtranslation
Translates text between languages using neural machine translation models.
Use Hugging Face from Claude Code, Cursor or Codex
Connect Hugging Face in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Hugging Face operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Hugging Face
Create your workspace
Sign up free. Nothing to install.
Connect Hugging Face once
Add your Hugging Face connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Hugging Face integration FAQ
- What can you do with the Hugging Face integration?
- LiveContext exposes 20 operations on Hugging Face, covering classification, model, repo and text. Common uses include Publish models, Model discovery and Dataset discovery.
Popular integrations
Instagram API with Instagram Login (graph.instagram.com). Manage a Business/Creator Instagram account…
Messaging platform API for building bots and integrations. Send messages, manage chats and channels, handle…
Google email service API for sending, receiving, and managing emails. Access messages, threads, labels,…
Google's video platform API for accessing video, channel, playlist, and comment data
Social media platform API for content creators and businesses. Access user info, manage videos, get…
Social media platform API for posting, reading, and managing Twitter/X content. Post tweets, read timelines,…
Professional networking platform API for managing profiles, connections, and content. Share posts, manage…
AI API from xAI (Elon Musk's AI company) powering Grok models. Access state-of-the-art language models with…