chainanalyzer-mcp
v1.8.0Blockchain AML for AI agents: risk scoring, sanctions, tx & bridge tracing across 12 chains.
Values you need
| Variable | What it is | |
|---|---|---|
CHAINANALYZER_API_KEY | optional secret | ChainAnalyzer API key (tfk_...) for subscription billing (Pro plan or higher). Use this or X402_PRIVATE_KEY. |
X402_PRIVATE_KEY | optional secret | Hex EVM private key. When set, the server pays each call automatically in USDC on Base via x402 (no account, no extra install). Use a dedicated low-balance wallet with no EIP-7702 delegation. Use this or CHAINANALYZER_API_KEY. |
X402_MAX_USD_PER_CALL | optional | Per-call x402 payment limit in USD (default 1.00). Calls priced above it are refused before signing; batch_screening ($2.50) needs 2.50 or more. Default: 1.00 |
X402_NETWORK | optional | x402 payment network: base (default and only supported value) Default: base |
CHAINANALYZER_BASE_URL | optional | Override the API base URL (default: https://chain-analyzer.com) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add chainanalyzer-mcp -- npx -y chainanalyzer-mcp@1.8.0Add to
claude_desktop_config.json{
"mcpServers": {
"chainanalyzer-mcp": {
"args": [
"-y",
"chainanalyzer-mcp@1.8.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"chainanalyzer-mcp": {
"args": [
"-y",
"chainanalyzer-mcp@1.8.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"chainanalyzer-mcp": {
"args": [
"-y",
"chainanalyzer-mcp@1.8.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.chainanalyzer-mcp]
command = "npx"
args = ["-y", "chainanalyzer-mcp@1.8.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: check_address_risk, sanctions_check, hack_exposure_lookup, freeze_status, hack_exposure_batch, trace_transaction, detect_coinjoin, cluster_wallet, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json