shikamaru for LangChain
io.github.jayofemi/shikamaru
Provably correct day-count, calendar, business-day, and schedule math, verified against QuantLib.
client:LangChain
transport:stdio
runtime:npm
Install shikamaru in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"shikamaru": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@jayofemi/shikamaru"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs