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

@codespar/mcp-ucp

v0.1.3

Published

MCP server for Google UCP — Universal Commerce Protocol for agentic shopping, cart, checkout, orders, and delivery

Readme

@codespar/mcp-ucp

MCP server for Google UCP — Universal Commerce Protocol for agentic shopping, cart, checkout, orders, and delivery

npm License: MIT

What is UCP?

Universal Commerce Protocol (UCP) is Google's open standard for agentic commerce. It enables AI agents to autonomously discover products, build carts, checkout, manage orders, and track deliveries — without screen-scraping or bespoke merchant integrations.

UCP works alongside AP2 (payment processing) and A2A (agent-to-agent interoperability), with MCP as the transport layer.

Quick Start

Claude Desktop

{
  "mcpServers": {
    "ucp": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-ucp"],
      "env": {
        "UCP_API_KEY": "your-key",
        "UCP_MERCHANT_ID": "your-merchant-id"
      }
    }
  }
}

Claude Code

claude mcp add ucp -- npx @codespar/mcp-ucp

Tools (20)

| Tool | Purpose | |---|---| | search_products | Search merchant product catalog. | | get_product | Get detailed product information including pricing, variants, availability, and reviews | | check_availability | Check product stock and delivery availability for a specific location | | list_merchants | List UCP-compatible merchants with optional category and region filters | | create_cart | Create a new shopping cart for a merchant | | add_to_cart | Add an item to the shopping cart | | remove_from_cart | Remove an item from the shopping cart | | get_cart | Get cart contents, item totals, taxes, and shipping estimates | | clear_cart | Remove all items from the cart | | get_delivery_options | Get available shipping and delivery options for a cart | | initiate_checkout | Start the checkout process for a cart. | | apply_payment | Apply a payment method to the checkout session. | | confirm_order | Confirm and place the order. | | get_order | Get order details including items, status, payment, and shipping info | | list_orders | List orders with optional filters | | cancel_order | Cancel a pending or confirmed order | | request_return | Request a return or refund for a delivered order | | track_shipment | Get real-time shipment tracking details for an order | | link_identity | Link buyer identity for personalization and order history across merchants | | get_profile | Get buyer profile, preferences, and linked merchants |

UCP + AP2 + A2A — The Full Stack

AI Agent
  └── MCP (tool interface)
       └── UCP (commerce: discover → cart → checkout → order → delivery)
            ├── A2A (agent-to-agent discovery & communication)
            └── AP2 (payment: authorize → execute → settle)

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | UCP_API_KEY | Yes | API key for UCP platform | | UCP_MERCHANT_ID | No | Default merchant ID | | UCP_SANDBOX | No | Set to true for sandbox mode |

Links

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT