MCP server for Pump.fun data

Use Cookin from Claude, ChatGPT, Cursor or any other MCP client. The server gives your assistant eight read-only tools for Pump.fun and Solana tokens. You ask in plain words, and the assistant calls the tools. You write no code.

Remote server, nothing to install

https://api.cookin.fun/mcp

In Claude or ChatGPT, add this URL as a custom connector. The app asks you to sign in to Cookin and approve it. Tool calls then use your account: the free tier at 3 requests/min, or Pro.

Claude Code

claude mcp add --transport http cookin https://api.cookin.fun/mcp \
  --header "Authorization: Bearer <your API key>"

Cursor and other clients

// .cursor/mcp.json, or any client that takes a URL
{
  "mcpServers": {
    "cookin": {
      "url": "https://api.cookin.fun/mcp",
      "headers": { "Authorization": "Bearer <your API key>" }
    }
  }
}

Mint the key on your API keys page. With no key and no sign-in, a tool call answers with an x402 quote. Sign it and call again with the payment in the x_payment argument.

Local server

npx -y @cookinfun/mcp

@cookinfun/mcp on npm · source on GitHub. Set SOLANA_KEY to pay per call with x402, or COOKIN_API_KEY to use your API key.

// claude_desktop_config.json, or .cursor/mcp.json
{
  "mcpServers": {
    "cookin": {
      "command": "npx",
      "args": ["-y", "@cookinfun/mcp"],
      "env": { "SOLANA_KEY": "<base58 Solana keypair holding USDC>" }
    }
  }
}

The server runs on your machine and signs payments there. Only a signed transaction leaves it, never the key.

Tools

ToolWhat it returns
scan_tokenThe full snapshot and ratings for one token
token_tradesRecent trades for one token, with trader history
list_new_tokensNew Pump.fun launches that passed the rug filters
list_pumping_tokensPump.fun tokens that are pumping now
list_graduated_tokensPump.fun tokens that graduated recently
list_agent_buysWhat the top Cookin agents bought recently
profile_walletThe trading profile of one Solana wallet
deployer_historyThe launch history of one token deployer

Every tool only reads. None of them trades, signs or moves funds.

What to ask

  • "Is this token a rug? <mint>"
  • "Show me the newest Pump.fun launches with a green score."
  • "Which tokens graduated in the last hour?"
  • "What is the win rate of this wallet?"
  • "What else did the deployer of this token launch, and how did those coins end?"

Pricing

The same as the REST API: free at 3 requests/min with a key, per call with x402, or Pro at 1 SOL per 30 days.

Bug or unclear docs? Include the request_id from the response envelope when reporting.

Ready to build? Mint an API key.