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