Skip to main content
Glama
@cookinfun/mcp

@cookinfun/mcp

by cookinfun

@cookinfun/mcp

MCP server for the Cookin API: Solana and Pump.fun token intelligence for agents. Ask it who is behind a token before entering, while holding, or after exiting.

Eight tools, paid per call in USDC over x402 with no account, or covered by a Cookin Pro key.

What it answers

  • Coordinated wallets. Which wallets act as one group (bundles), how much supply they hold, and how many of those groups are heavy net sellers.

  • Holder quality. Share of supply held by wallets that historically pick winners, by quick sellers, by suspicious wallets, and by wallets that nuke charts when they exit.

  • KOL positions. Which tracked KOL wallets hold, and how much.

  • Wallet reputation. One wallet's lifetime PnL, ROI, win rate, hold times, and smart-money classification.

  • Deployer history. Every token a deployer launched, its bond rate, and a survival curve across market cap rungs.

  • Ratings. A green, yellow, red or neutral verdict per metric, using the same thresholds as the Cookin UI.

Related MCP server: Cabal-Hunter

Install

Claude Desktop

Add this to claude_desktop_config.json:

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

Cursor

In .cursor/mcp.json:

{
  "mcpServers": {
    "cookin": {
      "command": "npx",
      "args": ["-y", "@cookinfun/mcp"],
      "env": { "COOKIN_API_KEY": "<Cookin Pro key>" }
    }
  }
}

Anything else that speaks MCP

SOLANA_KEY=<base58 keypair> npx -y @cookinfun/mcp

Paying

Pick one. The server prints which mode it started in, on stderr.

Environment

Mode

Cost

SOLANA_KEY

Pay per call with x402

$0.01 per call, $0.02 for a full token snapshot

COOKIN_API_KEY

Cookin Pro

1 SOL per 30 days, 600 requests per minute

neither

Unpaid

Every call returns 402 and says how to pay

SOLANA_KEY is a base58-encoded 64-byte Solana keypair. The wallet needs USDC only: the facilitator pays the network fee, and a call that errors is never charged. Mint a Pro key at cookin.fun/account/api-keys.

Optional:

  • COOKIN_MAX_PAYMENT caps what one call may pay. Default $0.05.

  • COOKIN_BASE_URL points at another host. Default https://api.cookin.fun.

Tools

Tool

Price

Returns

scan_token

$0.02

Full snapshot for one mint: score, holders, bundles, KOLs, cohorts, signals, ratings

token_trades

$0.01

Recent trades, each with the trader's history at that moment

list_new_tokens

$0.01

New launches that passed the rug filters

list_pumping_tokens

$0.01

Tokens currently pumping

list_graduated_tokens

$0.01

Recent graduates

list_agent_buys

$0.01

What the top Cookin agents bought most recently

profile_wallet

$0.01

One wallet's lifetime trading profile

deployer_history

$0.01

Every token one deployer launched

Spend less: start with one scan_token, and stop if its ratings already answer the question. fields trims a snapshot at the same price. Deployer history changes slowly, so cache it.

Remote endpoint

The same tools are served remotely at https://api.cookin.fun/mcp, with nothing to install. Point an MCP host at that URL. A tool call with no payment returns the x402 quote in its result; sign it and call again with the payment in the x_payment argument, or send a Pro key in the Authorization header.

Use the local package instead when you want the server to hold the wallet and pay for calls by itself.

Reference

Development

npm install
npm test          # unit tests, no network
npm run build     # tsc to dist/
npm start         # run the server over stdio

Releasing

package.json and server.json both carry the version, and the MCP Registry rejects a mismatch. Bump both, publish to npm first (the registry reads mcpName from the published package), then publish the metadata:

npm publish --access public
mcp-publisher login github
mcp-publisher publish

MIT

Available Tools

8 tools
deployer_historyDeployer launch historyA

Every token one deployer has launched, with its bond rate, peak market caps, and a survival curve across market cap rungs. Changes slowly, so cache the answer. Costs $0.01 per call (no payment configured, calls will return 402).

Inputs: address (required), limit, offset.

list_agent_buysWhat the top agents boughtA

Tokens the top Cookin trading agents bought most recently, with quality signals. The most-bought Cookin endpoint: it answers what proven strategies are doing right now. Costs $0.01 per call (no payment configured, calls will return 402).

Inputs: no named parameters.

list_graduated_tokensRecent graduatesA

Pump.fun tokens that recently graduated to Raydium or PumpSwap, with quality signals and ratings. Costs $0.01 per call (no payment configured, calls will return 402).

Inputs: no named parameters.

list_new_tokensNew launchesA

Newly launched Pump.fun tokens that passed Cookin's rug filters, with quality signals and ratings. Use it to find candidates. Costs $0.01 per call (no payment configured, calls will return 402).

Inputs: no named parameters.

list_pumping_tokensPumping tokensA

Pump.fun tokens currently pumping, with quality signals, holder behavior, and ratings. Costs $0.01 per call (no payment configured, calls will return 402).

Inputs: no named parameters.

profile_walletWallet trading profileA

Lifetime trading profile of one Solana wallet: PnL, ROI, win rate, hold times, bundle and smart-money flags, recent tokens traded. Use it to judge a buyer or seller you saw in a trade list. Costs $0.01 per call (no payment configured, calls will return 402).

Inputs: address (required).

scan_tokenScan one tokenA

Full Cookin snapshot for one Solana or Pump.fun token: quality score, holders, bundles (coordinated wallets), KOL positions, holder behavior cohorts, pump/dump signals, and a green/yellow/red rating per metric. The first call to make about a token, at any stage of its life. Costs $0.02 per call (no payment configured, calls will return 402).

Inputs: mint (required), fields.

token_tradesRecent trades for one tokenA

Recent trades for one token, each carrying the trader's history as it stood at that moment: PnL, win rate, bundle membership, smart-money flag. Use it to see who is buying or selling right now. Costs $0.01 per call (no payment configured, calls will return 402).

Inputs: mint (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool targets a clearly distinct action+object: token snapshot (scan_token), recent trades (token_trades), four filtered token lists (new, pumping, graduated, agent buys), wallet profile (profile_wallet), and deployer history (deployer_history). The list_ tools are differentiated by filter and description, so no tool is likely to be misselected.

    Naming Consistency4/5

    Most tools follow a verb_noun pattern (scan_token, list_*, profile_wallet), and the list_ family is highly consistent. Two tools deviate with noun_noun forms (token_trades, deployer_history), which is a minor but noticeable inconsistency.

    Tool Count5/5

    Eight tools is well-scoped for a token analytics server. Each tool serves a unique query type without redundancy, making the count appropriate and easy to navigate.

    Completeness4/5

    The surface covers token snapshot, trades, discovery via multiple list filters, wallet profiling, and deployer history—most core analytics needs. Minor gaps include no symbol/name search or historical price charts, but these are workable around the current tools.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      On-chain Solana token safety for trading agents — traces coordinated wallet funding, same-block Jito bundles, serial-rug deployers and live coordinated dumps into one Exit-Liquidity Risk verdict before a swap. Free tier, then $0.02 USDC/query via x402.
      1
      2
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to access Solana wallet analytics, token data, and DeFi tools via pay-per-request USDC micropayments using the x402 protocol, without API keys or subscriptions.
      13
      69 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables agents to query real-time labelled pump.fun intelligence—launch risk cards, creator reputation, rug/graduation flags, wallet profiles, and market regime—with paid endpoints settled per request via x402 USDC on Solana and free sample/regime tools.
      27
      1
      MIT