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

public-domain-check-mcp

v0.7.0

Published

MCP tools for AI agents: US public-domain/copyright status, OFAC sanctions screening (wallets and names), and FEMA flood + seismic risk for US addresses. Pays per call with x402 (USDC on Base).

Readme

Public Domain Check: MCP server

Is this book, film, song or artwork in the US public domain, and when does it enter it? This MCP server answers that question for AI agents. It's backed by:

  • 2.38 million US Copyright Office registrations (1923–1977)
  • 434,000 renewal records, linked to their registrations
  • the US copyright term rules

Paid tools cost a few cents per call, paid in USDC through x402. There's no account or API key.

  • Remote MCP (Streamable HTTP): https://public-domain-check-production.up.railway.app/mcp
  • HTTP API and docs: https://public-domain-check-production.up.railway.app (llms.txt, OpenAPI)

Tools

| Tool | Price | What it does | |---|---|---| | check_public_domain | $0.01 (brief) / $0.02 (full) | Returns the status (public domain, likely public domain, in copyright, or undetermined), the public-domain date, the confidence, a one-line reason and the record IDs. Full mode adds the complete reasoning and records. Includes HathiTrust's reviewer verdict when one exists; pass countries for the UK, EU, Canada, Australia, Japan, China or India. For 1923–1977 books, a title is enough. | | check_public_domain_batch | $0.0075 per work (brief) / $0.015 (full) | Checks up to 50 works per call. Local wrapper only. | | search_copyright_renewals | $0.01 | Shows who renewed a work's copyright and when, which usually points to the rightsholder. | | copyright_rules_for_year | free | Tells you which rule applies to a publication year, and whether a record lookup is needed. | | public_domain_day | free | Lists what enters the US public domain on January 1. | | check_wallet_sanctions | $0.002 | Checks whether a crypto wallet is on the US Treasury (OFAC) sanctions lists (Bitcoin, Ethereum/EVM, USDT, USDC, Tron and more). Use it before paying an unknown wallet. | | screen_sanctions_name | $0.003 / $0.005 | Screens a person, company, vessel or aircraft name against the OFAC SDN and Consolidated lists, including aliases and spelling variants. | | check_property_risk | $0.02 / $0.04 | One-call natural hazard report for a US address: overall risk and what drives it, FEMA flood zone and insurance requirement, seismic risk, ratings for 18 hazards from FEMA's National Risk Index, and federal disaster declarations in the county since 2000. |

You're never charged when a request is invalid or the service needs more information.

Brief answers by default. check_public_domain returns a short answer: the status, the date, the confidence, a one-line reason, and the record IDs. That's about 80% fewer tokens for your agent to read. For the complete reasoning and records ($0.02), pass format: "full" (local wrapper) or call check_public_domain_full (remote MCP).

Use it

Claude Desktop, Cursor, Windsurf, and other MCP clients

Add this to your MCP config:

{
  "mcpServers": {
    "public-domain-check": {
      "command": "npx",
      "args": ["-y", "public-domain-check-mcp"],
      "env": {
        "WALLET_PRIVATE_KEY": "0x...",
        "MAX_PRICE_PER_CALL": "0.25"
      }
    }
  }
}
  • WALLET_PRIVATE_KEY is the private key of a wallet that holds a little USDC on Base. Use a dedicated wallet with a few dollars in it, not your main wallet.
  • Without a key, the free tools still work.
  • MAX_PRICE_PER_CALL is a hard cap, in US dollars, enforced on your machine. The wrapper refuses any call that costs more.

Agents with built-in x402 support

These include @x402/mcp, Coinbase AgentKit, and other x402-aware frameworks. Connect to the remote URL above. Paid tools return an x402 payment request, and your client pays it and retries.

Example answer

{
  "status": "in_copyright",
  "confidence": "high",
  "public_domain_date": "2035-01-01",
  "reasoning": [
    "Published 1939; works published 1929–1963 needed a renewal filed in the 28th year (1966–1967) ...",
    "Found the original registration A125939 (1939-02-06) and its renewal R399023 (1966-12-12)."
  ],
  "registration": {
    "renewal": {
      "id": "R399023",
      "claimants": [{ "name": "Helga Greene", "role": "executor" }]
    }
  }
}

Data and limits

  • Sources: US Copyright Office records from the Catalog of Copyright Entries, plus renewal records. Both were transcribed by the New York Public Library and released under CC0.
  • Coverage: US law in full, plus term rules for the UK, EU, Canada, Australia, Japan, China and India (pass countries). The answers are informational, not legal advice.

License

MIT