Cookin Mcp

io.github.cookinfunv0.1.1更新於 Oct 4, 2026

Solana and Pump.fun token intelligence: bundles, holder quality, KOLs, deployer history.

已驗證STDIO僅桌面FinanceData & Analytics

概覽

AI 產生的概覽

讓助理取得 Solana 與 Pump.fun 代幣情報:綑綁錢包、持有者品質、KOL 持倉、錢包聲譽與部署者歷史。

功能
透過 stdio 提供八個工具,查詢 Cookin API 的代幣與錢包情報。scan_token 回傳單一 mint 的完整快照(評分、持有者、綑綁、KOL、群體、訊號、評級);token_trades 列出近期交易及每位交易者當時的歷史;list_new_tokens、list_pumping_tokens、list_graduated_tokens 與 list_agent_buys 呈現新發行與活動;profile_wallet 與 deployer_history 涵蓋單一錢包的長期表現,以及某部署者發行的所有代幣。結果會依指標給出綠、黃、紅或中性評級。
適用情境
適合在進場前、持有中或出場後查核 Solana 或 Pump.fun 代幣背後是誰,或查詢錢包聲譽與部署者歷史紀錄。它著重代幣研究,而非交易執行。
執行需求
以 npm 套件(@cookinfun/mcp)透過 stdio 在本機執行,需要 Node.js 與 npx。必須付費:使用 COOKIN_API_KEY 開通 Cookin Pro,或使用持有 USDC 的 SOLANA_KEY(base58 Solana 金鑰對)按次透過 x402 付款。COOKIN_MAX_PAYMENT 與 COOKIN_BASE_URL 為選用。需要連線至 Cookin API 的網路。僅支援桌面端。
安裝前請注意
SOLANA_KEY 是持有 USDC 並簽署交易的金鑰對;README 稱其留在本機、只有已簽章交易會離開,但金鑰外洩可能造成資金損失。呼叫需要付費:每次 $0.01,完整快照 $0.02,Pro 為每 30 天 1 SOL,單次上限由 COOKIN_MAX_PAYMENT 控制(預設 $0.05)。COOKIN_API_KEY 同樣是機密。呼叫會把代幣與錢包查詢傳送給 Cookin API。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Cookin Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@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.

Install

Claude Desktop

Add this to claude_desktop_config.json:

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

Cursor

In .cursor/mcp.json:

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

Anything else that speaks MCP

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

Paying

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

EnvironmentModeCost
SOLANA_KEYPay per call with x402$0.01 per call, $0.02 for a full token snapshot
COOKIN_API_KEYCookin Pro1 SOL per 30 days, 600 requests per minute
neitherUnpaidEvery 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

ToolPriceReturns
scan_token$0.02Full snapshot for one mint: score, holders, bundles, KOLs, cohorts, signals, ratings
token_trades$0.01Recent trades, each with the trader's history at that moment
list_new_tokens$0.01New launches that passed the rug filters
list_pumping_tokens$0.01Tokens currently pumping
list_graduated_tokens$0.01Recent graduates
list_agent_buys$0.01What the top Cookin agents bought most recently
profile_wallet$0.01One wallet's lifetime trading profile
deployer_history$0.01Every 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

bash
npm installnpm test          # unit tests, no networknpm 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:

bash
npm publish --access publicmcp-publisher login githubmcp-publisher publish

MIT

來源:README.md,提交 b79b7cb

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v0.1.1最新Oct 4, 2026