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

ucp-ready

v0.1.2

Published

Open-source readiness checker for agentic commerce: audits a store's UCP + AP2 compliance

Downloads

390

Readme

ucp-ready

CI npm License: MIT

Open-source readiness checker for agentic commerce. It audits a store's public UCP (Universal Commerce Protocol) discovery profile — and, where declared, its AP2 (Agent Payments Protocol) mandate support — and reports how ready that store is for AI shopping agents to browse, check out, and pay on a human's behalf.

Built and maintained by Monkydot.

Status

v0.1.0 released: static discovery-profile checks are implemented — this audits what a store publishes, not a live checkout/payment flow. See "What it checks" below for the exact scope, and CHANGELOG.md for release history.

Usage

npx ucp-ready check https://store.example.com
# or, machine-readable:
npx ucp-ready check https://store.example.com --json

Exit code is 0 when the verdict is ready, non-zero (1) for partial or not-ready — safe to use as a CI gate.

import { checkReadiness } from 'ucp-ready';

const report = await checkReadiness('https://store.example.com');
// { url, verdict: 'ready' | 'partial' | 'not-ready', checks: CheckResult[], fetchedAt }

What it checks

  • Discovery: is /.well-known/ucp published, reachable over HTTPS, and valid JSON?
  • Profile shape: required ucp.version, ucp.services, ucp.payment_handlers, and keys[] (JWK Set, RFC 7517) fields.
  • Schema authority binding: every declared schema URL must be authority-bound to its capability/service name, per the UCP spec's binding algorithm.
  • Service & capability declarations: each entry declares a valid version, spec, schema, and (for services) transport/endpoint.
  • AP2 readiness: whether dev.ucp.common.payment.ap2_mandate is declared, correctly extends-ing dev.ucp.shopping.checkout, with a non-empty vp_formats_supported config.
  • A scored, actionable verdict (ready / partial / not-ready) with remediation guidance per failed or warned check.

partial means the core UCP profile is valid but AP2 payment-mandate support is missing or incomplete; not-ready means the UCP profile itself is missing or broken.

Not yet covered (see the plan's Non-goals — tracked as future work): the Lodging/Food UCP verticals, exercising a live checkout/order flow, and cryptographic verification of a live AP2 mandate — this tool checks that AP2 support is declared correctly, not that a real transaction's signature verifies.

Need help getting your store agentic-ready?

ucp-ready is built and maintained by Monkydot, a software house building e-commerce systems. If you want a full audit, hands-on implementation of UCP/AP2 support, or a custom agentic-commerce integration for your store, get in touch.

Contributing

Contributions are welcome — see CONTRIBUTING.md for the dev setup, validation gate, and the spec-grounding rule every check follows. This project follows the Contributor Covenant. See CHANGELOG.md for release history.

License

MIT