Skip to main content

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

Version Python Versions Build Docs 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:

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:

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:

{
  "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, and sign them in with OAuth. See Remote Clients for how.

Docker

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:

Tool Returns
find_charge The transactions behind a card or bank charge, each with its order
sign_in Opens a browser window for you to sign in to Amazon, when you ask
get_orders A batch of orders by year, time filter or order type, optionally detailed
search_orders A batch of items by product, order number, address or recipient, any year
get_order One order, by order number
get_tracking A shipment's carrier and tracking number, from an order's shipment ID
get_invoices An order's printable summary, and any invoice PDFs the seller issues
get_transactions A batch of payment transactions over a number of days, or for an order
get_gift_cards The Gift Card balance, with a batch of its activity over a number of days
get_prime_payments Prime membership fee charges, each with its order number
check_session Whether you're signed in, on each site and account you have a session for
get_config The settings your assistant can change, and their values
update_config Changes one of those settings

For assistants that offer prompts, these are listed alongside the tools:

Prompt Does
review_spending Reviews what you've spent over a period, grouped by what it was for
find_returns Finds items in recent orders you can still return
track_deliveries Lists what you have arriving, soonest first
explain_charge Works out what an Amazon charge on your statement was

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.

Tools also take an optional account, so one server can read someone else's own Amazon account too, like a partner's, e.g. "what's arriving for my partner?". Ask your assistant to sign you in to it, with a name for it like spouse. Without it, tools read your default account, the account setting.

Configuration

Ask your assistant to change a setting, such as the default Amazon site (e.g. amazon.co.uk), the default account, 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 advanced usage, amazon-orders-mcp's official documentation is available at Read the Docs.

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!

Metadata

Release files for amazon-orders-mcp 3.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for amazon-orders-mcp 3.0.1
File Size Uploaded Provenance Actions
amazon_orders_mcp-3.0.1.tar.gz 45.4 kB With provenance Details for amazon_orders_mcp-3.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for amazon-orders-mcp 3.0.1
File Interpreter ABI Platform Actions
amazon_orders_mcp-3.0.1-py3-none-any.whl Python 3 none any Details for amazon_orders_mcp-3.0.1-py3-none-any.whl

Total release size: 91.1 kB

Release files / amazon_orders_mcp-3.0.1.tar.gz

Download URL amazon_orders_mcp-3.0.1.tar.gz
Size 45.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5087d1a5606437d4bb65680a83f3ed6a648997bbc9e2b2a911b2b1fbf334cdd3
BLAKE2b-256 checksum
How to use checksums
c7cc7200fde48fa8de68c19ff80c27e4e6525a8ddbafd0dc0a3e74e15208f370
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / amazon_orders_mcp-3.0.1-py3-none-any.whl

Download URL amazon_orders_mcp-3.0.1-py3-none-any.whl
Size 45.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4c2f329b78534ea312ae4323a542d8c1753d39ac43c2e07b3641c2569f86355
BLAKE2b-256 checksum
How to use checksums
5627ed77c39fa29c39c7437a7d921e3054069e0a1c514287412a09d44747511e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for amazon-orders-mcp 3.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for amazon_orders_mcp-3.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page