# AfterShip MCP for AI Agents AI Agent Connect

> AfterShip MCP lets you track packages from over 1,000 couriers worldwide using your AI agent. You can create shipments, auto-detect shipping companies from tracking numbers, and manage your entire delivery history through natural language. It connects directly to your AI client to handle the heavy lifting of logistics tracking.

## Overview
- **Category:** ecommerce
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_Ne2XoZa3CEDGdHqsikRW1fmnRsV7XT5KS8V7wt9Y/ai-agent-connect
- **Tags:** package-tracking, delivery-updates, courier-integration, shipment-monitoring, notifications

## Description

Managing a high volume of shipments usually means juggling dozens of tabs, copying tracking numbers, and manually checking statuses across different courier websites. This Connector changes that by letting you handle everything through a single conversation with your AI client. Instead of hunting for a specific carrier's login, you can just drop a tracking number into the chat. The Connector identifies the carrier, pulls the current location, and gives you a status update instantly. You can also set up automated notifications for your customers or bulk-update your tracking list without leaving your workspace. Because Vinkius hosts this connection, you get a unified way to manage global logistics without the friction of switching between different shipping platforms. It turns a manual data entry chore into a simple command-line experience for your e-commerce operations. You no longer have to worry about which courier is which or whether a shipment is actually moving. Everything is centralized so you can answer customer questions in seconds rather than minutes. This setup allows you to scale your shipping operations without needing to hire more staff just to monitor package movements.

## Tools

### create_tracking
Create a new shipment record. Include details like the courier, customer emails, and order IDs.

### delete_tracking
Delete a tracking entry from your list. This action is permanent and cannot be undone.

### detect_courier
Auto-detect the shipping company from a tracking number. It returns a ranked list of likely couriers.

### update_tracking
Update an existing tracking entry. This lets you change details without affecting the tracking number.

### get_tracking
Get the specific details for a single tracking number. This shows the current status and latest checkpoint.

### list_couriers
List all the courier companies supported by the platform. Use this to see contact info and requirements.

### list_trackings
List all your package trackings with filters. You can sort by courier, tag, date, or delivery status.

### mark_tracking_completed
Mark a tracking as completed when the courier hasn't updated it. This is useful for final delivery status.

### retrack_tracking
Retrack an expired tracking to fetch new updates. This restarts the monitoring for a specific shipment.

## Prompt Examples

**Prompt:** 
```
Track my package with tracking number 1Z999AA10123456784.
```

**Response:** 
```
I've created tracking for 1Z999AA10123456784 via UPS. 

**Current Status:** In Transit
**Latest Checkpoint:** Package arrived at facility in Chicago, IL on Jan 15.
**Expected Delivery:** Jan 18

Would you like me to set up any notifications for this shipment?
```

**Prompt:** 
```
What courier handles tracking number 9400111899223344556677?
```

**Response:** 
```
Based on the tracking number format, this is most likely a **USPS** package.

*   **Confidence:** 98.5%
*   **Other possibilities:** DHL eCommerce (1.5%)
```

**Prompt:** 
```
Show me all my active trackings.
```

**Response:** 
```
You have 5 active trackings:

| Courier | Status | Expected Delivery |
| :--- | :--- | :--- |
| UPS | In Transit | Jan 18 |
| FedEx | In Transit | Jan 20 |
| USPS | Out for Delivery | Today |
| DHL | Pending | Jan 22 |
| Canada Post | Attempted | Jan 17 |
```

## Capabilities

### Track shipments from 1,000+ couriers
Get real-time status updates for packages from major carriers like FedEx, UPS, and DHL.

### Identify carriers from tracking numbers
Automatically detect which shipping company handles a package when the carrier is unknown.

### View full delivery history
Access complete logs of checkpoints, timestamps, and locations for every shipment.

### Update and retrack shipments
Refresh stalled tracking data or manually update delivery statuses to keep records accurate.

### Send automated notifications
Set up email and SMS alerts to keep customers informed about their delivery progress.

### Browse global courier directory
Access a full list of supported shipping companies along with their specific requirements.

## Use Cases

### Identifying unknown couriers
A customer sends a tracking number but doesn't say who the carrier is. You ask the agent to identify it and show the status using `detect_courier`.

### Bulk tracking status reports
You need to send a weekly report of all 'In Transit' packages. You ask the agent to list trackings filtered by status using `list_trackings`.

### Updating stalled deliveries
A package was delivered but the courier website still says 'Pending.' You ask the agent to mark it completed using `mark_tracking_completed`.

### Automating new order entries
You have a list of 50 new orders. You ask the agent to create trackings for all of them using your order IDs via `create_tracking`.

## Benefits

- Stop manually checking 1,000+ different courier websites by using `detect_courier` to identify shipments instantly.
- Reduce manual data entry by using `create_tracking` to build shipment records with customer emails and SMS numbers.
- Provide faster customer support by pulling detailed delivery history and timestamps with `get_tracking`.
- Keep your records clean by using `mark_tracking_completed` and `delete_tracking` to manage your active shipment list.
- Stay on top of delays by using `retrack_tracking` to refresh statuses on shipments that haven't updated in a while.
- Save time on logistics research by using `list_couriers` to see all supported carriers and their requirements.

## How It Works

The bottom line is you get a unified, natural language interface for global package tracking and management.

1. Subscribe to the AfterShip MCP on Vinkius.
2. Provide your AfterShip API Key in your AI client settings.
3. Ask your agent to track, list, or update any shipment using natural language.

## Frequently Asked Questions

**Can AfterShip MCP track international packages?**
Yes, it supports 1,000+ couriers worldwide, allowing you to monitor shipments across different countries and carriers in one place.

**How does AfterShip MCP identify couriers?**
You simply provide the tracking number to your agent. The Connector then analyzes the format to return a ranked list of the most likely shipping companies.

**Can I use AfterShip MCP to update my own delivery notes?**
Yes, you can use your agent to update existing tracking entries with new notes or details without changing the tracking number itself.

**Does AfterShip MCP work with my existing e-commerce store?**
It connects to your AI client, which can then interact with your store data to provide a unified way to manage and view your shipments.

**How do I handle packages that aren't updating?**
You can ask your agent to retrack those specific shipments. This forces the Connector to fetch the latest available checkpoints from the courier's system.

**Can I set up automated alerts with AfterShip MCP?**
Yes, you can request your agent to set up email and SMS notifications for delivery updates, ensuring your customers stay informed automatically.

**How do I get an AfterShip API Key?**
Sign up at [**AfterShip**](https://www.aftership.com/), go to Settings > API Keys, and generate a new key. Free tier includes 100 shipments/month.

**How many couriers are supported?**
AfterShip supports 1,000+ courier companies worldwide including FedEx, UPS, DHL, USPS, Royal Mail, Canada Post, Australia Post, and many regional carriers.

**Can I automatically detect which courier handles my tracking number?**
Yes! Use the `detect_courier` tool with just the tracking number. It returns a ranked list of likely courier companies based on the tracking number format.