# mcp-aml [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/CryptoAPIs-io/cryptoapis-mcp-aml  
**GitHub Stars:** 0  
**npm Downloads (last month):** 589  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-aml

## Description
MCP server for AML address verification and transaction screening via Crypto APIs

## Tools
Capabilities this server exposes over MCP:

- **aml**

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mcp-aml": {
    "command": "npx",
    "args": ["-y","@cryptoapis-io/mcp-aml"],
    "env": {
      "CRYPTOAPIS_API_KEY": "",
      "MCP_AUTH_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `CRYPTOAPIS_API_KEY`, `MCP_AUTH_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What mcp-aml does

mcp-aml exposes Crypto APIs’ AML functionality through the Model Context Protocol. It can check whether a blockchain address is linked to fraud, sanctions, ransomware, exploits, darknet markets, or other risk categories. It can also evaluate a transaction and its participants, returning risk information such as a score, risk band, and flagged addresses with their roles, categories, and severity.

The server includes access to Crypto APIs’ AML exposure graph. Agents can retrieve an address’s connections to risky entities and enumerate the routes leading to those entities. Path results support cursor-based pagination and can optionally be narrowed to routes beginning at a particular flagged root address.

## How it works

The package communicates with Crypto APIs using an API key and presents the AML operations through one MCP tool named `aml`. It supports standard input/output transport by default and can also serve MCP over HTTP. HTTP mode listens on `127.0.0.1` by default, uses `/mcp` as its path, and defaults to port 3000.

For local MCP clients, the API key can be supplied at startup. In HTTP mode, operators can either configure one key for all requests or omit it and require each caller to send an `x-api-key` header. Remote HTTP deployments can add a bearer authentication token and restrict accepted Host headers.

## Setup and configuration

Install the package with:

```bash
npm install @cryptoapis-io/mcp-aml
```

Node.js 18 or newer and a Crypto APIs account with an API key are required. Start a local stdio server with `npx @cryptoapis-io/mcp-aml --api-key YOUR_API_KEY`, or set `CRYPTOAPIS_API_KEY` and omit the command-line key. HTTP mode can be started with `--transport http --port 3000`.

Claude Desktop and Cursor can launch the package through an `npx` MCP entry using `CRYPTOAPIS_API_KEY`. n8n can connect through its MCP Client Tool at `http://localhost:3000/mcp` when the server runs in HTTP mode.

## Tools and capabilities

The `aml` tool provides four actions:

- `verify-address` checks one address for AML risk flags.
- `screen-transaction` evaluates a transaction and its participants using a blockchain and transaction hash.
- `get-address-exposure` retrieves an address’s risky-entity and category exposure.
- `list-address-exposure-paths` returns exposure routes with optional root filtering, result limits, and cursor pagination.

Transaction screening supports Ethereum, Ethereum Classic, Binance Smart Chain, Bitcoin, Bitcoin Cash, Dash, Dogecoin, Litecoin, Arbitrum, Polygon, Avalanche, Optimism, Base, Zcash, XRP, Solana, Tezos, Kaspa, and Tron. Exposure graph actions support a narrower set of 13 networks, including Ethereum, Binance Smart Chain, Polygon, Bitcoin, XRP, Solana, and Tron.

## Limitations and notes

AML operations consume significant Crypto APIs credits: address verification and exposure lookup use 200,000 credits per request, transaction screening uses 500,000, and each exposure-path page uses 100,000. Confirm API credentials before starting the server; invalid or missing credentials may lead to an IP ban from the Crypto APIs ecosystem.

HTTP mode should remain loopback-only unless it is explicitly protected. Binding to another interface requires appropriate authentication and can use `--allowed-hosts` for Host-header restrictions. The package is compatible with Crypto APIs version 2024-12-12 and is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/mcp-aml/readme_

