Risk Calculation for LangChain
io.github.mselcukozturk/risk-calculation
Local IRB and standardised credit risk weights, RWA and capital under EU CRR/CRR3 and BDDK.
client:LangChain
transport:stdio
runtime:npm
Install Risk Calculation in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"risk-calculation": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "risk-calculation-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs