publicaml
MCP server for blockchain AML screening of crypto addresses inside AI assistants
publicaml is an open-source MCP server for crypto and web3. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, macOS
- Runs
- Locally
- Version
- 0.1.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp-server --env PUBLICAML_API_KEY='<PUBLICAML_API_KEY>' -- npx -y @publicaml/mcp-serverAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@publicaml/mcp-server"
],
"env": {
"PUBLICAML_API_KEY": "<PUBLICAML_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@publicaml/mcp-server"
],
"env": {
"PUBLICAML_API_KEY": "<PUBLICAML_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@publicaml/mcp-server"
],
"env": {
"PUBLICAML_API_KEY": "<PUBLICAML_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@publicaml/mcp-server"
],
"env": {
"PUBLICAML_API_KEY": "<PUBLICAML_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp-server --env PUBLICAML_API_KEY='<PUBLICAML_API_KEY>' -- npx -y @publicaml/mcp-serverOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "@publicaml/mcp-server"]
env = { PUBLICAML_API_KEY = "<PUBLICAML_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@publicaml/mcp-server"
],
"env": {
"PUBLICAML_API_KEY": "<PUBLICAML_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@publicaml/mcp-server" ], "env": { "PUBLICAML_API_KEY": "<PUBLICAML_API_KEY>" } } } }Or run: gemini mcp add -s user -e PUBLICAML_API_KEY='<PUBLICAML_API_KEY>' mcp-server npx -- -y @publicaml/mcp-server
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@publicaml/mcp-server" ], "env": { "PUBLICAML_API_KEY": "<PUBLICAML_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@publicaml/mcp-server" ], "env": { "PUBLICAML_API_KEY": "<PUBLICAML_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@publicaml/mcp-server" ], "env": { "PUBLICAML_API_KEY": "<PUBLICAML_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp-server": { "command": "npx", "args": [ "-y", "@publicaml/mcp-server" ], "env": { "PUBLICAML_API_KEY": "<PUBLICAML_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@publicaml/mcp-server" ], "env": { "PUBLICAML_API_KEY": "<PUBLICAML_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@publicaml/mcp-server" ], "env": { "PUBLICAML_API_KEY": "<PUBLICAML_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@publicaml/mcp-server" ], "env": { "PUBLICAML_API_KEY": "<PUBLICAML_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
PUBLICAML_API_KEYOptional. Without it the server works anonymously under an IP rate limit and outgoing tracing is unavailable.PUBLICAML_API_BASEOptional. Override the API base URL. Default https://intelapi.publicaml.org
About publicaml
Adds crypto address screening to Claude Desktop, Cursor and other MCP clients. You ask about a wallet in plain language and get back risk level, sanctions status, Tether and Circle freezes, and the type of entity the address appears to be, such as an exchange, mixer, gambling service, bridge or personal wallet.
The server exposes three tools: one screens an address for risk and incident involvement, one traces funds backwards to find who funded a wallet or forwards to see where money left the traceable part of a chain, and one checks counterparties against categories like exchange or mixer or against a list of suspect addresses. Chains covered are bitcoin, ethereum, bsc and tron, with Solana supported for direct evidence only.
It works without an account, under an IP rate limit. An optional API key raises the limit and enables outgoing fund tracing. The output separates confirmed facts from unconfirmed victim reports, and it treats unknown addresses as unknown rather than clean. It is aimed at compliance staff and investigators who want evidence to support their own decisions.
Tools this server provides (3)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 3 tools reads data; 2 names don't say.
From the server's own tool labels and tool names; not verified by us.
- screen_address
- Risk level and score, sanctions, Tether/Circle freezes, address type and incident involvement for an address.
- trace_funds
- Traces incoming or outgoing funds for a wallet.
- list_counterpartiesName suggests: reads
- Classifies counterparties, checks category exposure and tests suspect address lists.
What it does
- Address risk screening
- Returns a 0-100 risk reading, sanctions status and issuer freezes for an address.
- Incident attribution
- Lists incidents an address is named in and the role it played in each.
- Incoming fund tracing
- Walks funding backwards to show who paid a wallet, stopping at labelled entities.
- Outgoing fund tracing
- Follows the largest outgoing flows to where funds left the traceable part of a chain.
- Counterparty checks
- Classifies counterparties, flags contact with exchanges or mixers, and tests suspect address lists.
- Multi-chain lookup
- Screens an address across every chain its format allows, labelling each result by chain.
Good for
- Screening a wallet against sanctions and freeze lists before processing a transaction
- Tracing where incoming funds originated during a compliance review
- Checking whether a wallet has interacted with exchanges, mixers or casinos
- Investigating an address named in a reported theft or scam
- Testing a batch of suspect addresses against a counterparty's transaction history
Pricing
Open source
MIT-licensed server; outgoing tracing requires an API key.
publicaml FAQ
Do I need an account to use publicaml?
No. The server works anonymously under an IP rate limit. An API key raises the limit and unlocks outgoing fund tracing.
Which blockchains are supported?
Bitcoin, Ethereum, BSC and Tron are supported. Solana addresses are screened using direct evidence only, so an address without its own evidence returns NOT SCORED rather than zero.
How is an unconfirmed victim report shown?
It is printed on its own line, marked as not confirmed and not affecting the score, and is never presented as the address's identity.
How do I install publicaml in Claude Desktop?
Add an mcpServers entry to claude_desktop_config.json that runs npx with the package @publicaml/mcp-server. Cursor uses the same block in .cursor/mcp.json.
Is publicaml free?
Yes. publicaml is open source, so you can use and self-host it for free.
How do I add publicaml to Claude Code?
Run this command in your terminal: claude mcp add mcp-server --env PUBLICAML_API_KEY='<PUBLICAML_API_KEY>' -- npx -y @publicaml/mcp-server
What are the best alternatives to publicaml?
The closest alternatives to publicaml are Publicaml, Satoshkin Aml MCP, Lukka Blockchain Analytics & Compliance MCP, traql and Crypto MCP.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
