Chainanalyzer Mcp

io.github.rascal-3由 GitHub 帳號 rascal-3 發布v1.7.0更新於 Nov 3, 2026

Blockchain AML for AI agents: risk scoring, sanctions, tx & bridge tracing across 12 chains.

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

概覽

AI 產生的概覽

ChainAnalyzer MCP 為 AI 助理提供區塊鏈反洗錢工具:跨 12 條鏈的地址風險評分、制裁篩查、交易與跨鏈橋資金追蹤。

可以做什麼
  • 評分與篩查地址:AML 風險評分、OFAC/FATF/JFSA 制裁篩查,以及最多 50 個地址的批次篩查
  • 追蹤資金:搭配機器學習異常偵測的交易流向追蹤,以及多跳跨鏈橋鑑識追蹤
  • 分析錢包與模式:以圖分析進行錢包分群,以及比特幣 CoinJoin/混幣模式偵測
  • 涵蓋比特幣、以太坊、Solana、TRON、XRP 及多條 EVM 鏈
適用情境
適合需要查核加密地址或交易是否涉及合規、制裁風險或可疑資金流向,或需要跨鏈、跨橋追蹤資金的情境。偏向反洗錢與合規盡職調查,而非一般區塊鏈資料瀏覽。
執行需求
透過 npx 在本機執行(需 Node.js)。需要 ChainAnalyzer API 金鑰(CHAINANALYZER_API_KEY),或用於逐次 USDC 付款的 X402_PRIVATE_KEY 錢包私鑰;x402 模式另需安裝 x402 npm 套件。可選 X402_NETWORK(base 或 solana)與 CHAINANALYZER_BASE_URL。需能連線至 ChainAnalyzer API。
安裝前請注意
所有工具皆按次計費(約 0.50 至 5.00 美元),可用方案額度或 USDC 微付款。X402_PRIVATE_KEY 是簽署付款用的錢包私鑰,可支配真實資金,建議使用專用的低餘額錢包。送出的地址與交易會傳送至第三方 ChainAnalyzer API。API 金鑰模式下部分工具需要較高方案。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

chainanalyzer-mcp

MCP Server for ChainAnalyzer — multi-chain blockchain AML risk analysis for AI agents.

Scan any address across 12 chains, all live for self-serve — Bitcoin, Ethereum, Polygon, BNB Smart Chain, Base, Arbitrum, Optimism, Avalanche, Solana, Kaia, TRON, and XRP. 76+ detection rules, ML anomaly scoring, and Neo4j graph analysis.

Tools

ToolDescriptionPrice
check_address_riskAML risk score for any blockchain address$1.00
sanctions_checkOFAC / FATF / JFSA sanctions screening$0.50
hack_exposure_lookupIs this address connected to a known hack (e.g. Binance 2026)? Verdict, hop distance from the attacker, role and lower-bound amounts per incident (EVM, TRON, Solana, Bitcoin)$0.50
freeze_statusIs this address frozen / blacklisted by a stablecoin issuer (USDT, USDC, JPYC ...)? Current state per token with timestamps$0.10
hack_exposure_batchKnown-hack exposure for up to 50 addresses in one call (deposit-list screening)$5.00
trace_transactionTransaction flow tracing with ML anomaly detection$3.00
detect_coinjoinCoinJoin / mixing pattern detection (Bitcoin)$1.00
cluster_walletWallet clustering via Neo4j graph analysis$2.50
batch_screeningBatch AML screening (up to 50 addresses)$5.00
bridge_flow_traceMulti-hop cross-chain forensic trace with Solver detection + same-intent correlation (NEAR Intents / Wormhole / Stargate / Across / Synapse / Hop / deBridge)$3.00

Agent framework examples

Ready-to-use tools for LangChain, OpenAI Agents SDK, Vercel AI SDK and ElizaOS (pay per call over x402 or with an API key): examples/.

Quick Start

Claude Desktop / Claude Code

Add to your MCP configuration:

json
{  "mcpServers": {    "chainanalyzer-aml": {      "command": "npx",      "args": ["-y", "chainanalyzer-mcp"],      "env": {        "CHAINANALYZER_API_KEY": "tfk_your_api_key"      }    }  }}

From Source

bash
git clone https://github.com/rascal-3/chainanalyzer-mcp.gitcd chainanalyzer-mcpnpm installnpm start

Agent Skill & Claude Code Plugin

The repo ships an Agent Skill that tells the agent when to use these tools, how to pick the chain from the address format, which tool to call first, and how to report results. It works with any agent that reads SKILL.md (Claude Code, Cursor, Codex CLI, Gemini CLI, OpenClaw, ...).

Claude Code (plugin: MCP server + skill in one step)

/plugin marketplace add rascal-3/chainanalyzer-mcp/plugin install chainanalyzer-aml@chainanalyzer

Set CHAINANALYZER_API_KEY in your shell environment (or X402_PRIVATE_KEY for pay-per-request). The plugin's .mcp.json reads it from there.

Any other agent

Copy skills/chainanalyzer-aml/ into your agent's skills directory and configure the MCP server as shown in Quick Start.

MCP Registry

Listed in the official MCP Registry as io.github.rascal-3/chainanalyzer-mcp.

Authentication

Choose one of three modes:

1. API Key (all plans, including Free)

Create a tfk_ API key at chain-analyzer.com → Account → Settings → API Keys. Every plan can issue keys; the Free plan includes 10 scans/month, enough to try sanctions, risk, trace, CoinJoin and cluster before paying. batch_screening needs Starter or above and bridge_flow_trace needs Business or above in API-key mode (x402 mode has no plan gates). Rate limits by plan: Free 10/min, Starter 30/min, Pro 60/min, Business 120/min, Enterprise 300/min.

json
{  "env": {    "CHAINANALYZER_API_KEY": "tfk_your_api_key"  }}

2. x402 USDC Payment (Pay-Per-Request)

No account needed. Pay with USDC on Base or Solana per request.

json
{  "env": {    "X402_PRIVATE_KEY": "your_wallet_private_key",    "X402_NETWORK": "base"  }}

Requires the x402 npm package: npm install x402

3. Dev Mode

No authentication. Works when the ChainAnalyzer server has X402_ENABLED=false.

json
{  "env": {    "CHAINANALYZER_BASE_URL": "http://localhost:3000"  }}

Environment Variables

VariableDescriptionRequired
CHAINANALYZER_API_KEYtfk_ API key (any plan, Free included)One of API key or x402
X402_PRIVATE_KEYWallet private key for USDC paymentsOne of API key or x402
X402_NETWORKPayment network: base or solana (default: base)No
CHAINANALYZER_BASE_URLAPI base URL (default: https://chain-analyzer.com)No

Example Usage

Once configured, ask your AI agent:

"Check if this Ethereum address is sanctioned: 0x1234..."

"Analyze the risk score for this Solana wallet: ABC123..."

"Trace the fund flow of this Bitcoin transaction and check for mixing patterns"

"Screen these 20 addresses for AML compliance"

The agent will automatically call the appropriate ChainAnalyzer tools.

Supported Chains

All 12 chains are live for self-serve plans.

ChainHighlights
BitcoinOFAC screening, dust attacks, peel chains, CoinJoin detection
Ethereum18+ detectors, Neo4j graph analysis, sanctions, mixers
Polygon / BNB Smart Chain / Base / Arbitrum / Optimism / Avalanche / KaiaFull EVM AML suite, bridge tracing
SolanaToken security (rug pull, honeypot), wallet drainer detection, bridge tracing
TRONUSDT flow screening, sanctions (independent scanner)
XRPExchange / issuer labels, sanctions (independent scanner)

bridge_flow_trace supports EVM chains, Solana and Kaia. detect_coinjoin is Bitcoin only.

Links

License

MIT - see LICENSE


Built by refinancier, inc.

來源:README.md,提交 ef6d3cf

工具

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

版本歷史

3
  1. v1.7.0最新Nov 3, 2026
  2. v1.5.0Oct 18, 2026
  3. v1.1.1Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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