# HasData Walmart

HasData Walmart — a hosted MCP server that returns Walmart search results, product pages and customer reviews as JSON. Works with Claude Code, Cursor, Windsurf and any MCP client.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 4 repo stars
- Author: HasData
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/HasData/walmart-mcp
- Updated: 2026-10-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/hasdata-walmart

## What it does

The server exposes three read-only tools to an MCP client. Search runs by keyword or category and returns a list with item id, title, URL, brand, price with the crossed-out before-price, star rating, review count, seller, availability and a sponsored flag. Product lookup returns one item with brand, UPC, condition, availability, price, unit price, and the seller holding the buy box along with its rating. Reviews come back with rating, full text, submission date, author, verified-purchase flag and helpful vote counts.

It runs as a remote server at `https://mcp.hasdata.com/mcp?apis=walmart` with the key in an `x-api-key` header. No container to host. Clients that only speak stdio can reach it through launchers: `@hasdata/walmart-mcp` on npm or `hasdata-walmart-mcp` on PyPI.

You need a free HasData API key from the dashboard. The free tier gives 1,000 credits a month, and each call costs 10 credits — roughly 100 calls monthly. Language is domain-dependent: `walmart.com` serves `en` and `es`, `walmart.ca` serves `en` and `fr`; an unsupported language falls back to the storefront default. The reviews tool does not cover walmart.ca, so for the Canadian store only search and product data are available.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://mcp.hasdata.com/mcp?apis=walmart`
- Environment variables: `HASDATA_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI**
```bash
claude mcp add walmart -e HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/walmart-mcp
```
Replace <…> with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http hasdata-walmart 'https://mcp.hasdata.com/mcp?apis=walmart'
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add hasdata-walmart --url 'https://mcp.hasdata.com/mcp?apis=walmart'
```

2. **Platform CLI**
```bash
codex mcp add hasdata-walmart --env HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/walmart-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "hasdata-walmart": {
            "url": "https://mcp.hasdata.com/mcp?apis=walmart"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "hasdata-walmart": {
            "command": "npx",
            "args": [
                "-y",
                "@hasdata/walmart-mcp"
            ],
            "env": {
                "HASDATA_API_KEY": "<HASDATA_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "hasdata-walmart": {
            "type": "http",
            "url": "https://mcp.hasdata.com/mcp?apis=walmart"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "hasdata-walmart": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@hasdata/walmart-mcp"
            ],
            "env": {
                "HASDATA_API_KEY": "<HASDATA_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http hasdata-walmart 'https://mcp.hasdata.com/mcp?apis=walmart'
```

2. **Platform CLI**
```bash
gemini mcp add -e HASDATA_API_KEY=<HASDATA_API_KEY> hasdata-walmart npx -y @hasdata/walmart-mcp
```
Replace <…> with your own values

## When to use it
- pull product prices and availability by UPC or name
- see who holds the buy box and what other sellers charge
- extract only verified-purchase reviews and summarise complaints
- compare a product's price across walmart.com and walmart.ca
- get search results as JSON without scraping HTML

## Example prompts
- Find laptop stands under 30 dollars and order them by price.
- List every other seller of this item and what they charge with shipping.

## Similar
- [linkfox-walmart-search](https://affpapa.org/en/nevibecode/skills/linkfox-walmart-search.md) — skill · 410 installs
- [walmart-listing-optimization](https://affpapa.org/en/nevibecode/skills/walmart-listing-optimization.md) — skill · 1100 installs
- [walmart](https://affpapa.org/en/nevibecode/mcp/walmart.md) — MCP server · ★ 7 repo stars
- [HasData](https://affpapa.org/en/nevibecode/mcp/hasdata.md) — MCP server · ★ 16 repo stars
- [HasData Shopify](https://affpapa.org/en/nevibecode/mcp/hasdata-shopify.md) — MCP server · ★ 5 repo stars
- [ShopGraph](https://affpapa.org/en/nevibecode/mcp/shopgraph.md) — MCP server · 327 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
