Hugging Face MCP by usefulapi for LangChain
io.usefulapi/huggingface
Search the Hub, papers and Spaces; list repo files, credits and notifications in Hugging Face.
client:LangChain
transport:streamable-http
tools:14
Install Hugging Face MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"huggingface": {
"transport": "streamable_http",
"url": "https://huggingface.usefulapi.io/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- huggingface_whoami
- huggingface_get_credits
- huggingface_get_organization_credits
- huggingface_list_organization_members
- huggingface_list_notifications
- huggingface_quicksearch
- huggingface_search_spaces
- huggingface_search_papers
- huggingface_get_paper
- huggingface_list_collections
- huggingface_get_collection
- huggingface_get_user_overview
- huggingface_list_user_likes
- huggingface_list_repo_files