Hugging Face Models Hub MCP for LangChain
io.github.theluckystrike/huggingface-models-hub-mcp
Zero-key Hugging Face Hub search for AI models, datasets, downloads, likes, licenses, and tasks.
client:LangChain
transport:streamable-http
Install Hugging Face Models Hub MCP in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"huggingface-models-hub-mcp": {
"transport": "streamable_http",
"url": "https://huggingface-models-hub-mcp.lipmichal.workers.dev/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs