Skip to content
LangChain

AI Model DB for LangChain

io.github.quillreverie/aimodeldb

Free, read-only AI model API pricing, subscription plans, and catalog search. No API key.

client:LangChain transport:streamable-http tools:5

Install AI Model DB in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "aimodeldb": {
            "transport": "streamable_http",
            "url": "https://aimodeldb.com/api/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

AI Model DB in other clients