Skip to main content
Glama

amazon-now-mcp

An MCP server that turns a spoken or typed grocery list into a ready Amazon Now cart (amazon.in 10-minute delivery). It learns what you usually buy from your order history, picks proven items first, compares prices, and fills the cart. It never checks out. You pay yourself.

Unofficial. Not affiliated with or endorsed by Amazon. It automates the Amazon Now website in your own Chrome, signed in as you. Read Limits and risks first.

Tools

Tool

What it does

now_refresh_history

Scan your Amazon Now orders and rebuild the local pantry (what you buy, how often, when)

now_get_pantry

Your proven items, most-bought first

now_search

Search several items in one call; results tagged with timesOrdered (pantry) and previouslyBought

now_add_items

Add several products to the cart in one call

now_view_cart

Items, totals, savings, "add ₹X more for free delivery"

now_set_cart_quantity

Set an item's quantity, 0 removes it

The server ships its own instructions describing the voice-to-cart workflow, so any MCP client follows it.

Related MCP server: Raley

Requirements

  • Node.js 18+

  • Google Chrome installed (the server drives it with puppeteer-core; nothing is downloaded)

  • An amazon.in account with Amazon Now available at your delivery address

Install

1. Sign in once (a Chrome window opens)

npx -y amazon-now-mcp login

Sign in to amazon.in, tick Keep me signed in, wait for "Login saved", close the window.

npx -y amazon-now-mcp scan months-3

Amazon asks for your password again on the order-history page; enter it in the window that opens. Longer ranges: year-2025, etc. Results merge. Refresh every few weeks.

3. Connect it to your MCP client

Claude Code

claude mcp add amazon-now -- npx -y amazon-now-mcp

Claude Desktop (claude_desktop_config.json) and other clients that use the same format:

{
  "mcpServers": {
    "amazon-now": { "command": "npx", "args": ["-y", "amazon-now-mcp"] }
  }
}

From a git checkout instead of npm

git clone https://github.com/sl-iitkgp/amazon-order-ai && cd amazon-order-ai && npm install
claude mcp add amazon-now -- node /absolute/path/to/amazon-order-ai/src/server.js

Then say: "order 2 milk, curd, paneer, tomatoes, and the usual atta".

Where your data lives

Nothing personal is stored in the package or the repo. By default:

What

Where

Chrome profile with your Amazon login

~/.amazon-now-mcp/chrome-profile

Order history and pantry

~/.amazon-now-mcp/data

Override with AMAZON_NOW_HOME, AMAZON_NOW_PROFILE_DIR, AMAZON_NOW_DATA_DIR. Set CHROME_PATH if Chrome is not auto-detected. AMAZON_NOW_HEADLESS=false shows the browser while the server runs. To remove everything, delete ~/.amazon-now-mcp.

There are no API keys, tokens or passwords in this code, and none are needed. You sign in yourself in Chrome.

How it works

  • Drives your installed Chrome on a dedicated profile (separate from your everyday Chrome).

  • Search: reads the server-rendered results and the stable data-csa-c-* attributes on Add buttons.

  • Cart: uses real (trusted) clicks on the site's own Add / +/- buttons and reads the JSON the page itself fetches. Amazon Now rolls back scripted clicks, so the code never uses them.

  • History: Amazon Now orders show up in normal amazon.in order history as "Amazon Now delivery".

  • One warm browser, images/fonts blocked: ~3-4 s per search or cart action.

Limits and risks

  • Scrapes a private web app; selectors can change without notice. Issues and PRs welcome.

  • Products with a variant picker can't be added yet (reported back, not guessed).

  • The Chrome profile holds a live Amazon session and data/ holds your purchase history. Never share or commit either.

  • Automated use may breach Amazon's Conditions of Use; keep it personal and light, at your own risk.

  • Cart contents, prices and your purchase history are sent to whichever AI model you use.

  • Only one process can use the Chrome profile at a time. Close the login window before running the server.

Contributing

Run node scripts/list-tools.js to check the server starts (no login needed). Before opening a PR, make sure you have not included screenshots, logs or fixtures containing order IDs, addresses or ASIN lists from your own account.

License

MIT

Available Tools

6 tools
now_add_itemsA

Add products to the Amazon Now cart (several in one call). Each needs the asin and the exact now_search query that returned it. quantity = units to add on top of what is already in the cart. Only changes the cart; never places an order.

Inputs: items (required).

now_get_pantryA

Get the user's proven items from past Amazon Now orders: asin, title, timesOrdered, lastOrdered. Sorted by how often they were bought.

Inputs: query.

now_refresh_historyA

Scan the user's Amazon Now orders from their amazon.in order history and rebuild the local pantry of proven items (what they buy, how often, when). Read-only on Amazon. Takes ~3 s per 10 orders.

Inputs: period.

now_set_cart_quantityA

Set the exact quantity of an item already in the Amazon Now cart; 0 removes it.

Inputs: asin (required), quantity (required).

now_view_cartA

Show the current Amazon Now cart: items, quantities, line totals, total, savings, and how much more to add for the next benefit (e.g. free delivery). Read-only.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct stage of the Amazon Now flow: history refresh, pantry read, search, cart add, cart view, cart quantity set. The one potentially overlapping pair (add_items vs set_cart_quantity) is explicitly differentiated by the 'adds on top of existing cart' vs 'sets exact quantity, 0 removes' wording.

    Naming Consistency4/5

    All names share a clean now_ prefix and snake_case style, making the set easy to scan. Minor deviation: most names are verb_noun (now_get_pantry, now_add_items, now_view_cart) but now_search is verb-only, and refresh_history reverses into noun_verb.

    Tool Count5/5

    Six tools map neatly onto the shopping lifecycle: bootstrap history, read pantry, search, add, inspect cart, adjust quantity. Nothing extraneous and nothing obviously padded.

    Completeness4/5

    Search-to-cart lifecycle is covered, and removal is handled via set_cart_quantity=0. Gaps: no order/checkout or delivery-slot tool (possibly intentional read/safety scope) and no way to check order status, so an agent hits a dead end at purchase.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables interaction with Amazon services through AI assistants, allowing users to search products, manage their cart, view order history, and place orders using natural language.
      10 npm
      MIT
    • A
      license
      C
      quality
      D
      maintenance
      Automated grocery shopping assistant with intelligent unit pricing and automatic coupon clipping, enabling AI to search products, manage carts, and plan grocery runs via Claude Desktop or CLI.
      18
      1
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables users to search grocery products and stores, manage a cart, sync purchase history, and predict needed items through MCP tools. It also stores food preferences as server instructions so connected agents can respect them automatically.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables users to turn grocery receipt photos or spoken updates into an up-to-date home pantry, tracking purchases, current stock, and consumption through natural language.
      MIT