Chainanalyzer MCP logo

Chainanalyzer MCP

by rascal-3

Screens blockchain addresses and transactions for AML risk, sanctions, hacks, freezes, CoinJoin patterns, and cross-chain flows.

Install Chainanalyzer MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "rascal-3-chainanalyzer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "chainanalyzer-mcp"
      ],
      "env": {
        "CHAINANALYZER_API_KEY": "YOUR_VALUE_HERE",
        "X402_PRIVATE_KEY": "YOUR_VALUE_HERE",
        "X402_MAX_USD_PER_CALL": "YOUR_VALUE_HERE",
        "X402_NETWORK": "YOUR_VALUE_HERE",
        "CHAINANALYZER_BASE_URL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env CHAINANALYZER_API_KEY=YOUR_VALUE_HERE --env X402_PRIVATE_KEY=YOUR_VALUE_HERE --env X402_MAX_USD_PER_CALL=YOUR_VALUE_HERE --env X402_NETWORK=YOUR_VALUE_HERE --env CHAINANALYZER_BASE_URL=YOUR_VALUE_HERE --transport stdio rascal-3-chainanalyzer-mcp -- npx -y chainanalyzer-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

rascal-3/chainanalyzer-mcp connects AI agents to ChainAnalyzer for multi-chain AML risk scoring, sanctions screening, transaction tracing, and blockchain graph analysis. It covers 12 chains, including Bitcoin, Ethereum, Solana, TRON, XRP, and major EVM networks, with 76+ detection rules and ML anomaly scoring. Authentication supports an API key, pay-per-request USDC through x402 on Base, or a local development endpoint. Reach for it when an agent needs address screening, deposit-list checks, hack exposure analysis, stablecoin freeze status, or cross-chain forensic tracing.

Use cases

  • Screen deposit addresses for AML risk and sanctions
  • Trace suspicious transactions across supported chains
  • Check wallets for exposure to known hacks
  • Identify Bitcoin CoinJoin transaction patterns
  • Investigate cross-chain bridge and Solver flows

Key features

  • AML risk scoring across 12 blockchain networks
  • OFAC, FATF, and JFSA sanctions screening
  • Known-hack exposure and stablecoin freeze checks
  • Neo4j wallet clustering and graph analysis
  • ML-assisted transaction and cross-chain tracing
  • Batch screening for up to 50 addresses

Tools10

What Chainanalyzer MCP lets your agent do. Expand a tool for its parameters.

Self-reported~301 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

27/28 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · chainanalyzer-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads1.3kPackage downloads in the last 30 days.
Last commit19d agoMost recent push to the default branch.
Tools exposed10Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Chainanalyzer MCP works

What rascal-3/chainanalyzer-mcp does

rascal-3/chainanalyzer-mcp exposes ChainAnalyzer's blockchain compliance and investigation functions through MCP. It can evaluate an address's AML risk, check OFAC, FATF, and JFSA sanctions lists, identify links to known hacks, and report stablecoin freeze or blacklist status. The service supports Bitcoin, Ethereum, Polygon, BNB Smart Chain, Base, Arbitrum, Optimism, Avalanche, Solana, Kaia, TRON, and XRP.

Analysis combines 76+ detection rules, machine-learning anomaly scoring, and Neo4j graph analysis. The result is suited to agent-driven due diligence, transaction investigation, and screening workflows in finance and fintech.

How it works

Run the package as an MCP process with npx -y chainanalyzer-mcp, or install the repository dependencies and start it from source. An MCP-compatible agent invokes the exposed tools based on a request such as checking a wallet, tracing a transaction, or screening a list of deposit addresses.

Authentication can use a tfk_ ChainAnalyzer API key. Pay-per-request operation is also available through x402: the server signs USDC payments from a configured EVM wallet on Base. A development mode can point the server at a local ChainAnalyzer endpoint with authentication disabled.

The repository also includes an Agent Skill describing tool selection, chain identification from address formats, and result reporting. Claude Code can install the MCP server and skill together through the supplied plugin; other agents can copy the skill directory into their skills location.

Setup and configuration

For Claude Desktop or Claude Code, add an MCP entry that runs npx with the -y and chainanalyzer-mcp arguments. Set either CHAINANALYZER_API_KEY or X402_PRIVATE_KEY in the entry's environment. The API key is available on all ChainAnalyzer plans, while some API-key plans gate batch_screening and bridge_flow_trace.

With x402, X402_MAX_USD_PER_CALL limits the amount signed for one request; raise it to at least 2.50 for batch_screening. Payments use Base, and the configured wallet should be dedicated and hold a small USDC balance. The wallet address must not have EIP-7702 delegation. CHAINANALYZER_BASE_URL can override the default hosted API URL for local development.

Tools and capabilities

  • check_address_risk scores addresses for AML risk across 12 chains.
  • sanctions_check screens addresses against OFAC, FATF, and JFSA data.
  • hack_exposure_lookup and hack_exposure_batch find known-hack connections, hop distance, roles, and lower-bound incident amounts; the batch variant accepts up to 50 addresses.
  • freeze_status reports token-specific stablecoin freeze or blacklist state and timestamps.
  • trace_transaction follows transaction flows with ML anomaly detection.
  • detect_coinjoin analyzes Bitcoin transaction structure and equal-value output groups.
  • cluster_wallet uses Neo4j graph analysis for wallet clustering.
  • batch_screening performs AML checks for up to 50 addresses.
  • bridge_flow_trace follows multi-hop flows from EVM chains or Solana and supports listed bridges and Solver detection.

Limitations and notes

detect_coinjoin is Bitcoin-only. Freeze checks cover Ethereum, Polygon, Avalanche, and TRON, while hack-exposure tools cover EVM chains, TRON, Solana, and Bitcoin. Bridge tracing starts from EVM chains or Solana. x402 payments are made on Base by this server, even though the underlying API may offer Solana payment options. Tool calls have per-request prices in x402 mode, and failed calls are not charged after payment settlement is withheld.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Chainanalyzer MCP

rascal-3/chainanalyzer-mcp is an MCP server that connects AI agents to ChainAnalyzer for multi-chain blockchain compliance analysis. Its main tools score address risk, screen sanctions, trace transactions, detect hack exposure, check stablecoin freezes, analyze CoinJoin patterns, cluster wallets, and investigate cross-chain bridge flows.

Install it by configuring an MCP client to run `npx -y chainanalyzer-mcp`. You can also clone the repository, run `npm install`, and start it with `npm start`. Configure an API key or x402 payment variables in the MCP environment.

Authenticate with either `CHAINANALYZER_API_KEY` or `X402_PRIVATE_KEY`. API-key mode uses a ChainAnalyzer `tfk_` key, while x402 mode pays per request in USDC on Base. A local development endpoint can run without authentication when configured accordingly.

Yes, it works with Cursor through the MCP server configuration, and the repository's Agent Skill can be copied into an agent skills directory. The skill is also described as usable by Cursor, Claude Code, Codex CLI, and Gemini CLI.

It supports Bitcoin, Ethereum, Polygon, BNB Smart Chain, Base, Arbitrum, Optimism, Avalanche, Solana, Kaia, TRON, and XRP. Individual tools have narrower coverage; for example, CoinJoin detection is Bitcoin-only and bridge tracing starts from EVM chains or Solana.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewChainanalyzer MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/rascal-3-chainanalyzer-mcp?style=directory)](https://allmcps.com/mcp/rascal-3-chainanalyzer-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/rascal-3-chainanalyzer-mcp"><img src="https://allmcps.com/api/badge/rascal-3-chainanalyzer-mcp?style=directory" alt="Chainanalyzer MCP on AllMCPs" /></a>