Amazon Orders
v3.0.2An MCP server for Amazon order history, line items, and transactions, built on amazon-orders
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
find_charge
Find the Amazon Transactions behind a card or bank charge, by its amount and date, each with its Order and the Items in it. A Transaction matches when its amount equals `amount` and it completed within `window_days` of `charge_date`, since Amazon can complete a charge on a different day than a statement shows it.
| Parameter | Type | Description |
|---|---|---|
amount * | number | The charge or refund's amount, e.g. `12.99`. Its sign is ignored, since statements and Amazon show charges and refunds with different signs. |
charge_date * | string | The date the charge shows, e.g. `2026-11-10`. |
account | Another Amazon account to read, e.g. `spouse`, only when the user asks about that person (see `check_session`). | |
last_four | The last four digits of the card it was charged to, to match only that card's Transactions. | |
site | The Amazon site to read, e.g. `amazon.de`, since each site has its own orders. By default, the user's default site (see `check_session`). | |
window_days | integer | How many days either side of `charge_date` a Transaction can have completed. |
sign_in
Sign the user in to Amazon, when they ask you to or after a tool says they aren't signed in. Opens a browser window on the user's computer, where they sign in on Amazon's own page, so their credentials are never seen. Wait for them to finish, which they have 120 seconds to do. If it says there's no browser to sign in with, ask the user which to use, then call this again with `browser`.
| Parameter | Type | Description |
|---|---|---|
account | The Amazon account to sign in to, by a name for it, e.g. `spouse`, to add someone else's own account, like a partner's. By default, the user's default account. | |
browser | Only when there's no browser to sign in with: the one the user chose, either one offered to download for them or a browser they already have installed. It's saved, so they're only asked once. | |
site | The Amazon site to sign in to, e.g. `amazon.de`, since each site has its own sign-in. By default, the user's default site. |
get_orders
Get a batch of the Amazon Order history for a given time period, with the Amazon Household members whose Orders the account can view and a cursor to fetch the next batch.
| Parameter | Type | Description |
|---|---|---|
account | Another Amazon account to read, e.g. `spouse`, only when the user asks about that person (see `check_session`). | |
cursor | The `cursor` of the previous batch, to fetch the next one. The filters it was fetched with carry over. | |
family_member_id | The ID of an Amazon Household member whose Orders to get, such as a linked Teen account, from `household_members`. An account in an Amazon Household gets the whole household's Orders by default; pass… | |
full_details | boolean | Get the full details for each Order in the batch. This will execute an additional request per Order. |
limit | Stop fetching history pages once at least this many Orders are collected. Whole pages are fetched, so the batch can hold up to a page more than `limit`. `None` fetches every page. | |
order_filter | The order type filter to use, e.g. `"digital"` for Kindle and other digital purchases, which the default history doesn't include. If provided, appended alongside the time filter. | |
site | The Amazon site to read, e.g. `amazon.de`, since each site has its own orders. By default, the user's default site (see `check_session`). | |
start_index | The index of the Order from which to start fetching in the history. Ignored if `cursor` is provided. | |
time_filter | The time filter to use. Supported values are `"last30"` (last 30 days), `"months-3"` (past 3 months), or `"year-YYYY"` (specific year). Only one of `year` or `time_filter` may be given. | |
year | The year for which to get history. Only one of `year` or `time_filter` may be given, and it's ignored if `cursor` is provided. Defaults to the current year if neither `year` nor `time_filter` is speci… |
search_orders
Search every year of the Order history for Orders by product title, Order number, address, or recipient, as the search box on Your Orders does, getting each matching Item with its Order's number and date.
| Parameter | Type | Description |
|---|---|---|
query * | string | What to search for: words from a product title, an Order number, or a name or address an Order was sent to. |
account | Another Amazon account to read, e.g. `spouse`, only when the user asks about that person (see `check_session`). | |
cursor | The `cursor` of the previous batch, to fetch the next one. | |
limit | Stop fetching result pages once at least this many results are collected. Whole pages are fetched, so the batch can hold up to a page more than `limit`. `None` fetches every page. | |
site | The Amazon site to read, e.g. `amazon.de`, since each site has its own orders. By default, the user's default site (see `check_session`). |
get_order
Get the full details for a given Amazon Order ID.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The Amazon Order ID to lookup. |
account | Another Amazon account to read, e.g. `spouse`, only when the user asks about that person (see `check_session`). | |
site | The Amazon site to read, e.g. `amazon.de`, since each site has its own orders. By default, the user's default site (see `check_session`). |
get_tracking
Get the carrier and tracking number of a Shipment from its package tracking page.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The Amazon Order ID of the Shipment. |
shipment_id * | string | The Shipment's `shipment_id`. Amazon stops showing the tracking link it comes from on older Orders. |
account | Another Amazon account to read, e.g. `spouse`, only when the user asks about that person (see `check_session`). | |
site | The Amazon site to read, e.g. `amazon.de`, since each site has its own orders. By default, the user's default site (see `check_session`). |
get_invoices
Get the invoice documents of a given Amazon Order ID from its invoice list: the Printable Order Summary (an HTML page, on every site), then any invoice and credit note PDFs (issued by sellers, mostly on EU sites).
| Parameter | Type | Description |
|---|---|---|
order_id * | string | The Amazon Order ID to lookup. |
account | Another Amazon account to read, e.g. `spouse`, only when the user asks about that person (see `check_session`). | |
site | The Amazon site to read, e.g. `amazon.de`, since each site has its own orders. By default, the user's default site (see `check_session`). |
get_transactions
Get a batch of Amazon Transaction history for a given number of days, or for a single Order, with a cursor to fetch the next batch.
| Parameter | Type | Description |
|---|---|---|
account | Another Amazon account to read, e.g. `spouse`, only when the user asks about that person (see `check_session`). | |
cursor | The `cursor` of the previous batch, to fetch the next one. The `days` window or `order_id` it was fetched with carries over. | |
days | integer | The number of days worth of Transactions to get. Ignored when `order_id` or `cursor` is given. |
limit | Stop fetching Transaction pages once at least this many Transactions are collected. Whole pages are fetched, so the batch can hold up to a page more than `limit`. `None` fetches every page. | |
order_id | If given, only Transactions for this Amazon Order ID are returned, as in `get_transactions`. Ignored when `cursor` is given. | |
site | The Amazon site to read, e.g. `amazon.de`, since each site has its own orders. By default, the user's default site (see `check_session`). |
get_gift_cards
Get the Amazon Gift Card balance, and a batch of its activity for a given number of days, with a cursor to fetch the next batch.
| Parameter | Type | Description |
|---|---|---|
account | Another Amazon account to read, e.g. `spouse`, only when the user asks about that person (see `check_session`). | |
cursor | The `cursor` of the previous batch, to fetch the next one. The `days` window it was fetched with carries over. | |
days | integer | The number of days worth of Gift Card activity to get. Ignored when `cursor` is given. |
limit | Stop fetching activity pages once at least this many GiftCardActivity entries are collected. Whole pages are fetched, so the batch can hold up to a page more than `limit`. `None` fetches every page. | |
site | The Amazon site to read, e.g. `amazon.de`, since each site has its own orders. By default, the user's default site (see `check_session`). |
get_prime_payments
Get every charge in the Prime membership payment history.
| Parameter | Type | Description |
|---|---|---|
account | Another Amazon account to read, e.g. `spouse`, only when the user asks about that person (see `check_session`). | |
site | The Amazon site to read, e.g. `amazon.de`, since each site has its own orders. By default, the user's default site (see `check_session`). |
check_session
Check with Amazon whether the user's saved sessions still work: on `site`, or else on their default site and every other Amazon site they have a saved session for. Also says which site is the default, and lists the user's accounts.
| Parameter | Type | Description |
|---|---|---|
account | The Amazon account to check, e.g. `spouse`. By default, the default account. | |
site | The Amazon site to check, e.g. `amazon.de`. By default, the default site and every other site with a saved session are checked. |
get_config
Get the settings that can be changed with `update_config`, and their values. What each one does: https://amazon-orders.readthedocs.io/api.html#amazonorders.conf.AmazonOrdersConfig
update_config
Change a setting. Change a preference, like the Amazon site (`domain`) or the browser to sign in with (`browser`), only when the user asks. You may change a tuning setting yourself when calls keep failing (e.g. a longer `request_timeout` after timeouts, or a smaller `thread_pool_size` when Amazon throttles requests), and tell the user what you changed. `warn_on_missing_required_field` returns partial data instead of an error, so say so if you change it. A preference is saved, and tuning lasts until the server restarts unless `save` is true, which you can offer if a change keeps helping. `domai…
| Parameter | Type | Description |
|---|---|---|
key * | string | The setting, from `get_config`. |
value * | The new value. Null or an empty string sets it back to the default. | |
save | Whether to save the change. By default, a preference is saved and tuning isn't. |