Amazon Orders

io.github.alexdlaird由 GitHub 账号 alexdlaird 发布v1.2.0更新于 Oct 24, 2026

An MCP server for Amazon order history, line items, and transactions, built on amazon-orders

已验证STDIO仅桌面金融商业与电商

概览

AI 生成的概览

非官方本地 MCP 服务器,让助手读取你的亚马逊订单历史、订单明细、物流、发票与交易记录。

可以做什么
  • 登录亚马逊站点并检查各站点当前是否已登录
  • 按年份、时间范围、订单类型、商品、订单号、地址或收件人列出、搜索并获取订单
  • 获取包裹承运商与运单号,以及订单可打印摘要和卖家发票 PDF
  • 读取支付交易、礼品卡余额与流水,以及 Prime 会员费用扣款
  • 读取并修改服务器自身设置,例如默认亚马逊站点
适用场景
当你想让助手回答关于自己亚马逊购物的问题时适用,例如近期订单、包裹物流、某笔订单花费、礼品卡余额或 Prime 费用,并可覆盖你常用的多个亚马逊站点,无需手动导出数据。
运行要求
通过 uvx(或 pip)在本地以 stdio 进程运行;需要 Python 工具链,浏览器登录需要桌面环境,无显示器的机器需先在终端登录。可选的 Streamable HTTP 模式默认仅监听本机回环地址。未声明 API 密钥或环境变量;登录在亚马逊自有页面完成并复用会话。
安装前请注意
它通过亚马逊面向消费者的网站读取账户数据,而非官方 API,亚马逊改版时可能失效。登录凭据在亚马逊页面输入,但服务器会复用留下的会话,并与 amazon-orders 命令行工具共享。工具可修改设置;若将 HTTP 传输暴露到回环地址之外,必须启用 bearer token。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Amazon Orders,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[amazon-orders-mcp - An MCP server for Amazon order history]

[Version] [Python Versions] [Build] [GitHub License]

amazon-orders-mcp is an unofficial MCP server for Amazon order history, line items, and transactions, built on amazon-orders. It gives your AI assistant tools for your Amazon account, available from any MCP client.

The server never sees your credentials. When you sign in, a browser window opens on Amazon's own page, and the server reuses the session that leaves behind. It also runs on a server without a display, where you sign in from a terminal instead (see Remote Clients).

Note: This server reads its data through amazon-orders, which works by parsing data from Amazon's consumer-facing website. As Amazon provides no official API to use, older versions may break at any time, so it's recommended that you use the latest version.

Installation

amazon-orders-mcp is available on PyPI and is run with uvx, so there's nothing to install up front. Add it to your AI assistant:

ChatGPT

ChatGPT Desktop: in Settings → Plugins, add an MCP server of type STDIO, with uvx as the command and amazon-orders-mcp as its argument.

Codex:

sh
codex mcp add amazon-orders -- uvx amazon-orders-mcp

Claude

Claude Desktop: download amazon-orders-mcp-<version>.mcpb from the latest release and open it.

Claude Code:

sh
claude mcp add amazon-orders -- uvx amazon-orders-mcp

Other Clients

Any client that runs local MCP servers can use this JSON, or amazon-orders-mcp as the command if you've installed it with pip install amazon-orders-mcp:

json
{  "mcpServers": {    "amazon-orders": {      "command": "uvx",      "args": ["amazon-orders-mcp"]    }  }}

Remote Clients

For clients that connect to a server instead of running one, the server can also serve Streamable HTTP:

sh
uvx amazon-orders-mcp --transport streamable-http

It listens at http://127.0.0.1:8000/mcp. See --help to change that, or to require a bearer token (required off loopback). On a server without a display, sign_in can't open a browser window, so sign in there first with uvx amazon-orders login, which asks for your username and password instead.

Docker

sh
docker build -t amazon-orders-mcp .docker run -i --rm -v amazon-orders:/home/app/.config/amazonorders amazon-orders-mcp

A container has no display, so sign in with the login target first. See the Dockerfile for how.

Basic Usage

Just ask your assistant about your orders, and it will use the following tools:

ToolReturns
sign_inOpens a browser window for you to sign in to Amazon, when you ask
get_ordersA batch of orders by year, time filter or order type, optionally detailed
search_ordersA batch of items by product, order number, address or recipient, any year
get_orderOne order, by order number
get_trackingA shipment's carrier and tracking number, from an order's shipment ID
get_invoicesAn order's printable summary, and any invoice PDFs the seller issues
get_transactionsA batch of payment transactions over a number of days, or for an order
get_gift_cardsThe Gift Card balance, with a batch of its activity over a number of days
get_prime_paymentsPrime membership fee charges, each with its order number
check_sessionWhether you're signed in, on each Amazon site you have a session for
get_configThe settings your assistant can change, and their values
update_configChanges one of those settings

Order history and transactions come back in batches of limit results (25 by default, and a batch can run up to a page over), with a cursor your assistant passes back to get the next batch.

Every tool that reads Amazon takes an optional site, like amazon.de, so your assistant can read each Amazon site you shop on from one server, e.g. "my last amazon.de orders". Without it, tools read your default site, the domain setting. Each site has its own sign-in, so ask your assistant to sign you in to each one.

Configuration

Ask your assistant to change a setting, such as the default Amazon site (e.g. amazon.co.uk) or the browser to sign in with. Settings are shared with the amazon-orders CLI, so it follows the same changes. See Supported Sites for the sites amazon-orders can read.

Documentation

For more on the data the server returns, amazon-orders's official documentation is available at Read the Docs, including the Order entity's fields and troubleshooting.

Contributing

Want to contribute financially? If you've found amazon-orders-mcp useful, sponsorship would be greatly appreciated!

来源:README.md,提交 4fd6fa6

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.2.0最新Oct 15, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分