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

ecommerce-mcp

v1.1.0

Published

Universal MCP client for ecommerce platforms — connect AI agents to Shopify, ZeroCommerce, WooCommerce, BigCommerce, and more. Product search, cart management, checkout, and order tracking via Model Context Protocol.

Readme

ecommerce-mcp

Universal MCP client for ecommerce platforms — connect AI agents to Shopify, WooCommerce, BigCommerce, and more.

npm License: MIT

What This Does

Connects any AI agent to any ecommerce store via the Model Context Protocol. One interface, multiple platforms.

import { EcommerceMCP } from 'ecommerce-mcp';

const mcp = new EcommerceMCP({ shopDomain: 'my-store.myshopify.com' });
await mcp.connect();

const products = await mcp.searchProducts('winter jackets under $200');
const cart = await mcp.addToCart(products[0].id);
const checkoutUrl = await mcp.getCheckoutUrl();

Why MCP for Ecommerce?

  • 5.6M Shopify stores already have MCP endpoints (/api/mcp) — deployed by default
  • Standard protocol — no custom API wrappers, no platform-specific SDKs
  • AI-native — designed for LLM tool calling, not human HTTP clients
  • "Agentic commerce" — Google + Shopify's term for AI agents that shop autonomously

Quick Start

npm install ecommerce-mcp

As a Library

import { EcommerceMCP } from 'ecommerce-mcp';

const mcp = new EcommerceMCP({
  shopDomain: 'store.myshopify.com',
  // platform auto-detected from domain
});

await mcp.connect();

// Search products
const products = await mcp.searchProducts('blue sneakers');

// Cart operations
const cart = await mcp.addToCart(products[0].id);
const fullCart = await mcp.getCart();
const checkout = await mcp.getCheckoutUrl();

// Order tracking
const order = await mcp.getOrderStatus('order-123');

As a CLI

# List MCP tools available on a store
npx ecommerce-mcp --shop my-store.myshopify.com tools

# Search products
npx ecommerce-mcp --shop my-store.myshopify.com search "running shoes"

# Check cart
npx ecommerce-mcp --shop my-store.myshopify.com cart

Direct Shopify Provider

import { ShopifyProvider } from 'ecommerce-mcp/shopify';

const shopify = new ShopifyProvider('my-store.myshopify.com');
await shopify.connect();
const products = await shopify.searchProducts('snowboards');

Supported Platforms

| Platform | Status | MCP Endpoint | |----------|--------|-------------| | Shopify | Supported | /api/mcp (all 5.6M stores) | | WooCommerce | Coming Soon | Custom plugin | | BigCommerce | Coming Soon | API adapter | | Custom | Via mcpEndpoint option | Any MCP-compatible endpoint |

MCP Tools (Shopify)

| Tool | What it does | |------|-------------| | search_catalog | Natural language product search | | update_cart | Add/remove/update cart items | | get_cart | View current cart | | search_shop_policies_and_faqs | Store policies, shipping, returns | | get_order_status | Look up a specific order | | get_most_recent_order_status | Check latest order |

Use with AI Agents

Combine with shopify-ai-agent for a complete AI shopping experience with ZeroMemory (persistent shopper context):

import { ShopifyAIAgent } from 'shopify-ai-agent';

const agent = new ShopifyAIAgent({
  apiKey: process.env.AINATIVE_API_KEY,
  shopDomain: 'my-store.myshopify.com',
});

const r = await agent.chat('I need winter boots, size 10');
// Agent searches via MCP, remembers size preference via ZeroMemory

Configuration

const mcp = new EcommerceMCP({
  shopDomain: 'store.myshopify.com',   // Required
  platform: 'shopify',                  // Auto-detected from domain
  mcpEndpoint: 'https://custom/mcp',   // Override auto-detection
  apiKey: 'for-authenticated-ops',      // For customer operations
  ainativeApiKey: 'for-zeromemory',     // Optional: persistent context
});

Links

License

MIT

Built by AINative Studio