New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@striderlabs/mcp-bjs

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@striderlabs/mcp-bjs

BJs Wholesale Club MCP server — search, cart, and order from BJs. By Strider Labs.

Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

@striderlabs/mcp-bjs

BJ's Wholesale Club MCP server for personal AI agents. Search products, manage your cart, check club inventory, find gas prices, manage coupons, and more — all from Claude or any MCP-compatible AI client.

Features

  • Product search — Find items with prices, stock status, and member pricing
  • Product details — Full specs, descriptions, and pricing for any item
  • Club inventory — Check real-time stock at your local BJ's club
  • Cart management — Add, view, and remove items; initiate checkout for pickup, delivery, or shipping
  • Membership — View membership info and renew
  • Coupons & offers — Browse, clip, and track digital coupons
  • Order history — View past orders and track shipments
  • Club finder — Find BJ's locations near any zip code
  • Gas prices — Check current fuel prices at BJ's stations

Installation

npm install -g @striderlabs/mcp-bjs

Or use directly with npx:

npx @striderlabs/mcp-bjs

Install Chromium for browser automation:

npx patchright install chrome

MCP Client Configuration

Claude Desktop

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

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

Generic MCP Client

{
  "mcpServers": {
    "bjs": {
      "command": "striderlabs-mcp-bjs",
      "transport": "stdio"
    }
  }
}

Available Tools

Authentication

ToolDescription
bjs_statusCheck login status and current session
bjs_loginInitiate browser login (returns URL for manual sign-in)
bjs_logoutLog out and clear saved session

Products

ToolDescription
bjs_searchSearch products by keyword with optional club filter
bjs_product_detailsFull product details and pricing by URL
bjs_check_inventoryCheck in-stock status at a specific club

Cart & Checkout

ToolDescription
bjs_add_to_cartAdd item to cart by product URL
bjs_view_cartView cart contents with subtotal and total
bjs_remove_from_cartRemove an item from cart by name
bjs_checkoutStart checkout: pickup, delivery, or ship

Membership

ToolDescription
bjs_membership_infoMembership number, type, expiry, rewards balance
bjs_membership_renewNavigate to membership renewal page

Coupons & Offers

ToolDescription
bjs_couponsBrowse available digital coupons, optionally by category
bjs_clip_couponClip a coupon to your membership card
bjs_my_couponsView all clipped coupons

Orders

ToolDescription
bjs_order_historyView past orders with status and total
bjs_order_detailsFull order details with items and tracking

Clubs & Gas

ToolDescription
bjs_find_clubsFind BJ's clubs near a zip code
bjs_gas_pricesCurrent gas prices at BJ's fuel stations

Usage Examples

Find paper towels near me

Search for paper towels at BJ's, then check if the Bounty Select-A-Size is in stock at my nearest club.
  • bjs_find_clubs → find nearby club IDs
  • bjs_search with query: "bounty paper towels" and clubId
  • bjs_check_inventory with the product URL and club ID

Shop and checkout for pickup

Add 2 packs of Kirkland bottled water to my cart and start in-club pickup checkout.
  • bjs_search with query: "bottled water"
  • bjs_add_to_cart with quantity: 2
  • bjs_view_cart to confirm
  • bjs_checkout with fulfillmentType: "pickup"

Find the cheapest gas

What are the gas prices at BJ's stations near 07001?
  • bjs_gas_prices with zipCode: "07001"

Clip all grocery coupons

Clip all available grocery coupons to my BJ's card.
  • bjs_coupons with category: "grocery"
  • Loop through results calling bjs_clip_coupon for each unclipped coupon

Authentication

BJ's requires manual sign-in on first use:

  • Call bjs_login — the server opens a browser and returns the login URL
  • Complete sign-in (enter email, password, handle 2FA if prompted)
  • Call bjs_status to confirm the session is active
  • Session cookies are saved to ~/.strider/bjs/ and reused automatically

Configuration

Session data is stored at ~/.strider/bjs/:

  • cookies.json — Browser session cookies (auto-refreshed)
  • session.json — Membership info cache

Development

git clone https://github.com/striderlabs/mcp-bjs
cd mcp-bjs
npm install
npm run build
npm start
  • MCP Protocol
  • BJ's Wholesale Club
  • Report Issues

By Strider Labs — MIT License

Keywords

mcp

FAQs

Package last updated on 16 Mar 2026

Related posts