econmath for LangChain
io.github.cloudcorprecords/econmath
Finance calculators: position sizing, pivots, margin, FIRE, RMD, I-bond, CPI and ECB FX rates.
client:LangChain
transport:stdio
runtime:npm
Install econmath in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"econmath": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@reneturcios/econmath"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs