AfterFees
io.github.linyejia/afterfees
Crypto funding-rate arbitrage across 50 exchanges, net of fees and order-book slippage. Read-only.
- Repository
- github.com/linyejia/afterfees-mcp
- Website
- afterfees.xyz/
- Server address
https://afterfees.xyz/mcp(streamable-http)- Version
- 0.18.9
- Author
- linyejia (namespace verified by the registry)
- Source
- Official MCP registry (updated Oct 30, 2026)
How to install it
The server optionally accepts a header: Authorization. Replace YOUR_KEY with your key.
Claude Code
In a terminal:
claude mcp add --transport http afterfees https://afterfees.xyz/mcp \
--header "Authorization: Bearer YOUR_KEY"Claude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://afterfees.xyz/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://afterfees.xyz/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"afterfees": {
"url": "https://afterfees.xyz/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"afterfees": {
"type": "http",
"url": "https://afterfees.xyz/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 08:52 (test run by L’Atlas)
- Response time
- 1,333 ms (whole test)
- Tools found
- 28
- Announced name
- afterfees 0.18.9
- Protocol
- MCP 2025-06-18
- Next test
- Dec 5, 2026
See the tools (28)
best_opportunities
Ranked funding-rate arbitrage pairs (long one market, short another) with the net result after taker fees and order-book slippage at your size, max size, breakeven, settled 7-day replay, tier (actionable / watch) and reasons.coin_overview
Funding rate of one coin on every exchange (rate, interval, APR, predicted, OI, volume, settled 7-day sum) plus its best pairs, net after fees and slippage at your size.pair_breakdown
Full calculation of one pair: funding per leg and settlement count, taker fees, order-book VWAP and slippage per trade, carry, net, net if rates halve, breakeven, capacity, settled 7/30-day replay. pair_key comes from best_opportunities orfunding_rates
Current perpetual funding rates (gross, before costs). With base: that coin on every exchange, highest first. Without: the top N markets by absolute APR (OI filter applies).borrow_rates
Margin borrow rates per coin and exchange (VIP0, current and 24 h / 7 d averages, limits, inventory) with the most negative perp funding: the two halves of a reverse spot-perp carry.fixed_vs_floating
Pendle Boros markets: the fixed funding rate you can lock (net of Boros fees and fill at your size) against the term-matched floating benchmark, advantage, win rate, capacity. side=short locks an income, side=long locks a cost.execution_cost
Taker fee + order-book slippage to buy or sell a given USD size of one coin on every exchange (perps and spot), cheapest first.basis_trades
Spot or perp against a dated future held to delivery, on one exchange or across two (perp on one, future on another), and two same-day futures on different exchanges: net to expiry after fees and slippage at your size, net APR, basis APR, mtransfer_routes
Buy a coin on one exchange, withdraw it on a network both exchanges share (same chain and contract, never matched by ticker), sell on another: real-transfer net after taker fees, order-book slippage and the withdrawal fee at your size, pre-pair_history
Funding actually settled on both legs over 7 / 30 / 90 / 180 / 365 days, applied to today's orientation at your size: net after the four trading costs, max drawdown, negative days, daily sign flips, how far back each exchange's history reacterm_structure
Annualised basis of every delivery future of one coin on every exchange we cover, next to perp funding.venue_execution_cost
Taker fee plus order-book slippage to enter $10k / $100k / $1M long and short on one exchange's biggest markets, in basis points.service_status
Whether AfterFees data is live right now, which exchange feeds are down, and availability over 1 / 7 / 30 / 90 days.order_checklist
The two orders to place by hand for one pair: action, exchange, symbol, quantity in the exchange's own unit (contracts where one contract is not one coin), notional, assumed leverage and a link to each contract's trading page (no referral pholding_scenarios
Net after fees and slippage of one live pair held 8 h, 1 d, 3 d, 7 d and 30 d, optionally with your own assumed funding rate per leg (percent per funding period, keyed by instrument_id).manual_calculator
Net, net APR, breakeven and funding-halved case for two legs you describe (no live data): each leg {side: long|short, rate_pct per period, interval_hours, taker_bps, first_in_hours?}.boros_lock_calculator
Locked net (income) or cost APR on Pendle Boros at an implied APR you give, after the taker and settlement fees and the entry cost, its advantage over a floating APR you expect and the break-even floating rate. Percent inputs.transfer_calculator
Buy on exchange A, withdraw, sell on exchange B at prices you give: real-transfer and prefunded net, break-even premium. Fees in percent, withdrawal fee in coins.boros_market
Detail of one Boros market (id from fixed_vs_floating): fixed rate at your size net of fees, floating benchmarks, advantage, win rate, capacity, reasons.boros_futures_basis
Lock funding on Boros against a delivery future of the same maturity: implied APR vs basis APR, net after fees and slippage at your size.exchanges
Every exchange AfterFees reads: kind, fully calculated or watch-only, status, markets, taker / maker fee, open interest, 24 h volume.exchange_overview
One exchange: fees and their source, funding intervals, open interest, volume, highest and lowest funding and its best after-fee pairs.coins
Coins with a perp on two or more exchanges: exchange count, open interest, highest and lowest funding APR and the best after-fee pair.track_record
How AfterFees' daily top picks actually did: predicted net vs net realised from settled funding over the hold, hit rate, mean error, latest picks.dex_scan
Tokens our exchanges list with a verified contract on Ethereum, BNB Chain, Base, Arbitrum or Solana whose DEX price is more than 1% away: net at $1k / $5k / $10k after aggregator price impact, swap gas, the token transfer gas and the exchanspread_chart
Candles of (A − B) / B between any two instruments (book mids where stored, else marks). Free: 1 h candles and longer over up to 7 days; Pro: 1 m and up, up to 365 days.my_positions
Your positions across the read-only exchange keys connected to your AfterFees account, grouped into hedges: delta drift, distance to liquidation, funding received, issues. Needs a Pro account token; AfterFees only accepts read-only keys. Nespread_convergence
The same coin priced differently on two exchanges' perpetuals: long the cheaper, short the dearer, close when the gap returns to its 7-day median. Net at your size after four taker fees, slippage on live order books and stablecoin conversio
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.linyejia/afterfees)HTML
<a href="https://lagora.dev/en/entry/io.github.linyejia/afterfees"><img src="https://lagora.dev/badge/io.github.linyejia/afterfees.svg?lang=en" alt="io.github.linyejia/afterfees on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.