跳到正文
cccskills
免费在 GitHub 公开

amazon-shopping-mcp

Amazon product search, cart management, price tracking, and shopping list via Playwright + DuckDB MCP server

中文简介正在准备中。当前显示原文说明。

集成工具Playwright
查看安装方法

包含的文件(3)

  • SKILL.md3.9 KB
  • CONCOMITANT_SKILLS.md852 B
  • orders/birkenstock-order-2026-03-25.md987 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Amazon Shopping MCP

Headless Chromium browser automation for Amazon.com with local DuckDB product cache and shopping list.

Server Location

/Users/alice/v/mcp/amazon-shopping/

MCP Registration

{
  "amazon-shopping": {
    "type": "stdio",
    "command": "/bin/sh",
    "args": ["-c", "cd /Users/alice/v/mcp/amazon-shopping && unset PYTHONPATH && exec uv run python -m amazon_shopping_mcp.server"]
  }
}

Stack

  • FastMCP 2.14.x — MCP server framework (pinned <3)
  • Playwright — headless Chromium for Amazon browsing
  • DuckDB — product cache, price history, shopping list at ~/v/amazon-shopping.duckdb
  • Python 3.14 via uv

Tools (12)

Browser / Amazon

ToolArgsDescription
search_amazonquery, max_results=5Search Amazon, returns ASIN/title/price/rating
get_product_detailsasinFull product page: features, description, availability
add_to_cartasinClick Add to Cart (headless session, not logged in by default)
view_cart—List cart items + subtotal
screenshot_page—Screenshot to /tmp/amazon_screenshot.png
navigate_urlurlGo to any URL, return title + 2000 char text preview

Shopping List (DuckDB)

ToolArgsDescription
list_addasin, title, qty=1, notes=""Add to local list
list_view—Show all items with status
list_update_statusitem_id, statusSet TODO/BUY/BOUGHT/SKIP
list_removeitem_idDelete from list

Price Tracking

ToolArgsDescription
price_historyasinAll observed prices over time
cached_productsquery=""Search local product cache (empty = all)

DuckDB Schema

products (asin PK, title, price_cents, currency, rating, review_count, url, category, image_url, last_seen)
price_history (asin, price_cents, currency, observed_at)
shopping_list (id PK, asin, title, qty, notes, status, added_at)

Every search_amazon and get_product_details call auto-caches to products and appends to price_history.

Env Vars

VarDefaultDescription
AMAZON_SHOPPING_DB~/v/amazon-shopping.duckdbDuckDB path

Workflow Examples

Research + buy list

  1. search_amazon("thunderbolt 4 cable 2m") — get top 5 results
  2. get_product_details("B0CXRSWRBR") — read features, check availability
  3. list_add("B0CXRSWRBR", "Cable Matters TB4 2m", qty=2) — track locally
  4. price_history("B0CXRSWRBR") — check price trend over time

Cart operations

  1. add_to_cart("B0CXRSWRBR") — add to Amazon cart
  2. view_cart() — check cart subtotal
  3. screenshot_page() — visual verification

Offline queries

  • cached_products("thunderbolt") — search previously seen products
  • list_view() — review full shopping list
  • price_history("B0CDH4FGZY") — price trend for Anker TB4

Limitations

  • Not logged in by default — cart is anonymous session. Login requires manual cookie injection or interactive auth.
  • Amazon anti-bot — headless Chrome may hit CAPTCHAs on heavy use. Use screenshot_page to debug.
  • Prices in cents — stored as integers (2999 = $29.99) to avoid float rounding.
  • Single browser context — tools share one Chromium page. Concurrent calls may race.

Development

cd /Users/alice/v/mcp/amazon-shopping
unset PYTHONPATH
uv sync                              # install deps
uv run playwright install chromium   # install browser (once)
uv run python -m amazon_shopping_mcp.server  # run server

Companion Artifact

Shopping list org file: ~/v/amazon-shopping.org — manually curated product research with ASINs, prices, and notes.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Model ElevenLabs voice synthesis as an ACSet schema with Unison ability handlers for typed voice operations. Use when integrating ElevenLabs TTS into category-theoretic pipelines, building typed voice synthesis workflows, or managing multi-voice narration with GF(3) conservation.

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

Systematic process for analyzing and modernizing legacy applications to comply with the 12-Factor App methodology. Covers code analysis, configuration externalization, dependency management, and container/Kubernetes best practices.

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

13c0e3

免费

Gay MCP skill at invocation 26

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

19d57d

免费

Gay MCP skill at invocation 5

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

1ea91a

免费

Gay MCP skill at invocation 27

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

1eab21

免费

Gay MCP skill at invocation 3

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

查看 plurigrid 的全部技能

报告此技能的问题