Skip to main content

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 Claude and any other 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.

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:

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

Codex

codex 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"]
    }
  }
}

Basic Usage

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

Tool Returns
sign_in Opens a browser window for you to sign in to Amazon, when you ask
get_order_history A batch of orders for a year or time filter, optionally fully detailed
get_order One order, by order number
get_transactions A batch of payment transactions over a number of days, or for an order
get_gift_card_activity Gift Card activity over a number of days
get_config The settings your assistant can change, and their values
update_config Changes a setting, like the Amazon site (e.g. amazon.co.uk)
check_session Whether you're signed in, and which Amazon site the server is set to read

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.

Configuration

Ask your assistant to change a setting, such as the 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!

Metadata

Release files for amazon-orders-mcp 1.1.0

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 1.1.0
File Size Uploaded
amazon_orders_mcp-1.1.0.tar.gz 18.2 kB Details

Built distribution (wheel)

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

Total release size: 37.2 kB

Release files / amazon_orders_mcp-1.1.0.tar.gz

Download URL amazon_orders_mcp-1.1.0.tar.gz
Size 18.2 kB
Tags Source
SHA-256 checksum
How to use checksums
65924cd4bd980b3b9b079a2f22500309a4c69400660da01f47a555a7d174b9e1
BLAKE2b-256 checksum
How to use checksums
eb5b38777bbca2fc6f9b5f4c3136e9a8d94eed8d010880e7c7c1d9ece56427fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

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

Download URL amazon_orders_mcp-1.1.0-py3-none-any.whl
Size 19.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3c9293ae019d4afbfe216189f42f7a95d04db0364c6c4c6c32e0c180212c33e
BLAKE2b-256 checksum
How to use checksums
cee04a50d627b72d9f4c38d2a8f392628f9ff9a184bcf402f5cc88a343fb446c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release history Release notifications | RSS feed

1.2.0

2 release files

This release

1.1.0 This release

2 release files

1.0.0

2 release files

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