Skip to content
LangChain

Decision Models for LangChain

io.decisionmodels/decision-models

Ask typed decision questions and get probabilities using the Decision Models API.

client:LangChain transport:streamable-http

Install Decision Models in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "decision-models": {
            "transport": "streamable_http",
            "url": "https://api.decisionmodels.io/mcp",
        }
})

tools = await client.get_tools()

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

Decision Models in other clients