Most trading APIs make you fund an account before your agent can place a single order. That is a bad loop for building: you want to try the logic first, look at what it does, and only then put money behind it.
copy.top's MCP server has a paper mode for that. A free key (by email, no account, no wallet) gives your agent the trading tools on a $100 virtual balance at real prices: it can copy top traders, buy and sell coins, and nothing is spent. The same calls trade for real later, once you turn it on for your key.
This post shows two ways to use it: from Claude Code or Cursor in one command, and from a 40-line Python script with only the standard library.
1. Get a key
curl -X POST https://copy.top/v1/keys -d email=you@example.com The key arrives by email. It reads data and paper-trades, nothing else.
2a. In Claude Code or Cursor
claude mcp add --transport http copytop https://copy.top/mcp --header "Authorization: Bearer YOUR_KEY" In Cursor or VS Code, add the same URL with the same header in your MCP settings. Restart the session: the trading tools show up, and every answer says mode: paper.
Then just ask:
- "find a trader with a clean fair play and a good 30 day pnl, and copy them with $3 per buy"
- "buy $10 of the hottest coin top traders are buying right now"
- "how is my paper portfolio doing? sell what is down more than 20%"
2b. In your own code (no SDK)
MCP over HTTP is JSON-RPC: one POST per tool call. This script picks a trader from the leaderboard and starts a paper copy.
import json, os, urllib.request URL, KEY = "https://copy.top/mcp", os.environ.get("COPYTOP_KEY") def call(tool, **args): body = {"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": tool, "arguments": args}} headers = {"content-type": "application/json", "accept": "application/json, text/event-stream", "user-agent": "paper-agent/1.0"} if KEY: headers["authorization"] = f"Bearer {KEY}" req = urllib.request.Request(URL, data=json.dumps(body).encode(), headers=headers) text = urllib.request.urlopen(req, timeout=30).read().decode() if "data:" in text: # streamable HTTP may answer as an event stream text = text.split("data:", 1)[1] result = json.loads(text)["result"] out = result["content"][0]["text"] if result.get("isError"): raise RuntimeError(f"{tool}: {out}") return json.loads(out) # 1. pick a trader: 30-day realized pnl, clean fair play, enough closed positions to judge board = call("get_leaderboard", window="30d", sort="realized", fair_play="clean", limit=10) picks = [t for t in board["traders"] if (t.get("closed") or 0) >= 20 and (t.get("winRate") or 0) >= 0.5] for t in picks[:5]: print(f"{t['handle']:<18} pnl ${t['pnl']:>9,} win rate {t['winRate']:.0%} closed {t['closed']}") if not picks: raise SystemExit("no trader passes the filter right now") # 2. with a key: copy the best one with $3 per buy, on the $100 virtual balance if KEY: me = call("get_my_agent") print("mode:", me["mode"], "| balance: $", me["balance_usd"], "| cash: $", me["cash_usd"]) copy = call("create_copy", handle=picks[0]["handle"], usd_per_buy=3, sells="follow") print("copying", picks[0]["handle"], "->", json.dumps(copy)[:200]) Without a key, the first half still runs (the read tools are open), so you can try the filter before asking for anything.
A few notes on the filter, because the leaderboard is easy to misread:
-
pnlis realized profit over the window. Open positions are given apart asunrealizedand never added. -
roiandwinRateneed at least 10 closed positions in 30 days. Below that they arenull, which means "not enough data", never zero. -
fairPlayflags traders who flip within minutes or sell into their own copiers. Copying those usually means buying their exit.
3. Watch it
get_my_agent gives the virtual balance (cash, open positions, realized and unrealized pnl) and the copies the agent runs. get_my_trades lists the fills. A copied buy fills at the trader's own price plus a small slippage, so the paper result is close to what a real copy would have done.
Here is what the script printed on a fresh key:
cherryfairy pnl $ 49,098 win rate 56% closed 63 nadomac pnl $ 42,493 win rate 65% closed 104 mode: paper | balance: $ 100 | cash: $ 100 copying cherryfairy -> {"mode": "paper", "handle": "cherryfairy", "usd_per_buy": 3, "sells": "follow", "active": true, "created": true, ...} To clean up, stop_copy with sell_positions: true stops the copy and closes what it bought.
When it looks right, real trading is opt-in: you sign in on copy.top with the same email as the key, set a budget ($3 to $50) and confirm it on Telegram. The tools stay the same; paper copies do not carry over, so you call create_copy again for the ones you want to keep.
Docs: https://copy.top/docs/paper-trading
Figures are data, not advice. Past performance does not predict results.

