Solana and Pump.fun token intelligence: bundles, holder quality, KOLs, deployer history.
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.
Add this to claude_desktop_config.json:
{
"mcpServers": {
"cookin": {
"command": "npx",
"args": ["-y", "@cookinfun/mcp"],
"env": { "SOLANA_KEY": "<base58 Solana keypair holding USDC>" }
}
}
}
In .cursor/mcp.json:
{
"mcpServers": {
"cookin": {
"command": "npx",
"args": ["-y", "@cookinfun/mcp"],
"env": { "COOKIN_API_KEY": "<Cookin Pro key>" }
}
}
}
SOLANA_KEY=<base58 keypair> npx -y @cookinfun/mcp
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.| 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.
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.
npm install
npm test # unit tests, no network
npm run build # tsc to dist/
npm start # run the server over stdio
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
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y @cookinfun/mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-cookinfun-cookin-mcp": {
"command": "npx",
"args": [
"-y",
"@cookinfun/mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup reference@cookinfun/mcpnpmio.github.cookinfun/cookin-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.