{
  "name": "papertrade-explorer",
  "title": "Papertrade Explorer (unofficial)",
  "version": "0.2.0",
  "transport": "streamable-http",
  "endpoint": "https://papertrade-explorer.pages.dev/mcp",
  "method": "POST",
  "protocolVersions": [
    "2025-06-18",
    "2025-03-26",
    "2024-11-05"
  ],
  "stateless": true,
  "readOnly": true,
  "tools": [
    {
      "name": "search",
      "title": "Search wallets, transactions, intents, positions and names",
      "description": "Classify an unknown string and resolve it. A 0x address returns a wallet summary, a 0x 32-byte hash is resolved against HyperEVM to tell a settlement transaction from an intent id (and returns a decoded preview), a bare number is a position id, and anything else searches leaderboard names. The result names the follow-up tool to call."
    },
    {
      "name": "get_wallet",
      "title": "Look up a wallet",
      "description": "Balance sheet of one Papertrade wallet: balance, queued funds, locked funds, available funds, open position and pending operation counts, PAPER held and staked with pending staking rewards, lifetime deposits, withdrawals, realized PnL and fees, active session keys, and leaderboard rank and PnL per window (24h, 7d, 30d, all)."
    },
    {
      "name": "get_positions",
      "title": "Open positions valued at the live mark",
      "description": "Open positions of a wallet valued at the live Papertrade mark (the Hyperliquid BBO mid): side, leverage, margin, notional, entry, mark, bust (liquidation) price, unrealized PnL before close-side haircut, distance to bust and a risk band. Totals included. Pass position_id to fetch one position; if it is already closed the closed-trade record is returned."
    },
    {
      "name": "get_intents",
      "title": "Pending intents of a wallet",
      "description": "Intents the Papertrade relayer has accepted for a wallet and not yet settled on-chain (queued opens, closes, withdrawals, stakes, claims, session keys), each with its intent id, action, acceptance time and deadline, plus the outcome of the most recent intents reported by the stream. Use lookup_intent to follow one id."
    },
    {
      "name": "lookup_intent",
      "title": "Follow one intent id",
      "description": "Where a signed intent is: in the live trade feed, pending in the relayer queue (needs the wallet), or settled on HyperEVM. Scans the most recent blocks (about 6000, roughly 100 minutes) for the BatchExecutor event and, if found, returns the settling transaction, the decoded intent, signature verification and whether the call executed. Older intents are found through get_trade_history."
    },
    {
      "name": "decode_transaction",
      "title": "Decode a HyperEVM settlement transaction",
      "description": "Fetch a HyperEVM transaction and decode BatchExecutor calldata into the intents it carried: action, wallet, session-key signer, decoded fields (market, side, size, leverage, position ids, amounts), intent id, whether the signature recomputes to the recorded intent id, and whether each call executed. A transaction that is not a Papertrade batch is reported as such."
    },
    {
      "name": "get_leaderboard",
      "title": "Ranked wallets",
      "description": "Ranked Papertrade wallets for a window, 25 per page, sortable, with an optional name search. Rank is the true 1-based rank. PnL and volume are USD numbers."
    },
    {
      "name": "get_trade_history",
      "title": "Closed trades of a wallet",
      "description": "Closed and liquidated trades of a wallet, newest first, 75 per page, with net PnL (adjusted PnL minus fees paid), entry and exit, leverage, PAPER minted and the settling transaction. Use the returned next_cursor for the next page."
    },
    {
      "name": "get_protocol_overview",
      "title": "Protocol and market overview",
      "description": "Market-wide state: value locked, LP, lifetime volume, open positions, PAPER supply and staked, fees, per-market live mark, open interest in USD against its cap, max leverage and whether each market is openable, whether trading is paused, and the latest trades feed."
    }
  ],
  "docs": "https://papertrade-explorer.pages.dev/docs/mcp/",
  "note": "Send JSON-RPC 2.0 with POST. This URL is not a web page. See the docs for client setup."
}