Amazon Shopping MCP
End-to-end Amazon shopping automation via Playwright: search any Amazon storefront, scrape product details (specs, pricing, images, availability) in parallel and pull reviews with rating breakdowns, plus logged-in capabilities to list saved addresses/payment methods, add items to cart, preview and confirm checkout and order placement, manage Subscribe & Save, list orders, and preview and submit returns.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Amazon Shopping MCP
A Model Context Protocol (MCP) server that lets Claude shop Amazon for you — end to end. It searches products, scrapes full specs and reviews, and (once you log in) can add items to your cart and place orders using the cards and addresses already saved in your Amazon account.
Built with Playwright for reliable browsing that doesn't get blocked like simple HTTP requests.
Features
Search Amazon — search any Amazon domain (.ca, .com, .co.uk, etc.) and get structured results with price, rating, review count, and Prime status
Product Details — scrape full product pages for specs, features, description, available colors/sizes, brand, pricing (current + list price), images, and availability. Supports parallel scraping of multiple products at once for fast comparison
Product Reviews — pull rating distribution (5-star breakdown), overall rating, and individual reviews with title, body, star rating, date, and verified purchase status
Buy products — log in once, then list your saved addresses & cards, add to cart, view cart, and place orders. Checkout requires an explicit confirm step so nothing is ever bought without your go-ahead
No raw card numbers, ever — purchases use the cards/addresses already in your Amazon account; the server only ever sees the last 4 digits Amazon itself displays
CAPTCHA Detection — automatically detects when Amazon shows a bot check and returns a clear error instead of garbage data
Related MCP server: Amazon MCP Server
Tools
Browse (no login required)
Tool | Description |
| Search Amazon. Returns up to 20 results with title, price, rating, review count, Prime badge, ASIN, and product URL |
| Scrape one or more product pages in parallel. Returns specs, features, description, colors, sizes, brand, price, images, availability |
| Get reviews from a product page. Returns star distribution, overall rating, total review count, and individual reviews |
Buy (requires amazon_login first)
Tool | Description |
| Opens a real, visible browser window so you can sign in (incl. 2FA) by hand. Session is saved to disk and reused by every tool below |
| Check whether the saved session is still signed in, and as whom |
| List shipping addresses saved in your account, each with an |
| List saved cards — last 4 digits, network, and expiry only, each with an |
| Add a product (by ASIN or URL) to your cart, with optional quantity |
| View cart line items, quantities, and subtotal |
| Walk through checkout. Default = preview only (returns ship-to / payment / total). Call again with |
| Set up Subscribe & Save on a product. Default = preview only (base price / discount / cadence). |
Orders & returns (requires amazon_login first)
Tool | Description |
| List recent orders — number, date, total, items, delivery status, and whether a return is currently offered |
| List in-progress / past returns with their status (from the returns-filtered order history) |
| Open the return wizard for an order. Default = preview only (returnable items + reason options); |
Setup
Prerequisites
Python 3.11+
uv (recommended) or pip
Install
git clone https://github.com/duaragha/amazon-shopping-mcp.git
cd amazon-shopping-mcp
uv syncInstall a browser for Playwright:
# Use bundled Chromium (works everywhere, recommended)
.venv/bin/playwright install chromium
# Or use an existing browser by setting BROWSER_CHANNEL:
# "chrome", "msedge", etc. — no Playwright install neededAdd to Claude Code
# Using bundled Chromium (default)
claude mcp add --scope user amazon-shopping -- /path/to/amazon-shopping-mcp/.venv/bin/python -m amazon_mcp
# Or to use a specific browser (e.g. Edge, Chrome):
claude mcp add --scope user -e BROWSER_CHANNEL=msedge amazon-shopping -- /path/to/amazon-shopping-mcp/.venv/bin/python -m amazon_mcpReplace /path/to/amazon-shopping-mcp with the actual path where you cloned the repo.
Then restart Claude Code (or start a new session) to pick up the new tools.
Add to Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"amazon-shopping": {
"command": "/path/to/amazon-shopping-mcp/.venv/bin/python",
"args": ["-m", "amazon_mcp"]
}
}
}Usage
Once configured, just ask Claude naturally:
"Find me the best webcam under $100 on Amazon"
Claude will:
Search Amazon for webcams
Scrape details for the top candidates (in parallel)
Read reviews for the finalists
Compare everything and give you a top 3 with reasoning and direct links
You can also be more specific:
"Compare these two products on Amazon: [url1] and [url2]"
"What are people complaining about in the reviews for [url]?"
"Search Amazon US for mechanical keyboards under $150 and tell me which one has the best build quality"
Buying something
First, sign in (one time per session lifetime):
"Log me into Amazon"
This opens a real browser window — type your password and any 2FA code, and the session is saved. Then:
"List my Amazon addresses and cards"
"Add the Logitech MX Master 3S to my cart"
"Check out shipping to my home address with the Visa — but show me the total before placing it"
Claude previews the order (items, ship-to, payment, total). Only when you confirm:
"Yes, place it"
…does it actually buy. Nothing is purchased without that explicit confirmation.
Configuration (env vars)
Variable | Default | Purpose |
|
| Default storefront for account/cart/checkout |
|
| Where the logged-in browser profile is stored |
|
| Set |
| (unset) | Use an installed browser ( |
Parameters
amazon_search
query— search terms (e.g. "wireless earbuds under $50")domain— Amazon domain suffix:"ca"(default),"com","co.uk", etc.max_results— number of results to return (default: 20)
amazon_product_details
urls— list of Amazon product page URLs (scraped in parallel, up to 8 concurrent)
amazon_product_reviews
url— Amazon product page URLmax_reviews— max reviews to return (default: 15)
How It Works
Uses Playwright with a headless browser to load actual Amazon pages, then extracts data from the DOM using JavaScript evaluation. This approach is more reliable than API-based scrapers because:
Renders the full page like a real browser
Handles dynamic content loaded via JavaScript
Doesn't require any API keys or affiliate accounts
Supports any Amazon domain
The server runs over stdio using the MCP protocol, so it works with any MCP-compatible client.
Limitations & cautions
Buying tools automate a logged-in session, which is against Amazon's Terms of Service. Heavy or bot-like use can get your account flagged or restricted. Use it sparingly and at your own risk.
Login is human-in-the-loop. Password and 2FA/OTP are typed by you in a real browser window; they're never stored or automated.
amazon_logintherefore needs a graphical display.Checkout DOM is heavily obfuscated and region-specific. The address/payment selection and place-order selectors are best-effort and may need tweaking after Amazon layout changes — run with
AMAZON_HEADLESS=0to watch and adjust.amazon_place_ordernever clicks "place order" unless you passconfirm=true.Amazon may occasionally show CAPTCHAs on heavy use — the server detects this and reports it
Reviews are scraped from the product page (up to ~10-15 reviews) rather than the dedicated reviews page, which requires sign-in
Product page layouts vary — some fields may be empty for certain products
Scraping speed depends on your connection and Amazon's response time
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Amazon search and product extraction: titles, prices, ASINs, and listings as clean JSON.
Search Amazon products by price and rating, or build curated shopping kits for any goal.
Shop connected e-commerce stores: search, compare, cart, and checkout with buyer approval.
Live Amazon product, review, search, deal, offer/stock and seller data across 23 marketplaces.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Amazon services through AI assistants, allowing users to search products, manage their cart, view order history, and place orders using natural language.MIT
- AlicenseNot gradedqualityDmaintenanceEnables users to search for products, retrieve details, and manage their shopping cart on Amazon through the MCP framework. It also supports viewing order history and provides a demonstration of ordering capabilities within AI interfaces.64MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to search products, manage cart, place orders, and track shipments on Amazon via browser automation.2MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to research and shop on Amazon using their own logged-in browser session, supporting product search, details, reviews, cart, wishlist, and order tracking without API keys.MIT