Afterbook
Server Details
Checked trade plans, baskets and loan health for Coinbase tokenized stocks on Base. You sign.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- Hryhorii77/afterbook
- GitHub Stars
- 3
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 7 tools
The read tools are mostly distinct by object: get_tape covers current cross-market basis, get_basis_stats covers 30-day historical basis statistics, check_loan_health diagnoses a loan, and make_rescue_link produces a rescue URL. The closest overlap is get_quote vs make_plan vs make_basket, since all three size a USDC->stock trade; the descriptions differentiate single-trade estimation from a multi-stock verdict plan and from a thematic basket, but an agent could still hesitate between get_quote and a one-stock make_plan.
Every name is snake_case with a verb_noun structure and a meaningful verb split: get_* for pure reads (get_quote, get_tape, get_basis_stats), check_* for diagnosis (check_loan_health), make_* for artifacts that produce a link (make_plan, make_basket, make_rescue_link). The pattern is predictable and maps to the read-only vs link-producing distinction.
Seven tools is well within a comfortable range and each covers a separate job: pricing, historical basis, loan health, loan rescue, single-trade sizing, multi-stock planning, and basket construction. Nothing looks redundant or bolted on for the stated Base tokenized-stock plus loan-health scope.
The research-to-sign lifecycle is covered (tape/quote/basis -> plan or basket -> signed link), plus loan health and rescue. Gaps are real but bounded: plans are buy-only with no exit/unwind tool for existing stock positions, there is no wallet portfolio view beyond loans, and Morpho loan rescue has no path by design (explicitly stated).
Available Tools
7 toolscheck_loan_healthCheck loan healthBInspect
A wallet's Aave V4 and Morpho stock-token loans on Base: health at the lending oracle and at Aero's onchain price, which keeps trading while the cash market is shut (healthIfNextOpenAtBase: the loan's health if the next open matches Base's price, e.g. over a weekend), how far the collateral could fall before liquidation, whether it is under the threshold, and for an Aave loan links that open Afterbook's Aave panel with the repay or the added collateral worked out from the connected wallet's own loan, for the person to check and sign. Reads public positions only; signs nothing.
Inputs: wallet (required), threshold.
get_basis_statsGet Basis StatsAInspect
How big the basis typically gets while the cash market is NOT open, over the last 30 days — mean, mean absolute, and max absolute basis in bp, sampled every 5 minutes off real traffic. Returns null if there is not enough sampled history yet.
Inputs: symbol (required).
get_quoteGet QuoteAInspect
Estimate shares out, execution price, and price impact for sizing a USDC -> stock trade on one of the tracked pools. This is a local estimate for sizing a trade, not a firm quote — the actual fill happens on chain, through the swap on afterbook.app, signed in the trader's own wallet (make_plan returns a link that opens it filled in); this tool signs nothing.
Inputs: symbol (required), usdcIn (required).
get_tapeGet TapeAInspect
Cash-market close price vs the on-chain price on Aero (formerly Aerodrome) for the Coinbase tokenized stocks Afterbook tracks on Base — basis in bp and real pool depth. Read-only; no wallet is ever involved.
Inputs: no named parameters.
make_basketMake a basketBInspect
A 2-4 stock basket of Coinbase tokenized stocks on Base from a theme or sectors: the code picks the deepest steady pools that pass the checks and sizes them within your budget and cost limit, with every dropped stock and why. Returns buyUrl, a link where a person opens the basket on afterbook.app and signs its buy in their own wallet, after the checks run again and never for more than the basket shows. Reads only; signs nothing.
Inputs: budgetUsd (required), theme, cashPct, exclude, +4 more.
make_planMake a trade planAInspect
A checked trade plan for Coinbase tokenized stocks on Base: for each stock a buy, wait or skip verdict with reasons (gap to the real stock, stale pool, earnings, depth) and a size within your cost limit, $25k and 10% of the pool. Returns planUrl, a link where a person opens the plan on afterbook.app and signs each buy in their own wallet, after the checks run again and never for more than the plan shows. Reads only; signs nothing.
Inputs: budgetUsd (required), symbols, maxCostBp, earningsDays, +1 more.
make_rescue_linkMake a loan rescue linkAInspect
For a wallet's Aave V4 stock loan on Base: a link that opens Afterbook's Aave panel with its rescue planner set to repay USDC or add collateral, at the price fall implied by Base's price now and a target health above your threshold. The link carries no amount and no wallet: the panel fills the Repay or Add field from the loan of the wallet the person connects, and they check it and sign. Returns null url with a reason for a wallet with no Aave loan (Morpho loans have no in-app panel). Reads public positions only; signs nothing.
Inputs: action (required), wallet (required), threshold.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Plan swaps of Coinbase tokenized stocks and TokenizedBlock blocks on Base; your wallet signs.
Trade and invest in tokenized stocks: prices, holdings, P&L, unsigned market/limit/recurring trades.
Real-time crypto & tokenized equity intelligence MCP over x402 USDC on Base mainnet.
Solana & Base DeFi intelligence for AI agents over x402: decisions, risk, signed receipts.
Related MCP Servers
- AlicenseAqualityDmaintenanceThe safety layer that checks a DeFi transaction or token before your agent (or you) signs — on Base L2.684 npmMIT
- AlicenseNot gradedqualityDmaintenanceAgent equity markets, credit markets, and capability staking using USDC on Base L2.MIT
- AlicenseAqualityCmaintenanceCoordinated multi-wallet trading on Base. Create wallets, distribute funds, execute synchronized buys/sells, rebalance portfolios.833 npm1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to create and manage self-custodial ERC-4626 vaults holding a rebalanced basket of tokenized US stocks (NVDA, META, AAPL, GOOGL) on Base, with tools to quote, buy, sell, rebalance, redeem in USDC or in-kind, and transfer shares. Also provides USDC bridging between Base and Arc, gas sponsorship payable in USDC, and x402 payment utilities, with every write returned as unsigned calldata the agent signs itself.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.