add the pump.fun MCP server to Claude Code
that is the whole setup. no rpc url, no .env file, no wallet.
claude mcp add --transport http copytop https://copy.top/mcp
Cursor and other MCP clients
{
"mcpServers": {
"copytop": {
"type": "http",
"url": "https://copy.top/mcp"
}
}
}
- claude.ai and Claude Desktop: settings, connectors, add a custom connector, paste https://copy.top/mcp.
- ChatGPT: turn on developer mode, then add a custom connector with the same address.
- VS Code: add a server with type http and the same address, or use the one click button on copy.top/agents.
- use the address without www: a redirect would drop the Authorization header.
find traders worth watching
start with the leaderboard on the pumpfun platform, over 30 days, by realized pnl: money taken out, not paper gains. the fair_play filter leaves out traders whose own trades show a pattern that hurts the people copying them.
curl -s https://copy.top/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_leaderboard","arguments":{"window":"30d","sort":"realized","platform":"pumpfun","fair_play":"clean_or_watch","limit":20}}}'
- each row: handle, name, realized and unrealized pnl, roi, win rate, closed positions, fair play verdict, median hold time.
- a handle that starts with pf_ is a pump.fun account. pass it to get_trader for positions and recent trades.
- use the 30 day window to choose someone: it has the most complete figures.
the pump.fun tools
| get_leaderboard | platform pumpfun | traders ranked by realized pnl, roi, win rate or copiers |
|---|---|---|
| get_trader | handle | one trader: pnl, win rate, fair play, open positions, recent trades |
| get_hot_coins | window 1h or 24h, optional max market cap | coins several tracked traders are buying now, with dollars in and out and how many still hold |
| get_live_trades | traders, side, min_usd, since | the live tape, or only the traders you list (up to 25 handles) |
| get_token | chain and address | one coin: price, market cap, liquidity, which tracked traders hold it or sold it |
| get_money_flow | side, window, chain | coins ranked by dollars bought or sold, with the net |
| get_dex_paid | none needed | coins whose team just paid for a DEX Screener profile |
| get_alerts | since, thresholds | events with a cursor: several top traders on one coin, big trades, theses |
prompts to try
- list the top pumpfun traders over 30 days by realized pnl, clean fair play only, with more than 20 closed positions.
- which coins under 1 million dollars of market cap did at least three top traders buy in the last hour?
- follow these five handles and tell me each new buy above 500 dollars.
- for this coin address, who among the tracked traders still holds, and who already sold?
what the agent gets back: coins being bought now
you ask: what are top traders buying right now? the agent calls get_hot_coins with window 1h. one row of the answer on December 2, 2026 at 23:06 UTC, shortened.
{
"symbol": "AGI",
"chain": "solana",
"mcap": 57654,
"change1h": 96.8,
"traders": 36,
"topTraders": 15,
"topStillIn": 5,
"sold": 26,
"boughtUsd": 26400,
"soldUsd": 14436,
"liquidityUsd": 17426,
"firstBuyMinAgo": 39,
"lastBuyMinAgo": 2
}
- 36 tracked traders bought, 15 of them top traders, and only 5 of those 15 still hold: reading topTraders alone would miss that most had already sold.
- sold is how many of the buyers have sold, at least in part. compare boughtUsd with soldUsd the same way.
- liquidityUsd is what the pool can absorb: a small pool moves a lot on a small order.
- mcap or liquidityUsd can be null for a coin that is minutes old. null means not known yet, not zero.
- get_hot_coins covers every tracked trader. for pumpfun accounts only, rank them with get_leaderboard, then follow them with get_live_trades.
follow a watchlist without polling profiles
pass up to 25 handles in traders. one call returns the new trades of the whole list.
curl -s https://copy.top/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_live_trades","arguments":{"side":"buy","min_usd":500,"limit":5}}}'
- the answer carries a cursor. send it back as since on the next call and you only get what is new.
- once a minute is plenty, and it leaves room under the limit of about 20 calls a minute.
- without traders, the same tool is the raw tape: the latest 30 trades, filtered by side and min_usd.
alerts when several top traders buy the same coin
get_alerts returns events since a cursor. you set the thresholds: min_top_traders (3 by default), min_trade_usd (5,000 by default) and max_mcap_usd to ignore larger coins.
- without since, the call covers the last 15 minutes.
- events are written for a bot: each one has a kind, a time and an id, so you can skip the ones you already sent.
| confluence | several top traders on one coin | how many, how many still hold, dollars in and out |
|---|---|---|
| big_trade | one large buy or sell | the trader, the side and the dollars |
| thesis | a trader wrote why | the text and the coin |
pump.fun MCP or pump.fun API?
| an agent in a chat or an IDE | MCP | the agent picks the tool and the arguments itself |
|---|---|---|
| a bot, a script or a dashboard | REST API | plain GET requests that return JSON, same data, see the pump.fun api guide |
| coin creation and swaps | pump.fun's SDKs | they build and sign transactions, this server does not |
when a call fails
- a name returns the wrong person: several accounts can share a name. call search first, then use the handle it returns, such as pf_ followed by letters and digits.
- roi and win rate are null: the trader has fewer than 10 closed positions in 30 days.
- too many calls from one address without a key: wait a minute, or add a free key in the Authorization header.
- the agent does not see the tools: restart its session after you add the server.
what this server does not do
it does not create coins and it does not sign swaps. to build transactions, use pump.fun's official SDKs: the pumpfun sdk page below lists them. the two fit together: one tells you what is happening, the other acts on it.
faq
is there a pump.fun MCP server?
yes. copy.top's is hosted at https://copy.top/mcp and covers pumpfun traders, what they buy, live trades and alerts. community servers also exist to create coins or send swaps.
do I need a Solana rpc url or a wallet key?
no. the server is hosted: you add one address and your agent can call it.
can it buy or sell on pump.fun?
the public tools place no order. with a free key, an agent can paper trade with virtual dollars at real prices. trading on your own copy.top account is a separate beta that you turn on yourself.
is it free?
yes. about 20 calls a minute without a key. a free key raises the limit. there is no paid plan.
how do I follow a few pump.fun traders?
call get_live_trades with their handles in traders, then pass the returned cursor back as since, about once a minute.
how do I add pump.fun data to Claude?
in Claude Code, run the claude mcp add command above. in claude.ai or Claude Desktop, add a custom connector with the address https://copy.top/mcp.
is it an official pump.fun server?
no. copy.top is independent and not affiliated with pump.fun.
copy.top