simplefunctions for LangChain
io.github.spfunctions/simplefunctions
Calibrated world model for AI agents. 40 tools: world state, markets, trading. Kalshi + Polymarket.
client:LangChain
transport:streamable-http
runtime:npm
tools:108
Install simplefunctions in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"simplefunctions": {
"transport": "streamable_http",
"url": "https://simplefunctions.dev/api/mcp/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- get_context
- list_theses
- inject_signal
- trigger_evaluation
- scan_markets
- create_thesis
- explore_public
- get_markets
- query_databento
- query
- screen_markets
- create_strategy
- list_strategies
- update_strategy
- get_milestones
- get_forecast
- get_settlements
- get_balance
- get_orders
- get_schedule
- get_fills
- what_if
- augment_tree
- get_edges