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 分