@retailerapi/mcp
OfficialProvides tools for interacting with Walmart product data, including product lookup, price history, offers, seller profiles, reviews, and sales stats.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@retailerapi/mcpLook up UPC 045496590161 and tell me the brand and price."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@retailerapi/mcp
Model Context Protocol server for retailerapi.com. Exposes Walmart product data — lookups, price history, offers, seller profiles, reviews, and sales stats — as tools your AI agent can call directly.
Works with Claude Desktop, Claude Code, Cursor, and any other MCP-compatible client over stdio.
Quick start
1. Get an API key
Sign in at app.retailerapi.com and create a key on the API Keys page. Keys look like rk_live_….
2. Add the server to your MCP client
Claude Desktop
Edit claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json) and add:
{
"mcpServers": {
"retailerapi": {
"command": "npx",
"args": ["-y", "@retailerapi/mcp"],
"env": {
"RETAILERAPI_KEY": "rk_live_your_key_here"
}
}
}
}Restart Claude Desktop. The retailerapi tools will appear in the tool picker.
Claude Code
claude mcp add retailerapi npx -y @retailerapi/mcp \
--env RETAILERAPI_KEY=rk_live_your_key_hereCursor
Add to ~/.cursor/mcp.json (or the project-level .cursor/mcp.json):
{
"mcpServers": {
"retailerapi": {
"command": "npx",
"args": ["-y", "@retailerapi/mcp"],
"env": {
"RETAILERAPI_KEY": "rk_live_your_key_here"
}
}
}
}Generic stdio
RETAILERAPI_KEY=rk_live_your_key_here npx @retailerapi/mcpThe process speaks MCP over stdio (newline-delimited JSON-RPC on stdin/stdout). Logs go to stderr.
Tools
lookup_product
Resolve any identifier (UPC / EAN / ISBN / Walmart item_id) into a normalized product summary.
Field | Type |
| string (required) |
|
|
Example prompt: "Look up UPC 045496590161 and tell me the brand and price."
price_history
Time series of {recorded_at, price, in_stock} samples for a Walmart item_id.
Field | Type |
| string (required) |
|
|
Example prompt: "Show me the 90-day price history for Walmart item 1689065034."
get_offers
List current sellers on a Walmart product, including price, condition, fulfillment type, and which seller owns the buybox.
Field | Type |
| string (required) |
Example prompt: "Who has the buybox on item 1689065034 and what's the next-cheapest seller?"
get_seller
Walmart seller profile by seller_id: name, total listings, rating, status, location.
Field | Type |
| string (required) |
Example prompt: "Tell me about Walmart seller 101037778."
get_reviews
Review summary plus the top recent reviews for a Walmart product. Optional date range.
Field | Type |
| string (required) |
|
|
|
|
Example prompt: "Summarize what customers complain about in reviews of item 1689065034."
get_sales_stats
Sales rank, primary category, estimated monthly units (and revenue when available).
Field | Type |
| string (required) |
Example prompt: "Is Walmart item 1689065034 a fast mover? Give me the rank and estimated monthly units."
Errors
Tool calls return structured JSON errors instead of crashing the agent:
Status | Error code | Meaning |
401, 403 |
| API key invalid or missing scope. Check |
404 |
| Product, seller, or item_id not found. |
429 |
| Quota or burst limit hit. Includes |
5xx |
| Backend issue. Retry shortly. |
— |
|
|
Environment
Variable | Required | Default |
| yes | — |
| no |
|
Develop locally
pnpm install
pnpm --filter @retailerapi/mcp build
RETAILERAPI_KEY=rk_live_… node packages/mcp/dist/index.jsThe MCP Inspector (npx @modelcontextprotocol/inspector) is the easiest way to exercise the tools manually.
License
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/retailerapi/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server