npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@publicaml/mcp-server

v0.1.1

Published

MCP server for PublicAML: screen a crypto address for AML risk, trace where its money came from or went, and list its counterparties. Bitcoin, Ethereum, BSC, Tron.

Readme

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.

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-server

Tools

screen_address

Risk level and score, sanctions, Tether/Circle freezes, what the address is (exchange, mixer, gambling, bridge, personal wallet) and where its risk comes from.

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: true is a blocking fact on its own, whatever the score says.
  • 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.
  • Lists are ranked and capped. A PARTIAL answer 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 | | --- | --- | --- | | PUBLICAML_API_KEY | none | Lifts the anonymous rate limit, unlocks outgoing tracing. | | PUBLICAML_API_BASE | https://intelapi.publicaml.org | API base URL. | | PUBLICAML_TIMEOUT_MS | 60000 | Per-request timeout. | | PUBLICAML_TRACE_CONTINUES | 2 | How many times an incomplete backward walk is resumed automatically. |

Development

npm install
npm test          # unit tests, no network
node scripts/live.mjs  # end-to-end against the live API

MIT licensed. API docs: https://publicaml.org/api