Afterbook MCP
An MCP server for Coinbase tokenized stocks on Base that allows agents to check trade plans, build baskets, and assess loan health. It provides data on price gaps and pool depth, generating links for users to sign transactions in their own wallets without exposing keys to the agent.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://afterbook.app/api/mcpWhat its tools do
7 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- Generate checked buy, wait, or skip plans for specific stocks within budget limits
- Create diversified stock baskets based on themes or sectors with liquidity checks
- Check wallet health for Aave and Morpho stock loans against Base prices
- Retrieve real-time tape data showing token price gaps and pool depth
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- afterbook 1.0.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 7 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
}
}Tools
7 advertised
get_tape — Get Tape
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.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
}get_quote — Get Quote
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.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"symbol",
"usdcIn"
],
"properties": {
"symbol": {
"enum": [
"NVDAc",
"AAPLc",
"METAc",
"GOOGLc",
"AMZNc",
"MSFTc",
"MSTRc",
"SNDKc",
"SPCXc",
"TSLAc",
"PLTRc",
"MUc",
"NFLXc",
"SKHYc",
"HIMSc",
"ORCLc",
"AMDc",
"AVGOc",
"LLYc",
"MRVLc",
"SONYc",
"BILIc",
"SAPc",
"SANc",
"NOKc",
"PDDc",
"LIc",
"BIDUc",
"VALEc",
"BUDc",
"NIOc",
"ARMc",
"INFYc",
"ULc",
"WRDc",
"NVOc",
"SEc",
"HSAIc",
"ANTc"
],
"type": "string"
},
"usdcIn": {
"type": "number",
"maximum": 10000000,
"exclusiveMinimum": 0
}
}
}get_basis_stats — Get Basis Stats
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.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"symbol"
],
"properties": {
"symbol": {
"enum": [
"NVDAc",
"AAPLc",
"METAc",
"GOOGLc",
"AMZNc",
"MSFTc",
"MSTRc",
"SNDKc",
"SPCXc",
"TSLAc",
"PLTRc",
"MUc",
"NFLXc",
"SKHYc",
"HIMSc",
"ORCLc",
"AMDc",
"AVGOc",
"LLYc",
"MRVLc",
"SONYc",
"BILIc",
"SAPc",
"SANc",
"NOKc",
"PDDc",
"LIc",
"BIDUc",
"VALEc",
"BUDc",
"NIOc",
"ARMc",
"INFYc",
"ULc",
"WRDc",
"NVOc",
"SEc",
"HSAIc",
"ANTc"
],
"type": "string"
}
}
}make_plan — Make a trade plan
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.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"budgetUsd"
],
"properties": {
"symbols": {
"type": "array",
"items": {
"enum": [
"NVDAc",
"AAPLc",
"METAc",
"GOOGLc",
"AMZNc",
"MSFTc",
"MSTRc",
"SNDKc",
"SPCXc",
"TSLAc",
"PLTRc",
"MUc",
"NFLXc",
"SKHYc",
"HIMSc",
"ORCLc",
"AMDc",
"AVGOc",
"LLYc",
"MRVLc",
"SONYc",
"BILIc",
"SAPc",
"SANc",
"NOKc",
"PDDc",
"LIc",
"BIDUc",
"VALEc",
"BUDc",
"NIOc",
"ARMc",
"INFYc",
"ULc",
"WRDc",
"NVOc",
"SEc",
"HSAIc",
"ANTc"
],
"type": "string"
},
"maxItems": 8,
"description": "Stocks to check; none = the deepest pools."
},
"budgetUsd": {
"type": "number",
"maximum": 100000,
"minimum": 10,
"description": "USDC to plan, $10 to $100,000; each buy is still capped at $25,000 and 10% of its pool."
},
"maxCostBp": {
"type": "number",
"maximum": 200,
"minimum": 1,
"description": "Most a fill may cost, price impact plus pool fee, in bp, 1 to 200 (default 30)."
},
"earningsDays": {
"type": "integer",
"maximum": 14,
"minimum": 0,
"description": "Wait if earnings are within this many days, 0 to 14 (default 2)."
},
"maxPremiumBp": {
"type": "number",
"maximum": 500,
"minimum": 0,
"description": "Most the token may trade above the cash price, in bp, 0 to 500 (default 50)."
}
}
}make_basket — Make a basket
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.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"budgetUsd"
],
"properties": {
"theme": {
"enum": [
"Any",
"AI chips",
"Memory & storage",
"Software & cloud",
"Internet & media",
"Consumer tech",
"EVs & autonomy",
"Health care",
"China",
"Outside the US",
"Bitcoin",
"Space"
],
"type": "string",
"description": "One of Afterbook's fixed themes (default: Any)."
},
"cashPct": {
"type": "number",
"maximum": 50,
"minimum": 0,
"description": "Percent of the budget to keep as cash, 0 to 50 (default 0)."
},
"exclude": {
"type": "array",
"items": {
"enum": [
"Information Technology",
"Communication Services",
"Consumer Discretionary",
"Consumer Staples",
"Health Care",
"Financials",
"Industrials",
"Materials",
"Energy",
"Utilities",
"Real Estate"
],
"type": "string"
},
"description": "GICS sectors to leave out."
},
"budgetUsd": {
"type": "number",
"maximum": 25000,
"minimum": 10,
"description": "USDC for the basket, $10 to $25,000 (one basket buy)."
},
"maxCostBp": {
"type": "number",
"maximum": 200,
"minimum": 1,
"description": "Most a fill may cost, price impact plus pool fee, in bp, 1 to 200 (default 30)."
},
"minStocks": {
"type": "integer",
"maximum": 4,
"minimum": 2,
"description": "Spread over at least this many stocks, 2 to 4 (default 3)."
},
"earningsDays": {
"type": "integer",
"maximum": 14,
"minimum": 0,
"description": "Wait if earnings are within this many days, 0 to 14 (default 2)."
},
"maxPremiumBp": {
"type": "number",
"maximum": 500,
"minimum": 0,
"description": "Most a token may trade above the cash price, in bp, 0 to 500 (default 50)."
}
}
}check_loan_health — Check loan health
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.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"wallet"
],
"properties": {
"wallet": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "The borrower address."
},
"threshold": {
"type": "number",
"maximum": 3,
"minimum": 1.01,
"description": "Health to flag loans under (default 1.2)."
}
}
}make_rescue_link — Make a loan rescue link
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.
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"wallet",
"action"
],
"properties": {
"action": {
"enum": [
"repay",
"add"
],
"type": "string",
"description": "repay = pay back USDC; add = post more of a stock already in the wallet as collateral."
},
"wallet": {
"type": "string",
"pattern": "^0x[0-9a-fA-F]{40}$",
"description": "The borrower address."
},
"threshold": {
"type": "number",
"maximum": 3,
"minimum": 1.01,
"description": "The health line to get back above (default 1.2)."
}
}
}Prompts
Not advertised
Resources
Not advertised
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 667 ms
- 95th percentile latency
- 667 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 667 ms · metadata changed · 7 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http afterbook-mcp https://afterbook.app/api/mcpCodex
codex mcp add afterbook-mcp --url https://afterbook.app/api/mcpCursor
{
"mcpServers": {
"afterbook-mcp": {
"url": "https://afterbook.app/api/mcp"
}
}
}Cline
{
"mcpServers": {
"afterbook-mcp": {
"type": "streamableHttp",
"url": "https://afterbook.app/api/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"afterbook-mcp": {
"type": "http",
"url": "https://afterbook.app/api/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http afterbook-mcp https://afterbook.app/api/mcpClaude Desktop
https://afterbook.app/api/mcpWindsurf
{
"mcpServers": {
"afterbook-mcp": {
"serverUrl": "https://afterbook.app/api/mcp"
}
}
}Let your agent find its tools
Find servers like Afterbook MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.