Skip to content
LangChain

Free LLM API Hub for LangChain

io.github.pacocartones/free-llm-api-hub

Search free LLM API tiers, read an entry, get an OpenAI client config. Read-only, unaffiliated.

client:LangChain transport:stdio runtime:npm

Install Free LLM API Hub in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "free-llm-api-hub": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "free-llm-api-hub-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Free LLM API Hub in other clients