{
  "markdown": "# chainanalyzer-mcp\n\nMCP Server for [ChainAnalyzer](https://chain-analyzer.com) — multi-chain blockchain AML risk analysis for AI agents.\n\nScan 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.\n\n## Tools\n\n| Tool | Description | Price |\n|------|-------------|-------|\n| `check_address_risk` | AML risk score for any blockchain address | $1.00 |\n| `sanctions_check` | OFAC / FATF / JFSA sanctions screening | $0.50 |\n| `trace_transaction` | Transaction flow tracing with ML anomaly detection | $3.00 |\n| `detect_coinjoin` | CoinJoin / mixing pattern detection (Bitcoin) | $1.00 |\n| `cluster_wallet` | Wallet clustering via Neo4j graph analysis | $2.50 |\n| `batch_screening` | Batch AML screening (up to 50 addresses) | $5.00 |\n| `bridge_flow_trace` | Multi-hop cross-chain forensic trace with Solver detection + same-intent correlation (NEAR Intents / Wormhole / Stargate / Across / Synapse / Hop / deBridge) | $3.00 |\n\n## Quick Start\n\n### Claude Desktop / Claude Code\n\nAdd to your MCP configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"chainanalyzer-aml\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"chainanalyzer-mcp\"],\n      \"env\": {\n        \"CHAINANALYZER_API_KEY\": \"tfk_your_api_key\"\n      }\n    }\n  }\n}\n```\n\n### From Source\n\n```bash\ngit clone https://github.com/rascal-3/chainanalyzer-mcp.git\ncd chainanalyzer-mcp\nnpm install\nnpm start\n```\n\n## Authentication\n\nChoose one of three modes:\n\n### 1. API Key (Subscription)\n\nGet a `tfk_` API key from [chain-analyzer.com](https://chain-analyzer.com) (Pro plan).\n\n```json\n{\n  \"env\": {\n    \"CHAINANALYZER_API_KEY\": \"tfk_your_api_key\"\n  }\n}\n```\n\n### 2. x402 USDC Payment (Pay-Per-Request)\n\nNo account needed. Pay with USDC on Base or Solana per request.\n\n```json\n{\n  \"env\": {\n    \"X402_PRIVATE_KEY\": \"your_wallet_private_key\",\n    \"X402_NETWORK\": \"base\"\n  }\n}\n```\n\nRequires the `x402` npm package: `npm install x402`\n\n### 3. Dev Mode\n\nNo authentication. Works when the ChainAnalyzer server has `X402_ENABLED=false`.\n\n```json\n{\n  \"env\": {\n    \"CHAINANALYZER_BASE_URL\": \"http://localhost:3000\"\n  }\n}\n```\n\n## Environment Variables\n\n| Variable | Description | Required |\n|----------|-------------|----------|\n| `CHAINANALYZER_API_KEY` | `tfk_` API key (subscription auth) | One of API key or x402 |\n| `X402_PRIVATE_KEY` | Wallet private key for USDC payments | One of API key or x402 |\n| `X402_NETWORK` | Payment network: `base` or `solana` (default: `base`) | No |\n| `CHAINANALYZER_BASE_URL` | API base URL (default: `https://chain-analyzer.com`) | No |\n\n## Example Usage\n\nOnce configured, ask your AI agent:\n\n> \"Check if this Ethereum address is sanctioned: 0x1234...\"\n\n> \"Analyze the risk score for this Solana wallet: ABC123...\"\n\n> \"Trace the fund flow of this Bitcoin transaction and check for mixing patterns\"\n\n> \"Screen these 20 addresses for AML compliance\"\n\nThe agent will automatically call the appropriate ChainAnalyzer tools.\n\n## Supported Chains\n\n- **Bitcoin** — OFAC screening, dust attacks, peel chains, CoinJoin detection\n- **Ethereum** — 18+ detectors, Neo4j graph analysis, sanctions, mixers\n- **Polygon** — Full EVM AML suite, Etherscan V2 compatible\n- **Avalanche** — Full EVM AML suite, Routescan API\n- **Solana** — Token security (rug pull, honeypot), wallet drainer detection\n\n## Links\n\n- [ChainAnalyzer](https://chain-analyzer.com) — Web platform\n- [Documentation](https://chain-analyzer.com/docs/api) — API reference\n- [x402 Protocol](https://x402.org) — Pay-per-request standard\n\n## License\n\nMIT - see [LICENSE](LICENSE)\n\n---\n\nBuilt by [refinancier, inc.](https://chain-analyzer.com)\n",
  "bytes": 3741,
  "sha": "36de7525d7a46c40c15e2a0b3a4b2506b305e17a940bee705531c880d5b8b819",
  "repo_slug": "rascal-3/chainanalyzer-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_rascal_3_chainanalyzer_mcp_f9dab005/readme"
}