AfterFees for LangChain
io.github.linyejia/afterfees
Crypto funding-rate arbitrage across 50 exchanges, net of fees and order-book slippage. Read-only.
client:LangChain
transport:streamable-http
tools:28
Install AfterFees in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"afterfees": {
"transport": "streamable_http",
"url": "https://afterfees.xyz/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
- best_opportunities
- coin_overview
- pair_breakdown
- funding_rates
- borrow_rates
- fixed_vs_floating
- execution_cost
- basis_trades
- transfer_routes
- pair_history
- term_structure
- venue_execution_cost
- service_status
- order_checklist
- holding_scenarios
- manual_calculator
- boros_lock_calculator
- transfer_calculator
- boros_market
- boros_futures_basis
- exchanges
- exchange_overview
- coins
- track_record