# walmart [Health: Active]

**Category:** 🛒 E-Commerce  
**Repository:** https://github.com/markswendsen-code/mcp-walmart  
**GitHub Stars:** 4  
**npm Downloads (last month):** 211  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/walmart

## Description
MCP server for Walmart - search products, manage cart, track orders

## Tools
Capabilities this server exposes over MCP:

- **status** — Check Walmart authentication status and session info.
- **login** — Authenticate with your Walmart account using email and password via browser automation.
- **logout** — Clear Walmart session and stored cookies.
- **set_address** — Set delivery or pickup address for Walmart. Affects product availability and pricing.
- **search** — Search Walmart products by query with optional filters.
- **get_product** — Get detailed product information including price, description, and availability.
- **add_to_cart** — Add a product to the Walmart cart.
- **view_cart** — View current Walmart cart contents and totals.
- **update_cart** — Update the quantity of an item in the Walmart cart.
- **remove_from_cart** — Remove a specific item from the Walmart cart.
- **checkout** — Preview checkout summary for the Walmart cart. Returns order details without placing the order.
- **get_orders** — Get Walmart order history.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

## Documentation

## What walmart MCP server does

The walmart MCP server lets an MCP-compatible agent interact with Walmart.com for product discovery and cart management. It can authenticate a Walmart account, establish a delivery or pickup location, search products, inspect item details, and maintain the current cart. It also exposes recent order history and a checkout preview containing order totals without submitting the purchase.

This fits assistants that turn shopping requests into concrete product searches and cart changes. Location matters: setting a ZIP code or full address can change the availability and pricing returned by Walmart.

## How it works

The server uses the stdio MCP transport and drives Chromium through Playwright. Stealth patches are included in the browser setup, including changes related to webdriver detection, browser plugins, languages, and permissions.

Authentication uses the `login` tool with a Walmart email address and password. Cookies and authentication data persist under `~/.striderlabs/walmart/`, allowing later calls to reuse the existing session. `status` reports the current session state, while `logout` clears the session and stored cookies.

## Setup and configuration

Run the package directly with Node.js:

```bash
npx @striderlabs/mcp-walmart
```

It can also be installed globally with npm and started using `mcp-walmart`. Add a stdio entry to the MCP client configuration with `npx` as the command and `@striderlabs/mcp-walmart` as its argument.

Node.js 18 or newer is required. Chromium is installed automatically through Playwright. No runtime environment variables are documented. Session files are written to `~/.striderlabs/walmart/cookies.json` and `~/.striderlabs/walmart/auth.json`.

## Tools and capabilities

The walmart MCP server provides these operations:

- Check authentication state or sign in and out.
- Set a ZIP code or full address for delivery or pickup context.
- Search products with price bounds, sort order, and result limits. Results can be limited to 24 items.
- Retrieve product information by Walmart URL or item ID, including price, description, and availability.
- Add items to a cart, inspect cart contents and totals, change quantities, or remove products by ID or partial name.
- Preview checkout details, including items, subtotal, tax, and total.
- Return a configurable number of recent orders.

## Limitations and notes

Checkout is intentionally read-only: it returns a summary and does not place the order. A user must complete the purchase manually after reviewing the result. Login accepts account credentials through browser automation, and the resulting session data is stored locally in the stated directory. Cart and product operations depend on the active Walmart session and location context. The server's documented transport is stdio, and its browser workflow requires Chromium.

_Full upstream README: https://allmcps.com/mcp/walmart/readme_

