retailerapi
Unified product data across major US retailers (Walmart, Amazon, eBay, Target, Best Buy, Lowe's, Home Depot): lookups, price history, sellers, reviews.
@retailerapi/mcp
Model Context Protocol server for retailerapi.com — a unified product-data API covering major US retailers. Five tools your AI agent can call directly: product lookups, price history, offers, seller profiles, and reviews.
Works with Claude Desktop, Claude Code, Cursor, and any other MCP-compatible client over stdio.
Covered retailers: Walmart (deepest catalog today), Amazon, eBay, Target, Best Buy, Lowe's, Home Depot. Set include_cross_retailer=true on a product lookup to fold in cross-retailer pricing from any of these.
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_…. Free tier is 1,000 lookups/month — no card.
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_here
Cursor
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/mcp
The 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 / GTIN / Amazon ASIN / Walmart item_id) into a normalized product summary. Returns retailer_links — the list of other retailers (Amazon, eBay, Target, Best Buy, Lowe's, Home Depot) that carry the same product, with a direct URL to each — free for barcode lookups. Set include_cross_retailer=true to also pull live price/stock per retailer (+2 tokens).
Barcode lookups also return a diagnostic _meta block with the source retailer for each top-level field and a data_quality_score (0.0–1.0). A score below 1.0 means at least one retailer described a different product and was excluded from the merge; _meta.disagreements lists each excluded retailer's title for debugging. Safe to ignore for most uses.
| Field | Type |
|---|---|
identifier | string (required) |
identifier_type | "UPC" | "EAN" | "ISBN" | "item_id" (optional — auto-detect if omitted) |
include_cross_retailer | boolean (optional — default false) |
Example prompts:
- "Look up UPC 045496590161 and tell me the brand and price."
- "Find UPC 194629116676 across every retailer you can — who has it cheapest?"
price_history
Time series of {observed_at, price, in_stock} observations for a product.
| Field | Type |
|---|---|
item_id | string (required) |
range | "7d" | "30d" | "90d" | "1y" | "all" (default "30d") |
Example prompt: "Show me the 90-day price history for item 1689065034."
get_offers
List current marketplace sellers on a product, including price, in-stock state, and which seller owns the buy box.
| Field | Type |
|---|---|
item_id | string (required) |
Example prompt: "Who has the buy box on item 1689065034 and what's the next-cheapest seller?"
get_seller
Marketplace seller profile by seller_id: name, total active listings, rating, performance metrics.
| Field | Type |
|---|---|
seller_id | string (required) |
Example prompt: "Tell me about seller F55CDC31AB754BB68FE0B39041159D63."
get_reviews
Review summary plus top recent reviews for a product. Optional date range.
| Field | Type |
|---|---|
item_id | string (required) |
start_date | YYYY-MM-DD (optional) |
end_date | YYYY-MM-DD (optional) |
Example prompt: "Summarize what customers complain about in reviews of item 1689065034."
Errors
Tool calls return structured JSON errors instead of crashing the agent:
| Status | Error code | Meaning |
|---|---|---|
| 401, 403 | unauthorized | API key invalid or missing scope. Check RETAILERAPI_KEY. |
| 404 | not_found | Product, seller, or item_id not found. |
| 429 | rate_limited | Quota or burst limit hit. Includes retry_after_seconds. |
| 5xx | upstream_error | Backend issue. Retry shortly. |
| — | missing_api_key | RETAILERAPI_KEY env var not set. Pointer to docs included. |
Environment
| Variable | Required | Default |
|---|---|---|
RETAILERAPI_KEY | yes | — |
RETAILERAPI_BASE_URL | no | https://api.retailerapi.com/v1 |
Develop locally
pnpm install
pnpm --filter @retailerapi/mcp build
RETAILERAPI_KEY=rk_live_… node packages/mcp/dist/index.js
The MCP Inspector (npx @modelcontextprotocol/inspector) is the easiest way to exercise the tools manually.
License
MIT
Verwandte Server
Synmerco
Fully autonomous AI agent commerce — USA-built, 1.75% fee (11x cheaper than ACP). 15 tools for escrow, reputation, spending limits, collateral staking, referrals. ERC-8004 on 4 chains. $1K insurance. Stripe fiat + crypto. npx @synmerco/mcp-server
Cinderfi
Tax-aware retirement planning for Canada and the US — CPP/OAS, Social Security, RRSP/TFSA/401k/IRA, Monte Carlo, withdrawal optimization.
VMS Integration
Connects to a CCTV recording program (VMS) to retrieve recorded and live video streams and control the VMS software.
Stock Market Tracker
MCP server for advanced financial analysis, stock monitoring, and real-time market intelligence to support buy/sell decisions
Frihet MCP Server
The first AI-native MCP server for a Spanish ERP. Create invoices, manage expenses, track clients, handle products, quotes and webhooks — all through natural language with any AI assistant. 31 tools, bilingual ES/EN.
MCP Goodnews
An MCP application that delivers curated positive and uplifting news stories using NewsAPI and Cohere LLM.
Mighty Bills
Interact with bills and ledger transactions tracked by Mighty Bills.
The Agent Times
Agent economy news with 6 tools. Agents can read articles, get stats, and comment. Earn Bitcoin for contributions.
MCP-TFT
Provides accurate Teamfight Tactics (TFT) analysis using Data Dragon and community meta insights.
Base L2 Agent Kit
MCP server for Base L2 DeFi operations with 9 monetized endpoints: gas estimates, yield farming, token analysis, contract audit, wallet health, DEX quotes, price feeds, mnemonic generation. Built with FastMCP Python SDK.