MCP server for Walmart: keyword and category search, product pages with the buy box and other sellers, and the review feed with its filter block. 1,000 free credits every month.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
git clone https://github.com/HasData/walmart-mcp{
"mcpServers": {
"walmart-mcp": {
"command": "node",
"args": ["/path/to/walmart-mcp/dist/index.js"]
}
}
}MCP Servers overview
# Walmart MCP Server
<!-- mcp-name: com.hasdata/walmart -->
A hosted Model Context Protocol (MCP) server that gives Claude, Cursor, Windsurf and any other MCP client three read-only Walmart tools. Run a keyword or category search, read one item with the seller holding the buy box, and page through its customer reviews, all as structured JSON, with no Walmart developer account and nothing to host.
It reads public Walmart pages that a signed-out visitor can see, on `walmart.com` and `walmart.ca`.
**1,000 free credits every month, no card required**, which is 100 Walmart calls at the 10-credit rate.
```
https://mcp.hasdata.com/api/mcp?apis=walmart
```
[](https://glama.ai/mcp/servers/HasData/walmart-mcp)
[](https://github.com/HasData/walmart-mcp/actions/workflows/contract.yml)
[](https://mcp.hasdata.com/api/mcp?apis=walmart)
[](#tools)
[](https://www.npmjs.com/package/@hasdata/walmart-mcp)
[](https://pypi.org/project/hasdata-walmart-mcp/)
[](LICENSE)
## Contents
- [What you need](#what-you-need)
- [Quick start](#quick-start)
- [Example prompts](#example-prompts)
- [Tools](#tools)
- [Errors and failure paths](#errors-and-failure-paths)
- [Pricing, free tier and limits](#pricing-free-tier-and-limits)
- [Tool selection](#tool-selection)
- [How it compares](#how-it-compares)
- [FAQ](#faq)
- [HasData links](#hasdata-links)
- [Development](#development)
- [Contributing](#contributing)
- [License](#license)
## What you need
An MCP client and a HasData API key from the [dashboard](https://app.hasdata.com/sign-up?utm_source=github&utm_medium=syndication&utm_campaign=walmart-mcp), free to create with no card, and the free tier covers about 100 calls a month at the 10-credit rate. This is a remote server, so the simplest path is a URL and an `x-api-key` header, with no container to run. A client that only speaks stdio reaches it through a thin launcher, published as `@hasdata/walmart-mcp` on npm and `hasdata-walmart-mcp` on PyPI, shown below.
## Quick start
The server URL is the same for every client. We run it hands-on in Claude Code and Claude Desktop. The other blocks follow each client's own documented format for a remote server.
| Field | Value |
| :--- | :--- |
| URL | `https://mcp.hasdata.com/api/mcp?apis=walmart` |
| Transport | HTTP, streamable |
| Auth header | `x-api-key: HASDATA_API_KEY` |
Clients with OAuth support can add the same URL as a connector and sign in without putting a key in a config file.
<details>
<summary><b>Claude Code</b></summary>
```bash
claude mcp add --transport http walmart "https://mcp.hasdata.com/api/mcp?apis=walmart" \
--header "x-api-key: HASDATA_API_KEY"
```
</details>
<details>
<summary><b>Claude Desktop</b></summary>
Settings, then Connectors, then Add custom connector, then paste `https://mcp.hasdata.com/api/mcp?apis=walmart` and sign in.
For the config-file route, Claude Desktop loads only local (stdio) servers, so it reaches a remote server through a stdio launcher. The `@hasdata/walmart-mcp` package is that launcher, and it reads the key from the environment. Add this to `claude_desktop_config.json`:
```json
{
"mcpServers": {
"walmart": {
"command": "npx",
"args": ["-y", "@hasdata/walmart-mcp"],
"env": { "HASDATA_API_KEY": "YOUR_KEY" }
}
}
}
```
For Python instead of Node, swap the launcher for the PyPI package, which `uvx` runs without a manual install:
```json
{
"mcpServers": {
"walmart": {
"command": "uvx",
"args": ["hasdata-walmart-mcp"],
"env": { "HASDATA_API_KEY": "YOUR_KEY" }
}
}
}
```
</details>
<details>
<summary><b>Cursor</b></summary>
`~/.cursor/mcp.json` for every project, or `.cursor/mcp.json` for one:
```json
{
"mcpServers": {
"walmart": {
"url": "https://mcp.hasdata.com/api/mcp?apis=walmart",
"headers": { "x-api-key": "HASDATA_API_KEY" }
}
}
}
```
</details>
<details>
<summary><b>Windsurf</b></summary>
`~/.codeium/windsurf/mcp_config.json`. Windsurf calls the field `serverUrl`, not `url`:
```json
{
"mcpServers": {
"walmart": {
"serverUrl": "https://mcp.hasdata.com/api/mcp?apis=walmart",
"headers": { "x-api-key": "HASDATA_API_KEY" }
}
}
}
```
</details>
<details>
<summary><b>VS Code</b></summary>
`.vscode/mcp.json` in the workspace:
```json
{
"servers": {
"walmart": {
"type": "http",
"url": "https://mcp.hasdata.com/api/mcp?apis=walmart",
"headers": { "x-api-key": "HASDATA_API_KEY" }
}
}
}
```
</details>
## Example prompts
Each of these lands on one tool, or on two in sequence when the second needs the item id the first returns.
- Find laptop stands under $30 on Walmart and sort them by price.
- What does item 18493462688 cost right now, and who holds the buy box?
- Show me every other seller offering this item and what they charge with shipping.
- Read the reviews of this item that mention battery life.
- Pull only the verified-purchase reviews of this item and summarise the complaints.
- Compare the price of this item on walmart.com and walmart.ca.
A prompt that names a product rather than an item id takes two calls, one search to resolve the id and one product lookup to read it. Reviews work the same way, and the search result carries the id both need.
## Tools
Three tools, 10 credits per successful call. Each takes `domain`, either `walmart.com` or `walmart.ca`, and `language`, where `walmart.com` serves `en` and `es` while `walmart.ca` serves `en` and `fr`. A language the storefront does not offer falls back to its default.
Item ids are storefront-scoped. On `walmart.com` they are numeric, such as `18493462688`, and on `walmart.ca` alphanumeric, such as `6NZMJ5CW6MH2`. An id from one storefront does not resolve on the other.
### Get Walmart search results
[`hasdata_walmart_search_getSearchResults`](https://docs.hasdata.com/apis/walmart/search?utm_source=github&utm_medium=syndication&utm_campaign=walmart-mcp)
A page of search results for a keyword, a category, or both.
| Parameter | Type | Required | Notes |
| :--- | :--- | :--- | :--- |
| `q` | string | see below | The search term |
| `catId` | string | see below | Category id from a category URL, such as `976759_1086446_1229651` |
| `url` | string | | A full Walmart search or category URL, scraped as is. Overrides the parameters above |
| `domain` | string | | `walmart.com` or `walmart.ca` |
| `language` | string | | `en`, `es` or `fr`, subject to the storefront |
| `sort` | string | | `bestMatch`, `priceLowToHigh`, `priceHighToLow`, `bestseller`, `highlyRated` or `newArrivals` |
| `page` | number | | Result page, starting at 1 |
| `minPrice` / `maxPrice` | number | | Price band in the storefront currency |
| `deliveryType` | string | | `shipping` or `pickup` |
| `facet` | string | | One filter in `name:value` form, such as `brand:Great Value` |
Send `q` to search, `catId` to browse a whole category, or both to search inside one. Neither appears in the schema's `required` array because either one satisfies the call on its own.
Returns `searchInformation`, a `productResults` array, a `facets` block and `pagination`. Each result carries `position`, `id`, `title`, `url`, `brand`, `isSponsored`, `badges`, `walmartPlusSavings`, `categoryPathId`, a `price` object, `reviews` with `rating` and `totalReviews`, `image`, `seller`, `availability` and `fulfillment`.
The `facets` block is the map of every filter the query supports, and each value carries the exact string to send back in `facet`. Running one unfiltered search to read the facets is cheaper than guessing.
```json
{
"position": 1,
"id": "18493462688",
"title": "Incipio Portable Foldable Aluminum Laptop Stand and Riser with Adjustable Angles, Anti-Slip and Ventilated Design",
"url": "https://www.walmart.com/ip/Portable-Laptop-Stand-Black/18493462688",
"isSponsored": true,
"badges": ["Overall pick"],
"walmartPlusSavings": true,
"categoryPathId": "4125_4134_1074326_9623037_7875081",
"price": { "currentPrice": 9.96, "currentPriceDisplay": "$9.96" },
"reviews": { "rating": 4.5, "totalReviews": 49 }
}
```
### Get Walmart product details
[`hasdata_walmart_product_getWalmartProduct`](https://docs.hasdata.com/apis/walmart/product?utm_source=github&utm_medium=syndication&utm_campaign=walmart-mcp)
One item in full.
| Parameter | Type | Required | Notes |
| :--- | :--- | :--- | :--- |
| `itemId` | string | see below | The Walmart item id |
| `url` | string | see below | A full product URL, scraped as is. Overrides `itemId` and sets the storefront |
| `domain` | string | | `walmart.com` or `walmart.ca`, ignored when `url` is given |
| `language` | string | | `en`, `es` or `fr`, subject to the storefront |
| `otherOffers` | boolean | | Also collect competing offers. Costs 5 credits on top, 15 instead of 10 |
Pass `itemId` or `url`. As with search, neither is listed as required because either one works alone.
Returns a `product` object with `itemId`, `title`, `url`, `brand`, `brandUrl`, `type`, `model`, `upc`, `condition`, `badges`, `availability`, a `price` object, the `seller` holding the buy box, `reviews`, `images`, `categoryPath`, `categoryPathId`, `highlights`, `specifications`, `keyItemFeatures`, `productDetails` and `fulfillment`.
The base call already reports how many competitors the page advertises and the cheWhat people ask about walmart-mcp
What is HasData/walmart-mcp?
+
HasData/walmart-mcp is mcp servers for the Claude AI ecosystem. MCP server for Walmart: keyword and category search, product pages with the buy box and other sellers, and the review feed with its filter block. 1,000 free credits every month. It has 0 GitHub stars and its last recorded update is dated 2026-09-10.
How do I install walmart-mcp?
+
You can install walmart-mcp by cloning the repository (https://github.com/HasData/walmart-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is HasData/walmart-mcp safe to use?
+
Our security agent has analyzed HasData/walmart-mcp and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains HasData/walmart-mcp?
+
HasData/walmart-mcp is maintained by HasData. The last recorded GitHub activity is dated 2026-09-10, with 0 open issues.
Are there alternatives to walmart-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy walmart-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/hasdata-walmart-mcp)<a href="https://claudewave.com/repo/hasdata-walmart-mcp"><img src="https://claudewave.com/api/badge/hasdata-walmart-mcp" alt="Featured on ClaudeWave: HasData/walmart-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!