# AfterShip MCP

Vendor: AfterShip  
Category: other  
Auth: API_KEY  
Composio slug: `aftership`

AfterShip provides shipment tracking, courier detection and connections, and estimated delivery date prediction for ecommerce operations.

## Tools

- **Create Courier Connection** — Connect one courier account using the courier-specific credential fields advertised by courier metadata.
- **Create Tracking** — Create one shipment tracking record from a tracking number and optional courier, order, route, customer, and delivery metadata.
- **Create Trackings Batch** — Sequentially create 1-20 tracking records through AfterShip's single-record create endpoint. This operation is non-atomic: each item consumes one request, successful earlier creates are not rolled back, and no create is retried automaticall
- **Delete Courier Connection** — Permanently remove one courier account connection by an ID obtained from list or create. Warning: this destructive action cannot be undone.
- **Delete Tracking** — Permanently delete one tracking record by its AfterShip tracking ID. Warning: this destructive action cannot be undone.
- **Detect Courier** — Return couriers that may handle a tracking number, using optional courier and shipment hints to narrow detection.
- **Get Courier Connection** — Return one courier account connection by an ID obtained from list or create.
- **Get Tracking** — Return one tracking record by its AfterShip tracking ID, with optional field selection and checkpoint translation.
- **List Courier Connections** — Return one cursor-controlled page of courier account connections, optionally filtered by courier slug.
- **List Couriers** — Return courier metadata, optionally limited to account-activated couriers or selected courier slugs, including required tracking and credential field definitions.
- **List Trackings** — Return one cursor-controlled page of shipment trackings, optionally filtered by identifiers, courier, status, dates, route, or shipment metadata.
- **Mark Tracking Completed** — Mark a tracking as delivered, lost, or returned to sender. Warning: a successful call stops automatic tracking updates until the tracking is retracked.
- **Predict Estimated Delivery Date** — Predict an estimated delivery date before a tracking number exists. This paid endpoint requires Predict trial access or an AfterShip advanced plan.
- **Predict Estimated Delivery Dates Batch** — Predict estimated delivery dates atomically for one to five planned shipments. One invalid item fails the whole batch. The connected AfterShip organization must have a Predict trial or advanced-plan entitlement.
- **Retrack Tracking** — Restart automatic updates for an expired tracking. Only expired trackings are eligible, and each successful call irreversibly consumes one of at most three retrack attempts for that tracking.
- **Update Courier Connection** — Replace carrier-specific credentials on an existing courier account connection. Warning: this consequential credential rotation replaces the complete credential set; incorrect values can stop future tracking updates.
- **Update Tracking** — Update editable order, courier, route, customer, and delivery metadata on an existing tracking record.

## Setup

1. Create or open a Switchy Project.
2. Open Integrations and connect AfterShip.
3. Authorise through api_key.
4. Teammates can now @-mention AfterShip tools in chat.

---
Last verified: 2026-12-03T02:30:21.129Z  
Canonical URL: https://switchy.build/directory/mcps/aftership