Skip to main content
Glama
traql MCP server

traql MCP server

Official

traql MCP server

npm CI License: MIT

Скоринг AML- и комплаенс-рисков для криптовалютных адресов и транзакций, предоставляемый ИИ-агентам через Model Context Protocol.

Спросите своего агента: «безопасно ли отправлять на этот адрес?» — и он вернёт оценку риска от 0 до 100, группу оценок, категории риска, а при наличии API-ключа — каждый отдельный сигнал с источником и уровнем уверенности.

ethereum address 0x8589427373d6d84e98730d7795d8f6f8731fda16
RISK 100/100 — CRITICAL
Flags: sanctions, mixer, scam

Signals (21):
  +80  [sanctions/eth_labels] direct.sanctions — sanctions label "Tornado.Cash: Donate" [entity Tornado.Cash: Donate, confidence 0.80]
  +68  [mixer/eth_labels] direct.mixer — mixer label "Tornado.Cash: Donate" [entity Tornado.Cash: Donate, confidence 0.80]
  +10  [mixer] behavior.mixer_contact — direct contact with mixer 0xdd4c48c0b24039969fc16d1cdf626eab821d3384
  +9   [sanctions/ofac_sdn] indirect.sanctions — sent to Semenov Roman (sanctions, 18% of USDC volume) [entity Semenov Roman, confidence 1.00]
  ... and 17 more

Computed at 2026-08-23T11:42:49Z.

Работает на базе traql: санкционные списки OFAC SDN, UK OFSI, EU и UN, инциденты заморозок Tether/Circle, выверенные атрибуции взломов и миксеров, а также анализ контрагентских рисков в Ethereum, BSC, TRON, TON и Bitcoin.

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

Требуется Node.js 18+.

npx -y @traql/mcp

Сервер общается с MCP через stdio, поэтому обычно вы подключаете к нему клиент, а не запускаете его вручную.

Claude Code

claude mcp add traql --env TRAQL_API_KEY=your_key -- npx -y @traql/mcp

Claude Desktop

Добавьте в claude_desktop_config.json:

{
  "mcpServers": {
    "traql": {
      "command": "npx",
      "args": ["-y", "@traql/mcp"],
      "env": { "TRAQL_API_KEY": "your_key" }
    }
  }
}

Cursor

Добавьте в ~/.cursor/mcp.json (или .cursor/mcp.json в проекте), используя тот же блок mcpServers, что и выше.

VS Code

Добавьте в .vscode/mcp.json:

{
  "servers": {
    "traql": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@traql/mcp"],
      "env": { "TRAQL_API_KEY": "your_key" }
    }
  }
}

Related MCP server: web3-risk-mcp

Получение API-ключа

Зарегистрируйтесь на app.traql.io, подтвердите адрес электронной почты — бесплатные проверки включены — и выпустите ключ в разделе Ключи API. Секрет показывается один раз; его можно перевыпустить или отозвать в любое время.

Без ключа сервер всё равно работает, но в тарифе без ключа: одна укрупнённая формулировка причины вместо детализированных сигналов, жёсткие лимиты запросов, а на облачном API — требование оплаты за каждый вызов x402. Для использования с агентами установите ключ.

Конфигурация

Переменная

Обязателен

По умолчанию

Описание

TRAQL_API_KEY

рекомендуется

—

API-ключ из панели управления traql. Передаётся как X-API-Key. Открывает детализированные сигналы и более высокие лимиты.

TRAQL_API_URL

нет

https://api.traql.io

Базовый URL API. Если вы разворачиваете traql самостоятельно, укажите адрес собственного развёртывания.

TRAQL_TIMEOUT_MS

нет

30000

Таймаут одного запроса в миллисекундах.

Инструменты

check_address

Оценивает один адрес.

Аргумент

Тип

Обязательность

Описание

chain

ethereum | bsc | tron | ton | bitcoin

да

Сеть, к которой относится адрес.

address

string

да

Адрес в собственном формате сети.

screen_transaction

Оценивает обе стороны перевода в одном из двух режимов:

  • Pre-flight — передайте from и to (по желанию amount и asset), чтобы проверить перевод перед его отправкой в сеть. Работает во всех поддерживаемых сетях.

  • By hash — передайте только tx_hash, чтобы найти транзакцию, уже находящуюся в блокчейне. Поддерживается на Ethereum, BSC, TRON и TON.

Аргумент

Тип

Обязательность

Описание

chain

chain enum

да

Сеть, к которой относится транзакция.

from

string

pre-flight

Адрес отправителя.

to

string

pre-flight

Адрес получателя.

amount

string

no

Целочисленное количество в базовых единицах актива (например, 1000000 для 1 USDT).

asset

string

no

Символ актива или токена, например USDT.

tx_hash

string

by-hash

Хеш транзакции, отправленной в сеть. Взаимоисключающий с from/to.

Ответ

Оба инструмента возвращают читаемый текст и structuredContent:

{
  "subject": { "type": "address", "chain": "ethereum", "address": "0x…" },
  "result": {
    "score": 100,
    "band": "critical",
    "flags": ["sanctions", "mixer", "scam"],
    "partial": false,
    "computed_at": "2026-08-23T11:42:49Z",
    "reasons": [
      {
        "code": "direct.sanctions",
        "message": "sanctions label \"Tornado.Cash: Donate\" from eth_labels (severity 100 × confidence 0.80 = 80.0)",
        "contribution": 80,
        "category": "sanctions",
        "source": "eth_labels",
        "entity": "Tornado.Cash: Donate",
        "severity": 100,
        "confidence": 0.8,
        "eff": 80.0
      }
    ]
  }
}

Диапазоны оценок: clean 0–9, low 10–39, elevated 40–69, high 70–89, critical 90–100.

partial: true означает, что при вычислении результата источник данных работал с деградацией — воспринимайте оценку как нижнюю границу, а не как окончательный вердикт.

Каждый успешный вызов расходует одну проверку из настроенного аккаунта. Некорректный ввод по возможности отклоняется локально, поэтому такой вызов ничего не стоит.

Разработка

npm install
npm run build
npm test

Примечания

Оценки — это рекомендательные сигналы для триажа и автоматизации. Они не являются юридическим заключением о нарушении и сами по себе не снимают регуляторных обязательств.

Ссылки

Лицензия

MIT

Available Tools

2 tools
check_addressCheck address riskA
Read-only

Score a single crypto address for AML and compliance risk.

Returns a risk score from 0 (clean) to 100 (critical), the band it falls into, and the risk categories that drove it — sanctions, mixer, scam, darknet, stolen_funds, ransomware, high_risk_exchange and others. With an API key configured, the response also itemizes every contributing signal with its data source, severity and confidence, so the verdict can be explained rather than just asserted.

Use it before sending funds to an unfamiliar address, to triage an address a user pasted, to check a counterparty in an investigation, or to vet a deposit address. Covers Ethereum, BSC, TRON, TON and Bitcoin. Each call consumes one check from the configured traql account.

Inputs: chain (required), address (required). Returns: result, subject

screen_transactionScreen transaction riskA
Read-only

Screen a transaction for AML and compliance risk by scoring both sides of the transfer.

Two modes, chosen by which arguments are given:

  • Pre-flight — pass from and to (optionally amount and asset) to screen a transfer before it is broadcast. Works on every supported chain.

  • By hash — pass only tx_hash to look up a transaction that is already on-chain. Supported on ethereum, bsc, tron and ton.

Returns the same score, band, flags and itemized signals as an address check, with each signal marked as applying to the sending or receiving side. Use it as a pre-send safety gate, or to review a payment that already went out. Each call consumes one check from the configured traql account.

Inputs: chain (required), to, from, asset, +2 more. Returns: result, subject

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools target distinctly different entities: check_address evaluates a single address, while screen_transaction evaluates a transaction by scoring both sides. They are clearly separated by purpose and input requirements, with no overlapping functionality.

    Naming Consistency5/5

    Both tool names follow a consistent verb_noun pattern: check_address and screen_transaction. The verbs ('check' vs 'screen') are semantically appropriate and the noun targets (address, transaction) are clear, maintaining a uniform naming style.

    Tool Count4/5

    With only two tools, the server is compact but well-scoped for its narrow AML screening purpose. Each tool covers a fundamental operation (address check and transaction screening), so the count feels appropriate rather than insufficient, though it is below the typical 3-15 range.

    Completeness4/5

    The tool surface covers the primary use cases for AML risk assessment: pre-transaction screening and single-address checks. Minor gaps exist, such as lack of batch processing or historical investigation features, but these are not essential for the stated purpose and do not create dead ends in common workflows.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      F
      maintenance
      Archived and no longer maintained. Tools and prices shown here are out of date. Use the maintained server: glama.ai/mcp/servers/OceanAlt666/oceanalt-aml-mcp (GitHub: OceanAlt666/oceanalt-aml-mcp).
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to assess the risk of crypto wallets, tokens, and smart contracts by providing read-only on-chain analysis, 0-100 risk scoring with explanations, fund tracing, and contract inspection before interaction.
      6
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to run pre-sign risk checks on transactions, approvals, EIP-712 signatures, token addresses, wallet approvals, sanctions screening, and prompt-injection texts, returning green/orange/red verdicts with machine-readable reason codes before signing.
      1
      AGPL 3.0
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to perform read-only on-chain risk screening, blacklist checks, and fund tracing across TRON and EVM chains, including rug-pull forensics and dirty-USDT detection. It also provides bilingual tool descriptions for Chinese-language agent ecosystems.
      3
      MIT