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 分