PublicAML MCP Server
OfficialScreens bitcoin addresses via PublicAML: returns risk level and score, sanctions hits, issuer freezes, the entity type behind the address (exchange, mixer, gambling, bridge, personal wallet) and a breakdown of where the risk comes from. Also supports tracing incoming funding flows backwards and enumerating counterparties of a bitcoin wallet.
Reports whether an address has been frozen by Circle as part of AML screening, surfacing issuer freeze events in the risk and sanctions evidence returned for a wallet.
Screens ethereum (and other 0x-format chains such as bsc) addresses, returning risk level and score, sanctions exposure, Tether/Circle freeze status, address classification, and risk provenance from the transaction graph. Supports backward funding traces and counterparty classification, category checks and suspect-address checks.
Reports whether an address has been frozen by Tether as part of AML screening, surfacing issuer freeze events in the risk and sanctions evidence returned for a wallet.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PublicAML MCP Server screen 0x742d35Cc6634C0532925a3b844Bc454e4438f44e for sanctions and AML risk"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PublicAML MCP server
Blockchain AML screening inside Claude Desktop, Cursor, or any other MCP client. Ask about an address in plain language and the assistant checks it against PublicAML: sanctions, issuer freezes, risk propagated through the transaction graph, who funded the wallet and who it dealt with.
Chains: bitcoin, ethereum, bsc, tron. screen_address also covers solana,
where the score uses direct evidence only (no risk is propagated), so a Solana
address without evidence of its own comes back NOT SCORED rather than 0.
Works without an account. An API key only lifts the rate limit and unlocks forward tracing.
Install
Claude Desktop, claude_desktop_config.json:
{
"mcpServers": {
"publicaml": {
"command": "npx",
"args": ["-y", "@publicaml/mcp-server"]
}
}
}With an API key:
{
"mcpServers": {
"publicaml": {
"command": "npx",
"args": ["-y", "@publicaml/mcp-server"],
"env": { "PUBLICAML_API_KEY": "your-key" }
}
}
}Cursor uses the same block in .cursor/mcp.json. Claude Code:
claude mcp add publicaml -- npx -y @publicaml/mcp-serverRelated MCP server: hive-mcp-aml-screen
Tools
screen_address
Risk level and score, sanctions, Tether/Circle freezes, what the address is
(exchange, mixer, gambling, bridge, personal wallet), where its risk comes
from, and the incidents it is named in with its role in each (perpetrator,
intermediary, recipient, victim, mentioned). Reads POST /v2/enrich.
Victims' reports are kept apart from attribution. A pending claim from a
victim report ("this is a KuCoin hot wallet") is printed on its own line,
Reported by a victim (not confirmed, does not affect the score): …, with a
link to the report, and never as the address's identity. Community incidents
that nobody has confirmed are marked community report, not confirmed. A
claim a PublicAML curator has confirmed (community:confirmed) is an ordinary
attribution.
The answer ends with a link to the public victim-report form with the address
prefilled (https://publicaml.org/victim-reports/?chain=…&address=…), so the
assistant can offer it to a user who lost funds. The server itself never files
reports or writes labels.
chain is optional. Omit it and every chain the address format allows is
screened, each result labelled with its chain: the same 0x… string is a
different wallet on ethereum, bsc and tron, so it is never guessed silently.
trace_funds
direction: "incoming" walks the funding backwards to answer "who paid this
wallet", stopping at labelled entities rather than walking into an exchange's
other customers. direction: "outgoing" follows the largest outgoing flows to
where the money left the chain's anonymous part. Outgoing needs an API key.
The walk is bounded by wall clock, so an incomplete answer is returned rather than a timeout, and the answer says which one it is.
list_counterparties
Three questions, one tool. classify enumerates counterparties and says what
each one is (person, venue, hub, deposit address, contract, mint/burn).
category answers "did this wallet touch any exchange / mixer / casino".
check tests a list of suspect addresses against the wallet.
Reading the answers
SANCTIONED is a blocking fact on its own, whatever the score says.
NOT SCORED (for example a Solana address with no evidence of its own) is not a score of 0 and not a clean result.
The score is a risk reading 0-100, never a share of the funds, and its parts combine by MAX, so the breakdown does not add up to the total.
An address absent from the data comes back as NOT FOUND. That is unknown, not clean.
An unconfirmed victim report or community incident is one person's report, not PublicAML's finding.
Lists are ranked and capped. A
PARTIALanswer is a floor, not a census.USD figures cover priced tokens only and can be inflated by low-liquidity tokens. Treat them as an order of magnitude.
This is evidence for a human decision, not the decision itself.
Configuration
Variable | Default | Meaning |
| none | Lifts the anonymous rate limit, unlocks outgoing tracing. |
|
| API base URL. |
|
| Per-request timeout. |
|
| How many times an incomplete backward walk is resumed automatically. |
One-click desktop install
The same server is also distributed as an MCPB bundle, which Claude Desktop installs with a double click and no JSON editing. Build it with:
npm run build:mcpbThe bundle lands in dist/. Version, description, licence and the tool list are
read from package.json and from the server's own tool definitions, so the
bundle cannot drift from the npm release.
Development
npm install
npm test # unit tests, no network
node scripts/live.mjs # end-to-end against the live APIReleasing
Bump
versioninpackage.jsonand bothversionfields inserver.json(the server reads its own version frompackage.json).npm test, thennode scripts/live.mjs.npm publish --access public(npm account of the@publicamlscope).mcp-publisher login githubandmcp-publisher publish— updates the MCP Registry entryio.github.publicaml/mcp-serverfromserver.json.npm run build:mcpband attachdist/publicaml-mcp-server-<version>.mcpbto the GitHub release; tagv<version>.
MIT licensed. API docs: https://publicaml.org/api
Available Tools
3 toolslist_counterpartiesList who an address transacted withA
Who a wallet dealt with and for how much, in one of three modes:
classify — enumerate the counterparties and say what each one IS: a person, a venue (exchange/service), a hub, a deposit address, a contract or a mint/burn pseudo-address. This is the mode for 'which ordinary people funded this wallet'. An unlabelled counterparty is NOT thereby a person; that is what this mode's degree probe decides.
category — did this wallet touch any exchange / mixer / gambling site / bridge at all.
check — you already have suspect addresses and want to know whether this wallet dealt with them, and for how much. Addresses with no recorded interaction are simply absent from the answer.
The list is ranked and capped, so a partial answer is a floor, not the complete set, and a degree figure is a lower bound measured in a window.
Inputs: mode (required), address (required), chain, kinds, +7 more.
screen_addressScreen a crypto address for AML riskA
AML screening for one blockchain address: risk level and score, sanctions, issuer freezes (Tether/Circle), what the address is (exchange, mixer, gambling, bridge, personal wallet) and where its risk comes from. Chains: bitcoin, ethereum, bsc, tron.
Read the answer this way: sanctioned: true is a blocking fact on its own, independent of the score. The score is a risk reading 0-100, never a share of the funds. An address absent from the data is reported as NOT FOUND and must not be presented as clean.
Chain is part of the address's identity, not a hint: the same 0x address is a different wallet on ethereum, bsc and tron. Pass chain when you know it; if you omit it, every chain the format allows is screened and each result is labelled with its chain.
Inputs: address (required), chain.
trace_fundsTrace where an address's money came from or wentA
Follows the money one direction at a time.
incoming walks funding backwards: who paid this wallet. The trail stops at labelled entities (it reports the exchange rather than walking into its other customers) and at unlabelled addresses whose degree makes them a service.
outgoing follows the largest outgoing flows forward to where the money left the anonymous part of the chain (exchange, OTC, mixer) and what is still sitting in unlabelled dead ends. Outgoing tracing needs an API key.
This is a lead-generating tool, not exhaustive accounting: the walk is bounded by wall clock, so a partial answer is returned rather than a timeout, and 'nothing found' can mean 'the budget ran out'. The answer says which one it was; report that honestly.
Inputs: address (required), direction (required), chain, max_hops.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a different AML task (address screening, fund tracing, counterparty listing), but trace_funds (incoming) and list_counterparties (classify/category) both surface who a wallet interacted with, creating some boundary blur. Descriptions clarify scope, so misselection is unlikely but possible.
All three names follow a consistent snake_case verb_noun pattern (screen_address, trace_funds, list_counterparties). No deviations, making the set predictable and easy to scan.
Three tools is well-scoped for a focused AML API, and each tool encapsulates a distinct, multi-purpose operation (screening, tracing, counterparty analysis). No tool feels redundant or missing.
Covers core AML workflows: risk/sanctions screening, fund tracing, and counterparty classification. Minor gaps exist, such as batch address screening or granular transaction-level retrieval, but agents can work around them for most use cases.
Maintenance
Related MCP Connectors
Screen a crypto address before paying: OFAC sanctions, labels, exposure, approvals. Pay per call
Free crypto AML/KYT screening for BTC/ETH/BSC/TRON — risk score, sanctions, source of funds.
Blockchain address risk scoring, AML reports, sanctions screening and counterparty exposure.
Blockchain intelligence for tracing funds, screening addresses, and investigating on-chain activity.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceRoutes blockchain address screening to third-party KYC/AML providers and checks public sanctions lists, serving as a clean-money gate primitive for MCP-compatible agents.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AML screening of blockchain addresses against OFAC SDN lists and chain heuristics, returning risk scores and flags.MIT
- AlicenseBqualityCmaintenanceMCP server for AML/KYT crypto wallet screening, enabling AI clients to check wallet risk scores, source-of-funds tags, activity dates, and volume totals via Satoshkin backend.174 npmMIT
- AlicenseAqualityBmaintenanceMCP server for Crypto APIs AML, enabling verification of blockchain addresses and screening of transactions for fraud, sanctions, and other AML risk categories.294 npmMIT