Skip to content
LangChain

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

Hugging Face MCP by usefulapi in other clients