three.ws KOL

io.github.nirholas由 GitHub 帳號 nirholas 發布v0.1.2更新於 Oct 24, 2026

Per-wallet KOL deep dive — a tracked trader's portfolio P&L and its trades on a given mint.

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

唯讀 MCP 伺服器,讓助理檢視某個被追蹤 KOL 交易者的 Solana 錢包:持倉、鏈上損益,以及該錢包在指定代幣上的交易。

可以做什麼
  • 讀取單一 KOL 錢包的即時投資組合卡片:持倉市值、持倉數量、最大持倉、30 天已實現損益、勝率、交易筆數與成交量
  • 列出該錢包在指定 mint 上的近期買賣紀錄,包含方向、SOL 數量、代幣數量、價格、美元金額與時間,依時間由新到舊
  • 區分「錢包無活動」與「上游服務故障」:後者回報上游錯誤,而不是空卡片
適用情境
適合助理需要評估某位 Solana 聰明錢交易者、判斷是否跟單或進一步分析時使用,也適合查看某個錢包對特定代幣的操作。若要查看全部被追蹤 KOL 的排名,或某代幣上所有錢包的交易,應改用搭配的情報伺服器。
執行需求
需要 Node.js 20 或更新版本,透過 npx 或 npm install 在本機執行。需要能連線到 three.ws API;可選環境變數 THREE_WS_BASE 指向其他部署,THREE_WS_TIMEOUT_MS 設定單次請求逾時。用戶端不需要 API 金鑰。
安裝前請注意
所有工具皆為唯讀,無法簽署、花費或發布任何內容。查詢的錢包地址與代幣地址會傳送到 three.ws 服務,該服務再向第三方資料供應商取得持倉與交易資料。損益數據由該服務計算,沒有歷史紀錄時可能為空值,僅供參考,不構成投資建議。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

[three.ws]

@three-ws/kol-mcp

Track one smart trader: a tracked KOL wallet's holdings, real on-chain P&L, and its trades on a given mint, from any AI agent.

[npm] [license] [node] [MCP Registry] [three.ws]


A Model Context Protocol server for the per-wallet KOL deep dive. Where @three-ws/intel-mcp ranks the whole tracked KOL set (kol_leaderboard) and shows everyone's trades on a mint (kol_trades), this server zooms in on one smart trader: pull their live portfolio card (holdings plus real on-chain P&L), then inspect their own buys/sells of a specific token: everything an agent needs to decide whether to copy or analyze them.

Holdings come from the three.ws Birdeye proxy (the Birdeye key lives server-side); P&L is FIFO-computed from the wallet's own on-chain trades, and trade history comes from the three.ws Helius-backed KOL feed. All live, read-only: no API key, signer, or payment on the client. Point THREE_WS_BASE at a deployment and go.

Install

bash
npm install @three-ws/kol-mcp

Or run with npx (no install):

bash
npx @three-ws/kol-mcp

Quick start

Claude Code, one line:

bash
claude mcp add kol -- npx -y @three-ws/kol-mcp

Claude Desktop / Cursor (claude_desktop_config.json or mcp.json):

json
{	"mcpServers": {		"kol": {			"command": "npx",			"args": ["-y", "@three-ws/kol-mcp"]		}	}}

Inspect the surface with the MCP Inspector:

bash
npx -y @modelcontextprotocol/inspector npx @three-ws/kol-mcp

Tools

ToolTypeWhat it does
get_wallet_portfolioread-onlyOne KOL wallet's live portfolio card: holdings value, position count and top holding, plus 30d realized P&L, win rate, trades and volume from its own on-chain trades.
get_wallet_tradesread-onlyThat wallet's recent buys/sells of a given mint — side, SOL size, token amount, price, USD value, and timing, newest first.

Both tools read live data: holdings, P&L and trade feeds move between calls, so neither is idempotent.

Input parameters

get_wallet_portfolio — wallet (required).

get_wallet_trades — wallet (required), mint (required), limit (1–100, default 20).

The three.ws trade feed is mint-keyed (it scans every tracked KOL wallet for activity on one mint), so a per-wallet view is that feed narrowed to your wallet. get_wallet_trades therefore needs both a wallet and a mint. To see every tracked wallet's trades on a mint, use kol_trades in @three-ws/intel-mcp.

Example

jsonc
// get_wallet_portfolio> { "wallet": "5xY…KoL" }{  "ok": true,  "wallet": "5xY…KoL",  "has_activity": true,  "portfolio_value_usd": 38120,  "holdings": 14,  "top_token": { "symbol": "THREE", "valueUsd": 21500 },  "realized_pnl_usd": 124300,  "win_rate": 0.64,  "total_trades": 412,  "volume_usd": 2840000,  "pnl_source": "onchain-fifo",  "pnl_window": "30d"}
jsonc
// get_wallet_trades> { "wallet": "5xY…KoL", "mint": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump", "limit": 3 }{  "ok": true,  "wallet": "5xY…KoL",  "mint": "FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump",  "count": 2,  "trades": [    { "side": "buy", "amountSol": 4.2, "amountToken": 1830000, "price": 0.0000022, "usd": 612.4, "time": "2026-06-24T09:12:03.000Z", "source": "kol", "label": "Top Trader" }  ]}

has_activity: false on a portfolio (no holdings and no trades) means the proxy has no recorded history for that address yet: an honest "no data", not a failure. A null P&L field with pnl_source: null is the same kind of honesty at field level: three.ws has no trade history for that wallet in the window, so it reports nothing rather than a zero that would read as a flat record.

An outage is never dressed up as either of those. When the holdings provider is down or rate-limited, three.ws omits the wallet's row rather than inventing one, and get_wallet_portfolio fails with upstream_unavailable instead of answering with an empty card. A quiet wallet and a dark provider are different answers, and an agent copying a trader needs to be able to tell them apart.

Examples

Runnable examples live in examples/:

bash
node examples/list-tools.mjs     # both tools with their full input schemasnode examples/wallet-card.mjs    # a trader's portfolio card + trades, live

Both spawn this server over stdio and read the live public KOL API. Every tool here is read-only, so nothing can be signed, spent, or published. See examples/README.md for expected output.

Requirements

  • Node.js >= 20.
  • Network access to https://three.ws (or your own THREE_WS_BASE).

Environment variables

VariableRequiredDefault
THREE_WS_BASEnohttps://three.ws
THREE_WS_TIMEOUT_MSno20000

No key on the client: the Birdeye key that backs the holdings half and the Helius key behind the trade feed both live server-side on three.ws.

Links


Part of the three.ws SDK suite — 3D AI agents, on-chain identity, and agent payments.
Website · Changelog · GitHub

來源:packages/kol-mcp/README.md,提交 c8f2cde

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.1.2最新Oct 10, 2026
  2. v0.1.1Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分