MCP Server Studio
Blockchain AML for AI agents: risk scoring, sanctions, tx & bridge tracing across 12 chains.
Registry name: io.github.rascal-3/chainanalyzer-mcp
Add to claude_desktop_config.json:
{
"mcpServers": {
"chainanalyzer-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"CHAINANALYZER_API_KEY": "<CHAINANALYZER_API_KEY>",
"X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>",
"X402_MAX_USD_PER_CALL": "<X402_MAX_USD_PER_CALL>",
"X402_NETWORK": "<X402_NETWORK>",
"CHAINANALYZER_BASE_URL": "<CHAINANALYZER_BASE_URL>"
}
}
}
}Run in your terminal:
claude mcp add chainanalyzer-mcp -e CHAINANALYZER_API_KEY='<CHAINANALYZER_API_KEY>' -e X402_PRIVATE_KEY='<X402_PRIVATE_KEY>' -e X402_MAX_USD_PER_CALL='<X402_MAX_USD_PER_CALL>' -e X402_NETWORK='<X402_NETWORK>' -e CHAINANALYZER_BASE_URL='<CHAINANALYZER_BASE_URL>' -- npx -y [email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"chainanalyzer-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"CHAINANALYZER_API_KEY": "<CHAINANALYZER_API_KEY>",
"X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>",
"X402_MAX_USD_PER_CALL": "<X402_MAX_USD_PER_CALL>",
"X402_NETWORK": "<X402_NETWORK>",
"CHAINANALYZER_BASE_URL": "<CHAINANALYZER_BASE_URL>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"chainanalyzer-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"CHAINANALYZER_API_KEY": "<CHAINANALYZER_API_KEY>",
"X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>",
"X402_MAX_USD_PER_CALL": "<X402_MAX_USD_PER_CALL>",
"X402_NETWORK": "<X402_NETWORK>",
"CHAINANALYZER_BASE_URL": "<CHAINANALYZER_BASE_URL>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"chainanalyzer-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"CHAINANALYZER_API_KEY": "<CHAINANALYZER_API_KEY>",
"X402_PRIVATE_KEY": "<X402_PRIVATE_KEY>",
"X402_MAX_USD_PER_CALL": "<X402_MAX_USD_PER_CALL>",
"X402_NETWORK": "<X402_NETWORK>",
"CHAINANALYZER_BASE_URL": "<CHAINANALYZER_BASE_URL>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
CHAINANALYZER_API_KEY | No | ChainAnalyzer API key (tfk_...) for subscription billing (Pro plan or higher). Use this or X402_PRIVATE_KEY. |
X402_PRIVATE_KEY | No | 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… |
X402_MAX_USD_PER_CALL | No | 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. |
X402_NETWORK | No | x402 payment network: base (default and only supported value) |
CHAINANALYZER_BASE_URL | No | Override the API base URL (default: https://chain-analyzer.com) |