milo for LangChain
io.github.and-milo/milo
AI trading agents and market research: insider and congress trades, 8-K filings, Solana trading.
client:LangChain
transport:streamable-http
tools:45
Install milo in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"milo": {
"transport": "streamable_http",
"url": "https://partners.andmilo.com/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
- prepare_signup_message
- signup
- get_me
- get_stock_research_digest
- get_insider_transactions
- get_recent_insider_buys
- get_congress_trades
- get_8k_events
- get_perp_markets
- get_perp_market
- search_prediction_markets
- get_prediction_market
- get_holdings
- list_positions
- close_position
- close_all_positions
- create_order
- list_orders
- get_order
- pause_order
- activate_order
- delete_order
- send_tokens
- list_trading_accounts