Skip to content
MCP server
Registry

chainanalyzer-mcp MCP Server

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

chainanalyzer-mcp scores 67 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 10 tools. Filed under Finance. GitHub shows 1 stars. Package registries report about 129 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by rascal-3MITTypeScript1 stars
Trust score
67Good
Trust score 67 of 100, Good

Good trust

67 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 67 comes from

22 + 20 + 1 + 10 + 4 + 10 = 67. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity1 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 1 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "rascal-3-chainanalyzer-mcp": {      "command": "npx",      "args": [        "-y",        "chainanalyzer-mcp@1.8.0"      ],      "env": {        "CHAINANALYZER_API_KEY": "YOUR_CHAINANALYZER_API_KEY",        "X402_PRIVATE_KEY": "YOUR_X402_PRIVATE_KEY",        "X402_MAX_USD_PER_CALL": "1.00",        "X402_NETWORK": "base",        "CHAINANALYZER_BASE_URL": ""      }    }  }}

Environment variables

NameRequiredNotes
CHAINANALYZER_API_KEYSecretOptionalChainAnalyzer API key (tfk_...) for subscription billing (Pro plan or higher). Use this or X402_PRIVATE_KEY.
X402_PRIVATE_KEYSecretOptionalHex 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_CALLOptionalPer-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_NETWORKOptionalx402 payment network: base (default and only supported value)
CHAINANALYZER_BASE_URLOptionalOverride the API base URL (default: https://chain-analyzer.com)

Tools10Tool docs quality grade D

All capabilities
  • Batch AML screening (up to 50 addresses, 12 chains)

  • Multi-hop cross-chain forensic trace with Solver detection + same-intent correlation (NEAR Intents / Wormhole / Stargate / Across / Synapse / Hop / deBridge). Source chain: EVM chains or Solana

  • AML risk score for any blockchain address (12 chains)

  • Wallet clustering via Neo4j graph analysis

  • Takes a Bitcoin transaction id and decides from its structure whether it is a CoinJoin: iscoinjoin, mixertype, input / output counts and the groups of equal-value outputs

  • Is this address frozen / blacklisted by a stablecoin issuer (USDT, USDC, JPYC ...)? Current state per token with timestamps (Ethereum, Polygon, Avalanche, TRON)

  • Known-hack exposure for up to 50 addresses in one call (deposit-list screening)

  • Is 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)

  • OFAC / FATF / JFSA sanctions screening (12 chains)

  • Transaction flow tracing with ML anomaly detection (12 chains)

About

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 (12 chains)$0.10
sanctions_checkOFAC / FATF / JFSA sanctions screening (12 chains)$0.05
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.05
freeze_statusIs this address frozen / blacklisted by a stablecoin issuer (USDT, USDC, JPYC ...)? Current state per token with timestamps (Ethereum, Polygon, Avalanche, TRON)$0.02
hack_exposure_batchKnown-hack exposure for up to 50 addresses in one call (deposit-list screening)$1.00
trace_transactionTransaction flow tracing with ML anomaly detection (12 chains)$0.30
detect_coinjoinTakes a Bitcoin transaction id and decides from its structure whether it is a CoinJoin: is_coinjoin, mixer_type, input / output counts and the groups of equal-value outputs$0.10
cluster_walletWallet clustering via Neo4j graph analysis$0.25
batch_screeningBatch AML screening (up to 50 addresses, 12 chains)$2.50
bridge_flow_traceMulti-hop cross-chain forensic trace with Solver detection + same-intent correlation (NEAR Intents / Wormhole / Stargate / Across / Synapse / Hop / deBridge). Source chain: EVM chains or Solana$0.50

Prices are per call in x402 mode (USDC, from 2026-11-16). The live list is at https://chain-analyzer.com/x402/api/discover. The batch tools are a fixed price per call for up to 50 addresses.

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:

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

From Source

git clone https://github.com/rascal-3/chainanalyzer-mcp.git
cd chainanalyzer-mcp
npm install
npm 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.

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

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

No account needed. Set X402_PRIVATE_KEY and the server pays each call automatically in USDC on Base (x402 v2, exact scheme). No extra install is needed. (The ChainAnalyzer x402 API also accepts USDC on Solana when its 402 response offers it, but this server pays on Base only.)

{
  "env": {
    "X402_PRIVATE_KEY": "0x_private_key_of_a_dedicated_low_balance_wallet",
    "X402_MAX_USD_PER_CALL": "1.00"
  }
}
  • X402_MAX_USD_PER_CALL (default 1.00) caps a single payment. A call priced above it is refused before anything is signed. batch_screening costs $2.50, so set it to 2.50 or more to use that tool.
  • Calls that fail are not charged: the server settles the payment only after a successful response. If a payment is rejected, the error shows the server's reason and hint.
  • Use a dedicated wallet that holds only a small USDC balance on Base. The key is never logged.

Use a key whose address has no EIP-7702 delegation. If the paying address has an EIP-7702 delegation (it has been turned into a smart account), the USDC signature check on Base can fail and the payment is rejected. Pay from a plain address with no delegation.

3. Dev Mode

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

{
  "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_KEYHex EVM private key of the wallet that pays in USDC on BaseOne of API key or x402
X402_MAX_USD_PER_CALLPer-call payment limit in USD (default: 1.00; 2.50 or more for batch_screening)No
X402_NETWORKPayment network (default: base). Only base is supported; any other value is an errorNo
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 starts from EVM chains (Kaia included) or Solana. detect_coinjoin is Bitcoin only. freeze_status covers Ethereum, Polygon, Avalanche and TRON; hack_exposure_lookup / hack_exposure_batch cover EVM chains, TRON, Solana and Bitcoin.

Links

License

MIT - see LICENSE


Built by refinancier, inc.

Frequently asked questions

What is chainanalyzer-mcp MCP Server?

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

How do I install chainanalyzer-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. chainanalyzer-mcp MCP Server runs locally from the npm package chainanalyzer-mcp with the command npx -y chainanalyzer-mcp@1.8.0.

Is chainanalyzer-mcp MCP Server free and open source?

Yes. chainanalyzer-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does chainanalyzer-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for chainanalyzer-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does chainanalyzer-mcp MCP Server provide?

chainanalyzer-mcp MCP Server provides 10 tools, including batch_screening, bridge_flow_trace, check_address_risk, and cluster_wallet. See the full tool list for descriptions and parameters.

How is chainanalyzer-mcp MCP Server's trust score calculated?

chainanalyzer-mcp MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server