# aml [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/OceanAlt666/oceanalt-aml-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 861  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/aml-2

## Description
Screen a payee address before an AI agent pays: sanctions, mixers, scam lists, on-chain risk.

## Tools
Capabilities this server exposes over MCP:

- **screen_address** — Run an AML compliance screen on a single blockchain address BEFORE paying or receiving from it. Checks OFAC sanctions, known mixers, community scam/phishing lists, stablecoin issuer freezes (USDT on Tron, USDC on EVM chains), and on-chain heuristics (address age, activity, one-hop taint from flagged addresses) where the chain supports them. Returns a verdict (clear | caution | risky), a 0–100 risk score, a blocked flag, and clickable verifiable evidence showing which list/label/on-chain path matched — receipts, not a black-box score. A clear verdict means nothing was found in the data OceanAlt holds; it is not a statement that the address is safe. Screening depth varies by chain (see coverage.chains at https://oceanalt.com/.well-known/agent-capabilities). Supports EVM (0x…), Tron (T…), and Solana (base58). Free, no API key, no signup.
- **payee_decide** — The other half of a safe agent payment. Before settling, ask the registered payee (by its OceanAlt registry sid — see https://oceanalt.com/registry.json) whether it accepts this incoming payment. Returns status accept | decline | hold_request_info | not_ready, machine-readable reason codes, requested_fields (only on hold), verifiable evidence and a signature. Rule-based, not model judgement: payee readiness comes from the public registry enforcement ladder (https://oceanalt.com/en/registry/rules), the payer address is screened in reverse, and amount / purpose / KYA requirements come from the payee's own policy. decline is final — re-paying does not change it. Free, no API key.
- **counterparty_control_baseline** — Answers a different question from address screening. Screening asks whether an address is risky; this asks how much damage the agent on the other side could do if it were talked into something — whether a spending ceiling exists, whether payees are restricted, whether its credential can be revoked. It returns that party's self-attestation against the OceanAlt Agent Control Baseline, split into two sets that must NOT be conflated: `verified_by_oceanalt` (controls the gateway enforces on every payment — provable) and `self_claimed` (what the party states about its own side — NOT verified by OceanAlt). IMPORTANT: most parties have not attested. A result of found:false means no information, not a bad signal — never decline a payment on that basis alone. Free, no API key.
- **resolve_agent_identity** — Resolves who stands behind a paying agent: agent → principal → mandate → credential → wallet. Each link reports whether it holds, and `completeness` counts how many do — it is a factual count, not a score. Wherever the chain breaks is where accountability stops, which is what you actually need to know before accepting a payment from an autonomous agent. Publication is opt-in and only posture is exposed (that a ceiling exists, never its value), so found:false means the agent has not published — absence of information, not a bad signal. Free, no API key.
- **recent_flagged** — Return a representative sample of addresses on OceanAlt's reviewed risk list — OFAC-sanctioned, known mixers, and community-reported scam/phishing — each with its source category and the reason it was flagged. Useful for grounding, showing an agent/user what gets blocked and why, or a quick read on the current threat surface. Takes no arguments. Free, no API key.
- **payment_decision** — "Before your agent pays, call OceanAlt once." Pass the payee address the agent is about to pay; get a machine-executable decision: allow | review | decline, plus verifiable evidence and retry semantics. Use this as a gate in an autonomous payment flow — if the decision is not "allow", do not pay. On allow/review it also returns a verifiable compliance attestation you can attach to the settlement so the payment carries proof it passed OceanAlt's decision. Free, no API key, no signup. (For the paid variant that also settles the payment on x402 rails, use compliance_decision.)
- **check_calldata_intent** — Anti blind-signing. EVM: decodes what calldata will actually do (ERC-20 transfer/approve/permit, setApprovalForAll, ownership transfer, native transfer). Solana: decodes a whole base64 transaction (SPL Token / Token-2022 Transfer, TransferChecked, Approve, SetAuthority, CloseAccount, Burn; System Transfer / Assign; ATA creation). Compares it with the payment the agent believes it is making. decision match = does what you declared; mismatch = different recipient/amount/asset, or an approval / authority change instead of a payment — do not sign; unknown = could not decode (including address-lookup-table accounts), which is NOT the same as safe. Free, no API key.
- **verify_payment_requirements** — A 402 response is plaintext: any hop between seller and agent (proxy, CDN, a compromised SDK, a malicious tool) can swap the payTo address. Sellers who sign their payment requirements with OceanAlt put extensions.signedRequirements (Ed25519) inside the PAYMENT-REQUIRED header payload. Pass the decoded header JSON (or its raw base64) and, optionally, the payTo / amount you expect; get verified true/false with a reason code: ok | no_signature | digest_mismatch | signature_invalid | key_unavailable | payto_mismatch | amount_mismatch. Defends against tampering in transit, not against a compromised seller origin. Free, no API key.
- **evidence_bundle** — Everything OceanAlt can say about an address, in one Ed25519-signed bundle you can verify offline: screening verdict + evidence + freshness, self-built profile signals, one-hop relations to listed addresses, fulfillment receipt stats. OceanAlt is a witness, not a plaintiff: no conclusions, no attribution of persons, every item carries its source and coverage date. Everything inside is already public; there is no user data and no privileged channel — anyone may request one. Free, 10 per minute.
- **screen_endpoint** — Screen a payment ENDPOINT (URL or domain) before calling it — the half that address screening cannot answer. In x402 the agent discovers a URL first, receives a 402, and only then learns where to pay: if that endpoint is spoofed, the payee address it hands back is freshly generated and appears on no sanctions list. Checks the hostname and its parent domains against public phishing-domain lists plus hostname shape signals. Returns clear | caution | risky | unknown with language-independent signal_keys. clear means no match was found, NOT that the endpoint is safe. Use together with screen_address. Free, no API key.
- **check_payment_request** — Call this before paying because an email, invoice or chat message asked you to. Pass what you received: raw headers if you have them, the From line, subject and body (or body_html), and the payee address if you already extracted one. OceanAlt checks whether the sender is spoofed (SPF/DKIM/DMARC, a display name naming another domain, Reply-To sent elsewhere), whether the sender domain or links imitate a brand or are known phishing hosts, whether the payee is listed or differs from previous_pay_to, and whether the text pressures the reader, announces changed payment details, or carries instructions aimed at an AI. Returns allow | review | decline with findings. On decline, do not pay from this message. The text is processed in memory and not stored. Free, no API key.
- **baseline_controls** — Fetch the OceanAlt Agent Control Baseline: the controls an agent operator is expected to run before it is allowed to move money, each answerable yes or no. Call this before attest_control_baseline so you file against real control ids. Each control says which layer enforces it.
- **attest_control_baseline** — File your operator's control-baseline attestation — the counterpart to counterparty_control_baseline. That tool asks what controls the OTHER side runs; this one publishes what YOUR side runs, so payers can see it before settling with you. No account, no key, one call. Gaps are allowed: answer false where a control is not in place and describe the plan in gapPlan. Get the control ids from baseline_controls first. Only file for a party you are actually authorised to speak for.
- **compliance_decision** — Paid version of payment_decision. Start with the free payment_decision tool; switch to this one when you need the full evidence detail and a settled per-call receipt (x402), for example in an audited payment flow. Run OceanAlt's full compliance gateway on a proposed payment and get a DECISION — allow | review | decline — plus advice and verifiable evidence, not just raw data. Combines AML screening of the payee with RAP (Responsible Agentic Payments) gate checks. Use this when an agent needs a go/no-go call before releasing funds. PAID via x402: the first request returns HTTP 402, this server automatically signs one USDC authorization and retries — this moves REAL money and requires OCEANALT_PAYER_KEY. Costs $0.002 in real USDC settled on Base mainnet (eip155:8453). Alternatively set OCEANALT_CREDIT_TOKEN (a credit pack bought at POST https://oceanalt.com/api/x402/credits: $0.10 for 100 decisions); each call then uses one credit and no payment is signed. Always confirm the live network/price at https://oceanalt.com/api/x402 and use a dedicated low-balance payer wallet.
- **deep_trace** — Trace a Tron (TRON) USDT address up to 3 hops back along its largest incoming transfers to see whether its funds touch a Tether-frozen, sanctioned, mixer, or scam address upstream — deeper than a single-address screen. Tron only (T…). PAID via x402: moves REAL money and requires OCEANALT_PAYER_KEY. Costs $0.01 in real USDC settled on Base mainnet (eip155:8453) — confirm the live network/price at https://oceanalt.com/api/x402 and use a dedicated low-balance payer wallet. Note: follows only the main funds path, depth ≤3, not exhaustive — no hit does not prove the address is clean.
- **batch_screen** — Screen up to 25 blockchain addresses in a single call. Returns a per-address verdict (clear | caution | risky | invalid), risk score, blocked flag, and top signal, plus a summary count, sorted risky-first. Cheaper per address than screening one at a time. EVM (0x…) and Tron (T…). PAID via x402: moves REAL money and requires OCEANALT_PAYER_KEY. Costs $0.01 in real USDC settled on Base mainnet (eip155:8453) — confirm the live network/price at https://oceanalt.com/api/x402 and use a dedicated low-balance payer wallet.

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

```json
"mcpServers": {
  "aml": {
    "command": "npx",
    "args": ["-y","oceanalt-aml-mcp"],
    "env": {
      "OCEANALT_BASE": "",
      "OCEANALT_PAYER_KEY": "",
      "OCEANALT_CREDIT_TOKEN": ""
    }
  }
}
```

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

## Documentation

## What aml does

aml gives AI agents access to OceanAlt’s address-intelligence and payment-compliance services through MCP. It is designed for checks that happen before money moves: screening a payee, deciding whether a payment should proceed, validating the destination of an x402 request, or confirming that transaction calldata matches the agent’s stated intent.

Address screening supports EVM addresses, Tron addresses, and Solana addresses. Depending on chain coverage, results can include sanctions, mixer and scam-list matches, stablecoin freezes, address age, activity, and one-hop taint signals. Responses include a verdict, risk score, blocked status, and evidence links. A clear result means no matching information was found in OceanAlt’s data; it is not a safety guarantee.

## How it works

The package is a thin client that calls OceanAlt’s public API at runtime. AML logic, scoring, address intelligence, and evidence generation run on OceanAlt’s service rather than inside the MCP package. MCP clients launch it as a local stdio process, typically with `npx -y oceanalt-aml-mcp`.

Most tools are free and require neither registration nor an API key. Paid operations use x402: the server receives an HTTP 402 response, signs a USDC authorization locally, and retries the request. Paid settlement is configured for Base mainnet and uses real USDC, so a dedicated low-balance payer wallet is appropriate. A credit token can be used for `compliance_decision` instead of signing each call.

Human-readable response fields default to English. Passing `lang: "zh"` requests Chinese, while `signal_keys` provide language-independent identifiers for programmatic handling.

## Setup and configuration

Add the server to an MCP client with a command such as:

```json
{
  "mcpServers": {
    "oceanalt-aml": {
      "command": "npx",
      "args": ["-y", "oceanalt-aml-mcp"]
    }
  }
}
```

Free tools work with this configuration alone. `OCEANALT_BASE` can point the client at a different backend base URL; production defaults to `https://oceanalt.com`.

To enable paid tools, set `OCEANALT_PAYER_KEY` to a payer wallet key and install `@x402/core`, `@x402/evm`, and `viem` in the MCP environment. `OCEANALT_CREDIT_TOKEN` enables credit-based calls to `compliance_decision`; the token is obtained from OceanAlt’s credit endpoint. Confirm live pricing and network details before authorizing payments.

## Tools and capabilities

- `screen_address` checks one blockchain address and returns a verdict, score, blocked flag, and evidence.
- `payment_decision` provides a free allow, review, or decline gate for a proposed payment.
- `compliance_decision` adds the paid full gateway decision and settled receipt.
- `batch_screen` checks up to 25 EVM or Tron addresses per request.
- `deep_trace` follows the largest incoming USDT path on Tron for up to three hops.
- `payee_decide` checks whether a registered payee accepts an incoming payment.
- `check_calldata_intent` detects mismatches between declared payments and EVM or Solana transaction behavior.
- `screen_endpoint` checks payment URLs and domains for phishing indicators.
- `check_payment_request` evaluates email, invoice, or message-based payment instructions.
- `verify_payment_requirements` verifies signed x402 payment requirements.
- `evidence_bundle` returns a signed, offline-verifiable address evidence package.
- `resolve_agent_identity`, `counterparty_control_baseline`, `baseline_controls`, and `attest_control_baseline` expose identity and agent-control information.

## Limitations and notes

OceanAlt is a witness of public information, not an attribution service. Screening coverage varies by chain, and a clear result does not prove an address is safe. `unknown` from calldata analysis is not equivalent to a match, and `found: false` for identity or control-baseline data means that the party has not published information, not that it is unsafe.

`deep_trace` follows only the main funds path and is not exhaustive. Paid calls move real USDC on Base mainnet at the service’s live prices. The package contains no private AML database or proprietary screening engine; requests enrich OceanAlt’s address-intelligence service.

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

