compoundsim for LangChain
app.compoundsim/compoundsim
Compound interest and Monte Carlo simulators for investing, retirement and past asset returns.
client:LangChain
transport:streamable-http
tools:5
Install compoundsim in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"compoundsim": {
"transport": "streamable_http",
"url": "https://compoundsim.app/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs