Skip to content
LangChain

Apex DB for LangChain

io.github.vanja-ivancevic/apex-db

Vehicle specifications, emissions, and powertrain data with source provenance.

client:LangChain transport:streamable-http

Install Apex DB in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "apex-db": {
            "transport": "streamable_http",
            "url": "https://mcp.apex-db.org/mcp",
        }
})

tools = await client.get_tools()

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

Apex DB in other clients