Coin Scout

io.github.dennisyilmaz由 GitHub 帳號 dennisyilmaz 發布v0.3.0更新於 Nov 5, 2026

Read-only Solana MCP server for on-chain analysis and fraud investigation, backed by Helius

已驗證STDIO僅桌面資料庫金融安全與監控

概覽

AI 產生的概覽

唯讀的 Solana 鏈上鑑識伺服器,讓助理追蹤資金流向、聚類錢包、篩查代幣跑路風險並整理案件檔案。

可以做什麼
  • 分析錢包與代幣:持倉組合、資金進出型態、交易對手、含風險評分的跑路篩查
  • 追蹤最多 5 跳的資金流並標註當時美元價值,跟進跨鏈橋並繼續追蹤 EVM 一側
  • 偵測刷量交易、找出同一人控制的錢包群、比較多個錢包的關聯強度
  • 依代幣計算錢包損益,並對單筆交易做餘額變動與相關代幣篩查
  • 查詢鏈上原始資料:餘額、帳戶、交易、轉帳、兌換、持有者、DAS 資產及唯讀 RPC
  • 把追蹤結果與標籤存入本機案件檔案,並匯出附 SVG 圖的 Markdown 報告
適用情境
適合調查被盜或轉移的資金、判斷代幣是否有跑路或虛假成交量風險,或驗證多個錢包是否屬於同一操作者。也適合在聊天客戶端中做一般性的唯讀 Solana 資料查詢。
執行需求
以本機程序執行,需要 Node.js 22.19 或更新版本(可用 MCPB 套件、單一檔案腳本或從原始碼建置)。必須透過 HELIUS_API_KEY 提供 Helius API 金鑰;選用的 ETHERSCAN_API_KEY 可把 EVM 追蹤擴展到以太坊以外的鏈。需要連線至 Helius 及若干第三方資料服務。
安裝前請注意
必須提供 HELIUS_API_KEY,ETHERSCAN_API_KEY 為選用,各自只會傳送給對應服務商。查詢會把地址、簽章與代幣鑄造地址傳送給 Helius、DefiLlama、DexScreener、跨鏈橋服務以及 Blockscout 或 Etherscan。設計上為唯讀,但會在本機目錄寫入案件檔案。風險評分與標籤屬啟發式判斷,抽樣結果可能只是下限。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

[coin-scout: Solana forensics for AI agents]

Give your AI agent a Solana forensics lab.

Trace stolen funds across hops and bridges, unmask wallet clusters run by one operator and screen tokens for rug risk, straight from a chat with Claude or any MCP client. Read-only, powered by Helius.

[CI] [Latest release] [OpenSSF Scorecard] [MIT license]

Install · What it can do · How it works · Tools · Privacy

[An agent asks coin-scout whether BONK is a rug risk. analyze_token returns risk 5/100: mint and freeze authority renounced, top holder 9.5%, top 10 hold 39%, metadata still mutable.]

Numbers from a real analyze_token run on BONK, 5 November 2026.

What it can do

  • Follow the money. trace_funds walks transfers forward or backward up to 5 hops, values every edge in USD at the moment it moved, and stops at Wormhole, deBridge, Mayan and Circle CCTP crossings to tell you which chain and address the funds landed on. With followEvm it keeps going on the EVM side.
  • Know who is on the other end. 16,050 OKX wallets ship built in, each one proven by OKX's own signed proof-of-reserves message. Traces stop at exchange wallets and mark the address before them as a likely deposit address, so you know which exchange to ask.
  • Catch fake volume. detect_wash_trading reads trades straight from a token's pools and flags wallets trading with themselves, same-slot round trips and bot farms funded from one wallet.
  • Find the operator. find_cluster mines fee payers, co-signers, rent destinations, shared funders and same-slot activity to surface wallets one actor controls, with the signatures behind every link.
  • Screen before you buy. analyze_token checks mint and freeze authority, metadata mutability and holder concentration, and tells pools and other program-controlled holders apart from real whales.
  • See who profited. wallet_pnl prices every swap at the time it happened and flags sales of tokens the wallet never bought.
  • Build a case. Save traces and clusters to case files, label addresses with confidence and evidence, and export a Markdown report with SVG fund-flow diagrams.
  • Can't touch your money. No keys, no signing. The raw RPC tool forwards only read methods, so sendTransaction, requestAirdrop and friends never reach the network. The only thing it writes is your local case files.

Try asking:

  • "Profile wallet <address>: who funded it, where did its money go, anything suspicious?"
  • "Is <mint> a rug risk? Who actually holds the supply?"
  • "Trace funds out of <address> for 3 hops, save it to case exchange-hack, then export the report."
  • "Are these four wallets the same person?"
  • "Did <wallet> profit from <mint>, and who sent it tokens for free?"
  • "Is the volume on <mint> real, or bots trading with themselves?"

Install

You need a Helius API key (the free tier works) and Node.js 22.19 or newer. coin-scout speaks the 2026-07-28 MCP revision over stdio and Streamable HTTP, still serves 2025-era clients, and is listed in the official MCP Registry as io.github.dennisyilmaz/coin-scout.

Claude Desktop and other MCPB clients

[Download coin-scout.mcpb]

Open the downloaded coin-scout.mcpb with your client and paste your Helius API key when asked. The key is stored by the client, not in the bundle.

Claude Code

bash
curl -LO https://github.com/dennisyilmaz/coin-scout/releases/latest/download/coin-scout.mjsnode coin-scout.mjs

The single file is the whole server. Run interactively, it asks for your Helius key, copies itself to ~/.coin-scout/ and registers itself with claude mcp add at user scope. Restart Claude Code and the tools are there.

Any MCP client, from source

bash
git clone https://github.com/dennisyilmaz/coin-scout.git && cd coin-scoutnpm ci && npm run build
json
{  "mcpServers": {    "coin-scout": {      "command": "node",      "args": ["/absolute/path/to/coin-scout/build/index.js"],      "env": { "HELIUS_API_KEY": "your-key" }    }  }}

For Streamable HTTP instead of stdio, run node build/http.js. It binds 127.0.0.1:8787 only, rejects foreign Host headers, and serves GET /health with transport metrics.

Verify a download

Every release is built in GitHub Actions with signed build provenance, and ships a SHA256SUMS file and a CycloneDX SBOM (coin-scout.cdx.json).

bash
gh attestation verify coin-scout.mjs --repo dennisyilmaz/coin-scout

How it works

[Your AI agent calls coin-scout tools; coin-scout batches, paces and caches the RPC calls and queries Helius, DefiLlama and the bridge APIs]

Helius bills and rate-limits per RPC call, not per HTTP request, so raw parallelism just buys you 429s. The transport layer is built around that:

  • JSON-RPC micro-batching. Calls issued within a 4 ms window are coalesced into one HTTP request. Measured on a 50-call getTransaction fan-out: 8 HTTP requests instead of 50, 2.2x faster wall clock.
  • Adaptive batch sizing. A batch that gets 429'd is halved and the un-answered calls are requeued rather than failed; the size grows back on sustained success. Empirically the API accepts batches of 20 but rejects 50.
  • Cost-aware adaptive rate limiting. Request spacing scales with the number of calls in a request, so a 20-call batch is spaced like 20 calls. Concurrency halves and spacing doubles on each 429, then decay back. server_metrics reports the converged rate.
  • HTTP/2 + keep-alive over an undici pool, so there is no TLS handshake per call.
  • Two-tier TTL cache with in-flight coalescing. Finalized transactions and blocks cache for hours; balances for seconds. Concurrent identical calls share one promise.
  • Narrow payloads. Tools return one compact JSON document rather than raw node responses. The biggest lever on agent latency is tokens, not milliseconds.

Tools

Analysis (composite, start here)

ToolWhat it answers
analyze_walletPortfolio value, holdings, wallet age, in/out flow shape, top counterparties, earliest funders, risk flags
analyze_tokenRug screen: live mint/freeze authority, metadata mutability, supply, FDV, holder concentration (top1 / top10 / HHI) with pools and other program-controlled holders flagged, 0-100 risk score
trace_fundsBFS fund-flow graph, forward or backward, up to 5 hops: nodes, weighted edges valued in USD at the time of each transfer, terminal sinks with exchange and deposit-address labels, circular flows. Stops at bridges and reports where the funds went; followEvm traces the EVM destination 2 more hops
follow_bridgeFunds that left or entered Solana via Wormhole, deBridge, Mayan or Circle CCTP: other chain, recipient, amounts, destination-chain tx. Takes signatures, or an address to scan
trace_evmFund flow on Ethereum, Base, Arbitrum, BNB Chain and 9 other EVM chains: native and ERC-20 transfers valued in USD at the time, stopping at contracts and labelled addresses
identify_addressesWho is behind an address: built-in exchange wallets, Helius identity when your plan includes it, case and program labels, and a deposit-address check. Every label carries its source and confidence
detect_wash_tradingWash-trading score for a token from its highest-volume pools: self-cancelling wallets, same-slot and quick round trips, volume concentration, traders funded by one wallet. Suspicious traders come with a sample signature
find_clusterFrom one wallet, discovers likely co-controlled wallets: fee payers, co-signers, rent destinations, shared or sole funders, same-slot activity, creation time. Scored, with signature evidence
wallet_pnlRealized and unrealized PnL per token from swaps, priced at swap time. Flags sales of tokens never bought and, for one mint, who sent the tokens for free
find_counterpartiesEvery address a wallet transacted with, ranked, split by direction and per-mint volume
compare_walletsSybil / co-ownership test across 2-10 wallets: direct links, shared funders, counterparty Jaccard overlap, 0-100 link strength
investigate_transactionOne signature: enhanced parse, per-account balance deltas with USD at the time, rug screen on every mint involved, fee-payer profile

Case files

ToolWhat it does
case_updateCreate a case or add a summary, address labels (with confidence and evidence signatures) and dated notes
case_readList cases, read one, or search every case for an address before starting on it
case_exportWrite report.md with Mermaid diagrams plus one standalone SVG fund-flow diagram per saved trace or cluster

Pass case: "<name>" to trace_funds, find_cluster or follow_bridge to save the result into that case. Labels from any case show up in every tool's label field, so later investigations build on earlier ones. Cases live in ~/.coin-scout/cases/<name>/ as plain JSON.

[A fund-flow diagram from case_export: an exploited vault sends 1,240 SOL to a drainer wallet, which splits it between an exchange deposit and a Wormhole crossing to Ethereum]

A case_export diagram, drawn by coin-scout's own renderer. Illustrative data.

Data access

ToolBacked by
chain_statusgetEpochInfo + getPriorityFeeEstimate
get_balancesDAS getAssetsByOwner with native balance and USD pricing
get_accountgetMultipleAccounts (jsonParsed) with program labelling
get_transactionsHelius Enhanced Transactions: human-readable type, source, transfers, swap events
get_transaction_rawgetTransaction with logs, inner instructions, compute units
get_transfersgetTransfersByAddress: server-side counterparty / direction / mint / time filters, optional USD at the time of each transfer
get_transaction_historygetTransactionsForAddress: slot, time and status filters with cursor paging
get_swapsEnhanced history filtered to SWAP, normalised into sold/bought legs plus a per-mint net summary
get_token_holdersDAS getTokenAccounts
get_assets / search_assets / get_asset_activityFull DAS surface (NFTs, cNFTs, fungibles, Token-2022)
solana_rpcEscape hatch for read-only RPC and DAS methods: get*, is*, search*, minimumLedgerSlot, simulateTransaction
server_metricsBatch compression, cache hit rate, adaptive rate-limit state

Prompts

investigate_address, screen_token, trace_stolen_funds: each encodes an investigation order of operations.

Configuration

All optional except the API key. See .env.example.

VariableDefaultPurpose
HELIUS_API_KEY—Required
ETHERSCAN_API_KEY—Optional. Lets trace_evm and followEvm read every listed chain your Etherscan plan covers; without it only Ethereum works, through Blockscout
HELIUS_NETWORKmainnetmainnet or devnet
HELIUS_RPC_HOST<network>.helius-rpc.comOverride the RPC host
HELIUS_MAX_CONCURRENCY24Ceiling on in-flight HTTP requests
HELIUS_CONNECTIONS64undici pool size
HELIUS_MAX_BATCH_SIZE20Upper bound for JSON-RPC batching
HELIUS_BATCH_WINDOW_MS4Coalescing window
HELIUS_HTTP2trueDisable to force HTTP/1.1
HELIUS_TIMEOUT_MS30000Per-request timeout
HELIUS_MAX_RETRIES6Retries for single (non-batched) requests
HELIUS_CACHE_ENTRIES20000LRU capacity
COIN_SCOUT_MAX_TRACE_NODES400Hard cap on trace_funds graph size
COIN_SCOUT_MAX_PAGES20Hard cap on pagination loops
COIN_SCOUT_CASES_DIR~/.coin-scout/casesWhere case files are stored
COIN_SCOUT_ENV_FILE./.env, then one directory above the server fileExplicit .env path
PORT8787HTTP entry point only

Data and privacy

Everything runs on your machine. What leaves it:

  • Helius receives the addresses, signatures and mints you query, and your API key.
  • DefiLlama receives mint addresses and timestamps for usdAtTime prices.
  • WormholeScan, deBridge, Mayan and Circle receive transaction signatures when a bridge crossing is resolved.
  • DexScreener receives the mint address when detect_wash_trading looks up a token's pools.
  • Blockscout, or Etherscan when ETHERSCAN_API_KEY is set, receives EVM addresses when funds are traced on an EVM chain.

Only Helius and Etherscan get an API key, each only its own. Case files stay in your cases directory.

Accuracy notes

  • Analysis tools sample recent history. When a result carries truncated or sampleTruncated, its counts are lower bounds; raise transferSample for more coverage.
  • Current USD values come from Helius pricing and usdAtTime values from DefiLlama historical prices; both cover actively traded tokens only. A missing price means unknown, not zero.
  • wallet_pnl only knows what the swaps in its sample show. Tokens that arrived by transfer or before the sample have no cost basis; their sales are reported as unmatchedProceedsUsd rather than realized PnL.
  • find_cluster looks one funder up from the seed. Run it again on a strong member to go further.
  • Bridge resolution covers Wormhole, deBridge, Mayan and Circle CCTP. deBridge and CCTP can only be followed outbound; chains the server does not recognise are shown by raw chain id.
  • Built-in exchange labels come from OKX's proof-of-reserves snapshot of 1 November 2026, regenerated with scripts/okx-labels.ts. Deposit-address and hot-wallet labels are inferred from sweep patterns and say so in their confidence and source.
  • detect_wash_trading reads token transfers in and out of pools, so liquidity adds and removals count as trades, and volume routed through other program accounts is reported separately as routedVolume. Same-slot buy and sell is also what sandwich and arbitrage bots look like.
  • analyze_token scans up to 1000 token accounts. holderAccountsExact tells you whether the holder count is the real total or a floor. Holders whose owner is a program or a program-derived address are flagged isProgramOwned; concentration figures still include them, and programControlledPct says how much of the supply they hold.
  • Risk flags and scores are heuristics for triage. They point an investigation at the right transactions; they are not a verdict.

Contributing and security

See CONTRIBUTING.md for development setup and the checks CI runs. Report vulnerabilities privately as described in SECURITY.md.

License

MIT

來源:README.md,提交 07737e9

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

2
  1. v0.3.0最新Nov 5, 2026
  2. v0.2.0Nov 5, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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