Fairhaul Freight Allocation for LangChain
io.github.fpavia111-creator/fairhaul-freight-allocation
Fairhaul Freight Allocation: splits each freight bill across the orders, customers, SKUs and cost…
client:LangChain
transport:stdio
runtime:npm
Install Fairhaul Freight Allocation in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"fairhaul-freight-allocation": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "fairhaul-freight-allocation"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs