Coin Scout

io.github.dennisyilmazPublished by GitHub account dennisyilmazv0.3.0Updated Nov 5, 2026

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

VerifiedSTDIODesktop onlyDatabasesFinanceSecurity & Monitoring

Overview

AI-generated overview

Read-only Solana on-chain forensics server that lets an assistant trace funds, cluster wallets, screen tokens for rug risk and build case files.

What you can do
  • Profile wallets and tokens: portfolio, flow shape, counterparties, rug screen with risk score
  • Trace fund flows up to 5 hops with USD values, follow bridge crossings and continue on EVM chains
  • Detect wash trading, find co-controlled wallet clusters and compare wallets for shared ownership
  • Price wallet PnL per token and investigate single transactions with balance deltas
  • Query raw chain data: balances, accounts, transactions, transfers, swaps, holders, DAS assets and read-only RPC
  • Save traces and labels to local case files and export a Markdown report with SVG diagrams
When to use it
Useful when investigating stolen or moved funds, checking whether a token is a rug or has fake volume, or testing whether several wallets belong to one operator. Also fits general read-only Solana data lookups from a chat client.
Requirements
Runs locally as a Node.js 22.19 or newer process (MCPB bundle, single script, or built from source). Requires a Helius API key via HELIUS_API_KEY; an optional ETHERSCAN_API_KEY extends EVM tracing beyond Ethereum. Network access to Helius and several third-party data services.
Before you install
HELIUS_API_KEY is required and ETHERSCAN_API_KEY optional; each is sent only to its own provider. Queries send addresses, signatures and mints to Helius, DefiLlama, DexScreener, bridge services and Blockscout or Etherscan. Read-only by design, but it writes case files to a local directory. Risk scores and labels are heuristics, and sampled results may be lower bounds.

Installation

In SourceWeft

  1. Open Coin Scout in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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

Source: README.md at commit 07737e9

Tools

0
SourceWeft started this package once in an isolated sandbox, without credentials, to list its tools. That failed: the package type cannot run in the sandbox.

Version history

2
  1. v0.3.0LatestNov 5, 2026
  2. v0.2.0Nov 5, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts