Skip to main content
Glama
rascal-3

chainanalyzer-mcp

by rascal-3

chainanalyzer-mcp

MCP-сервер для ChainAnalyzer — мультичейн-анализ рисков AML в блокчейне для ИИ-агентов.

Сканируйте любой адрес в сетях Bitcoin, Ethereum, Polygon, Avalanche и Solana на предмет нарушений санкций, схем отмывания денег, rug pull, кражи средств с кошельков и многого другого. Более 76 правил обнаружения, оценка аномалий с помощью машинного обучения и анализ графов Neo4j.

Инструменты

Инструмент

Описание

Цена

check_address_risk

Оценка AML-риска для любого адреса в блокчейне

$0.008

sanctions_check

Проверка по санкционным спискам OFAC / FATF / JFSA

$0.003

trace_transaction

Отслеживание потока транзакций с обнаружением аномалий ML

$0.015

detect_coinjoin

Обнаружение паттернов CoinJoin / миксеров (Bitcoin)

$0.01

cluster_wallet

Кластеризация кошельков через анализ графов Neo4j

$0.02

batch_screening

Пакетная AML-проверка (до 50 адресов)

$0.05

Related MCP server: sliverc2-mcp

Быстрый старт

Claude Desktop / Claude Code

Добавьте в конфигурацию MCP:

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

Из исходного кода

git clone https://github.com/rascal-3/chainanalyzer-mcp.git
cd chainanalyzer-mcp
npm install
npm start

Аутентификация

Выберите один из трех режимов:

1. API-ключ (подписка)

Получите API-ключ tfk_ на сайте chain-analyzer.com (тариф Pro).

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

2. Оплата USDC через x402 (оплата за запрос)

Учетная запись не требуется. Оплачивайте запросы с помощью USDC в сетях Base или Solana.

{
  "env": {
    "X402_PRIVATE_KEY": "your_wallet_private_key",
    "X402_NETWORK": "base"
  }
}

Требуется npm-пакет x402: npm install x402

3. Режим разработки (Dev Mode)

Без аутентификации. Работает, если на сервере ChainAnalyzer установлено X402_ENABLED=false.

{
  "env": {
    "CHAINANALYZER_BASE_URL": "http://localhost:3000"
  }
}

Переменные окружения

Переменная

Описание

Обязательно

CHAINANALYZER_API_KEY

API-ключ tfk_ (аутентификация по подписке)

Один из: API-ключ или x402

X402_PRIVATE_KEY

Приватный ключ кошелька для платежей в USDC

Один из: API-ключ или x402

X402_NETWORK

Платежная сеть: base или solana (по умолчанию: base)

Нет

CHAINANALYZER_BASE_URL

Базовый URL API (по умолчанию: https://chain-analyzer.com)

Нет

Пример использования

После настройки попросите своего ИИ-агента:

"Проверь, находится ли этот адрес Ethereum под санкциями: 0x1234..."

"Проанализируй уровень риска для этого кошелька Solana: ABC123..."

"Отследи поток средств этой транзакции Bitcoin и проверь на наличие паттернов микширования"

"Проверь эти 20 адресов на соответствие требованиям AML"

Агент автоматически вызовет соответствующие инструменты ChainAnalyzer.

Поддерживаемые сети

  • Bitcoin — проверка по спискам OFAC, dust-атаки, peel-цепочки, обнаружение CoinJoin

  • Ethereum — 18+ детекторов, анализ графов Neo4j, санкции, миксеры

  • Polygon — полный набор инструментов AML для EVM, совместимость с Etherscan V2

  • Avalanche — полный набор инструментов AML для EVM, API Routescan

  • Solana — безопасность токенов (rug pull, honeypot), обнаружение кражи средств с кошельков

Ссылки

Лицензия

MIT — см. LICENSE


Создано refinancier, inc.

Available Tools

6 tools
batch_screeningA

Batch AML screening for multiple addresses at once (up to 50). Returns risk level and score per address.

ParametersJSON Schema
NameRequiredDescriptionDefault
addressesYesAddresses to screen
chainNoChain hint

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description bears full burden. It discloses that the tool is for batch screening and returns risk level and score per address, but does not mention any side effects, security implications, or performance characteristics (e.g., rate limits).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise, one sentence with key information. It is front-loaded with the purpose. It could be slightly improved by adding a brief note about the chain parameter or when to use.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (two parameters, no output schema), the description adequately explains what it does and its output. However, it could mention the meaning of the risk level or score, or that the chain parameter is optional.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage for both parameters ('addresses' and 'chain'). The description adds that addresses are multiple (up to 50) and that the output is per address, which enhances understanding beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: batch AML screening for multiple addresses. It specifies the action (screening), resource (addresses), and output (risk level and score per address). This distinguishes it from siblings like check_address_risk which likely screens single addresses.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description indicates the batch nature and a limit of 50 addresses, implying it's for screening multiple addresses at once. However, it does not explicitly state when to use it versus alternatives like check_address_risk or sanctions_check, nor does it mention when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

check_address_riskA

Get AML risk score for any blockchain address. Returns risk level, score (0-100), detections, and ML anomaly score. Supports BTC, ETH, POL, AVAX, SOL.

ParametersJSON Schema
NameRequiredDescriptionDefault
addressYesBlockchain address to analyze
chainNoChain (auto-detected if omitted)
langNoLanguage (default: en)

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It mentions 'returns risk level, score (0-100), detections, and ML anomaly score', which adds some behavioral context. However, it does not disclose potential traits like rate limits, data freshness, or reliance on external APIs, which would be important for an AML tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, concise and front-loaded with the purpose. Every sentence adds information, with no wasted words. Could briefly mention that chain is auto-detected, but still efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the small number of parameters and no output schema, the description is fairly complete. It explains the purpose, inputs, and output contents. Could add more behavioral context (e.g., data source) but overall adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the description adds little beyond what the schema already states. It mentions 'Supports BTC, ETH, POL, AVAX, SOL' which matches the chain enum, and 'auto-detected if omitted' adds minor value. The description does not elaborate on the address format or language options beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description starts with a clear verb+resource ('Get AML risk score for any blockchain address') and lists specific outputs (risk level, score, detections, ML anomaly score). It also names supported chains, distinguishing it from sibling tools like sanctions_check.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use this tool (for AML risk assessment), but provides no explicit guidance on when not to use it or alternatives. The sibling tools (e.g., sanctions_check, batch_screening) could be compared, but no such advice is given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

cluster_walletA

Identify related addresses through Neo4j graph clustering. Returns cluster size and related addresses.

ParametersJSON Schema
NameRequiredDescriptionDefault
addressYesStarting address for cluster analysis
depthNoGraph depth (default: 2)

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The description mentions returns cluster size and related addresses, which adds behavioral context. However, no annotations are provided, so the description carries full burden; it does not disclose potential side effects, computational cost, or rate limits, so a 3 is appropriate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with action, no wasted words. Perfectly concise for the information needed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple input schema and no output schema, the description adequately explains purpose and output (cluster size and related addresses). Could optionally mention if depth is traversed forward/backward, but still complete enough.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so parameters are already clear from schema. The description does not add extra meaning beyond the schema; baseline 3 is correct.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool identifies related addresses through graph clustering, differentiating it from siblings like check_address_risk, batch_screening, or trace_transaction. The verb 'identify' and resource 'related addresses' are specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies it is for exploring address connections, and context from sibling names (e.g., risk checks, coinjoin detection) helps distinguish use cases. However, it does not explicitly state when not to use it or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

detect_coinjoinB

Detect CoinJoin, mixing, and tumbling patterns in a Bitcoin transaction.

ParametersJSON Schema
NameRequiredDescriptionDefault
tx_hashYesBitcoin transaction hash

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the full burden of behavioral disclosure. It fails to mention if the analysis is heuristic-based, requires memory, or has limitations (e.g., false positives). The description is too brief about internal behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely concise: one sentence, front-loaded with the core purpose, no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple single-parameter tool, the description is adequate but lacks behavioral details that would be helpful given no output schema or annotations. The agent may not know what the output looks like or what constitutes a detection.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% (tx_hash described), but the description adds no additional meaning beyond the schema's own description. The description repeats 'Bitcoin transaction' which is already implied by the parameter name. Baseline 3 applies since coverage is high.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses specific verbs ('Detect') and identifies the resource ('a Bitcoin transaction') and specific patterns ('CoinJoin, mixing, and tumbling patterns'). It clearly distinguishes from siblings like 'batch_screening' or 'trace_transaction' by focusing on privacy-enhancing patterns.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like 'trace_transaction' or 'check_address_risk'. The description does not mention any context such as prerequisites, transaction types, or when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

sanctions_checkB

Screen address against OFAC, FATF, JFSA, and ChainAnalyzer ScamDB sanctions lists.

ParametersJSON Schema
NameRequiredDescriptionDefault
addressYesBlockchain address to screen
chainNoChain (auto-detected if omitted)

TDQS

B3.4/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must fully disclose behavior, but it does not mention side effects, auth requirements, rate limits, or whether results are cached. The tool likely performs external API calls, but this is not stated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence with no filler. It front-loads the key information (what lists are screened) and uses concise language.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 2 parameters with full schema coverage, no output schema, and no annotations. The description explains the screening scope but does not mention return format, false positive handling, or update frequency of lists. For a compliance tool, more detail on reliability would be beneficial.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers 100% of parameters with descriptions, so baseline is 3. The description adds value by listing the specific sanctions lists used, which helps agents understand the screening scope beyond the parameter descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool screens blockchain addresses against specific sanctions lists (OFAC, FATF, JFSA, ChainAnalyzer ScamDB), providing a specific verb (screen) and resource (address against sanctions lists). It distinguishes from siblings like batch_screening (batch) and check_address_risk (general risk) by specifying the precise lists used.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies use for sanctions compliance screening but does not explicitly state when to use this tool versus alternatives like batch_screening for multiple addresses or check_address_risk for broader risk. No when-not-to-use guidance is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

trace_transactionB

Trace fund flows for a transaction with ML anomaly detection. Returns graph of addresses and transfers.

ParametersJSON Schema
NameRequiredDescriptionDefault
tx_hashYesTransaction hash to trace
chainNoBlockchain network
depthNoTrace depth (default: 3)

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the full burden. It mentions ML anomaly detection but does not disclose behavioral traits such as data requirements, rate limits, whether it modifies data, or what the graph output includes. The description is vague on these aspects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with two sentences, no wasted words. It front-loads the key action. However, it could be slightly more structured to include guidelines or behavioral notes without adding length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 3 parameters and no output schema, the description provides minimal context about the output (returns graph of addresses and transfers). It does not explain the structure of the graph or how anomaly detection influences results. Complete but lacking detail.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema covers 100% of parameters with descriptions, so baseline is 3. The description does not add extra meaning beyond the schema, and does not explain default depth or how the parameters relate to the graph output.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool traces fund flows for a transaction with ML anomaly detection, and returns a graph of addresses and transfers. This distinctively specifies what the tool does and its output, but could differentiate more from sibling tools like detect_coinjoin or cluster_wallet.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for tracing transactions with anomaly detection, but provides no explicit guidance on when to use this tool over siblings like check_address_risk or batch_screening. No alternative tools or when-not-to-use scenarios are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 6 tool updatesv1.1.1
    • First observedbatch_screening
    • First observedcheck_address_risk
    • First observedcluster_wallet
    • First observeddetect_coinjoin
    • First observedsanctions_check
    • First observedtrace_transaction

TDQS

A3.7/5.0
Disambiguation5/5

Each tool targets a distinct blockchain analysis function: screening (batch vs single address), clustering, mixing detection, sanctions checking, and transaction tracing. No overlap in purpose.

Naming Consistency4/5

Tools use a consistent verb_noun pattern (e.g., batch_screening, check_address_risk, detect_coinjoin) with one exception: 'cluster_wallet' uses verb_noun but 'wallet' is a bit broader. Overall, naming is clear and predictable.

Tool Count5/5

With 6 tools, the server covers core AML and blockchain analysis functions succinctly without being too sparse or overly numerous.

Completeness4/5

The tool set covers screening (batch & single), risk scoring, clustering, mixing detection, sanctions, and tracing. A minor gap is the lack of a tool for getting raw transaction data or address history, but the main analysis workflows are complete.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rascal-3/chainanalyzer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server