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

@striderlabs/mcp-hm

v0.1.1

Published

MCP server for H&M - let AI agents search fashion products, manage cart, track orders, browse sales, and more

Readme

@striderlabs/mcp-hm

H&M fashion retail connector for AI agents via the Model Context Protocol.

Enables AI assistants to search H&M products, manage your shopping bag, track orders, browse sales, check rewards, and more — all without leaving your chat interface.

Install

npm install -g @striderlabs/mcp-hm

Or use directly with npx:

npx @striderlabs/mcp-hm

Prerequisites

Chrome must be installed on your system (used for browser automation).

MCP Client Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "hm": {
      "command": "npx",
      "args": ["-y", "@striderlabs/mcp-hm"]
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "hm": {
      "command": "striderlabs-mcp-hm"
    }
  }
}

Other MCP clients

The server communicates over stdio (standard MCP transport). Point your client at the striderlabs-mcp-hm binary or node dist/index.js.

Tools

| Tool | Description | |------|-------------| | hm_status | Check login status | | hm_login | Initiate H&M sign-in | | hm_logout | Sign out and clear session | | hm_search_products | Search clothing, accessories, home items | | hm_product_details | Full product info: sizes, colors, materials, fit | | hm_size_guide | Size guide and measurements by category | | hm_add_to_cart | Add item to shopping bag | | hm_view_cart | View bag contents and totals | | hm_checkout | Start checkout flow | | hm_find_stores | Find stores near a location | | hm_member_rewards | View H&M Member points, tier, and vouchers | | hm_track_order | Track order status and delivery | | hm_view_wishlist | View saved wishlist items | | hm_add_to_wishlist | Save a product to wishlist | | hm_browse_sale | Browse current sale and clearance items |

Usage Examples

Search & discover

Search for black slim-fit jeans in men's
Show me linen shirts under $30
Find sale items in ladies section sorted by price

Product research

Get details for [product URL] including available sizes and materials
What sizes are available for this item?
Show me the size guide for women's tops

Shopping

Add the Medium in Black to my bag
Show my shopping bag
Start checkout

Account

Check my H&M Member points balance
Track my recent orders
Show my wishlist

Authentication

H&M sessions are handled via browser cookies:

  1. Call hm_login — the login page opens in a browser window
  2. Sign in manually with your H&M account
  3. Call hm_status to confirm — your session is saved to ~/.strider/hm/
  4. Future sessions reuse saved cookies automatically

Session data is stored at:

~/.strider/hm/
├── cookies.json    # Browser session cookies
└── session.json    # Login metadata

Technical Details

  • Browser automation: Patchright (stealth-patched Playwright)
  • Transport: stdio (MCP standard)
  • Target: H&M US (www2.hm.com/en_us)
  • Runtime: Node.js 18+, Chrome required

Limitations

  • Requires Chrome installed locally
  • H&M website changes may affect selector-based scraping
  • Checkout completion requires manual interaction in the browser
  • In-store inventory checks depend on H&M's store finder availability

By Strider Labs

Built by Strider Labs — personal AI agent infrastructure.