AfterShip Tracking & Returns

Provides real-time tracking for 1,300+ carriers and merchant returns center demos with no API key required, using AfterShip's MCP server. Powered by AfterShip.

AfterShip Tracking & Returns MCP Server

Real-time package tracking and returns demo for any AI assistant — powered by AfterShip.

No authentication required. Connect instantly using the remote endpoint:

https://mcp.aftership.com/tracking/public

Supports Streamable HTTP transport (MCP spec 2025-03-26).


Tools

track_shipment — Real-time package tracking

Tracks any shipment in real time across 1,200+ carriers worldwide. No carrier knowledge needed — just paste a tracking number and carrier is detected automatically.

ParameterTypeRequiredDescription
tracking_numberstringThe tracking number from your shipping confirmation
carrier_slugstringCarrier name or slug (e.g. UPS, FedEx, royal-mail). Auto-detected if omitted.

When to use: Ask your AI assistant anything like:

  • "Where is my package? Tracking number: 1Z999AA10123456784"
  • "Track 9400111899223397623910"
  • "Why is my DHL shipment delayed? JD0123456789"
  • "Is my order out for delivery yet?"
  • "My package says it's stuck in customs — what's the status?"
  • "When will 773738233 arrive?"

The AI will call this tool automatically whenever a tracking number is mentioned or delivery status is asked about.


get_returns_demo — AfterShip Returns Center preview

Generates a live, interactive demo of AfterShip Returns Center for any merchant store. For store owners and e-commerce teams evaluating the product.

ParameterTypeRequiredDescription
store_urlstringYour store domain (e.g. nike.com, example.myshopify.com)

When to use: Ask your AI assistant things like:

  • "Show me what AfterShip returns would look like for my store: mystore.myshopify.com"
  • "Generate a returns demo for nike.com"
  • "I want to preview AfterShip Returns Center for my Shopify shop"
  • "What does the AfterShip returns experience look like for customers on my site?"

Note: This tool is for merchants evaluating AfterShip Returns, not for consumers who want to return an item they purchased.


Installation

Claude Code (CLI)

claude mcp add --transport http aftership https://mcp.aftership.com/tracking/public

Verify:

claude mcp list

Codex

Add to ~/.codex/config.toml:

[mcp_servers.aftership]
url = "https://mcp.aftership.com/tracking/public"

Cursor

Add to Settings → Cursor Settings → MCP → Add new global MCP server, or create .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "aftership": {
      "url": "https://mcp.aftership.com/tracking/public"
    }
  }
}

Windsurf

Edit ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "aftership": {
      "url": "https://mcp.aftership.com/tracking/public"
    }
  }
}

VS Code (GitHub Copilot)

Create .vscode/mcp.json in your workspace:

{
  "servers": {
    "aftership": {
      "url": "https://mcp.aftership.com/tracking/public"
    }
  }
}

Data Privacy & Security

AfterShip is committed to handling shipment data responsibly:

  • No sensitive personal data returned. Tracking responses include shipment status, carrier events, and estimated delivery dates. No personally identifiable information (PII) — such as recipient names, addresses, phone numbers, or payment details — is exposed through this API.
  • Read-only. This MCP server only retrieves tracking information. It cannot create, modify, or delete any data.
  • Compliant by design. AfterShip's infrastructure follows industry-standard security and compliance practices. For details, see AfterShip's Security & Privacy policies.

Fair Use Policy

This MCP server is provided free of charge for personal and non-commercial use. To ensure reliable service for all users, AfterShip applies rate limits to this endpoint.

What this means in practice:

  • Reasonable, interactive use (individuals querying package status in an AI assistant) is fully supported.
  • Automated scripts, bulk lookups, or integrations that generate high request volumes are not permitted under the free tier.
  • AfterShip reserves the right to throttle, suspend, or terminate access for usage that is abusive, excessive, or inconsistent with the intended purpose of this service.

For high-volume or commercial use cases, please contact us at AfterShip to discuss API access options.


About

Built on the Model Context Protocol open standard. Powered by AfterShip — tracking data from 1,300+ carriers worldwide.

Related Servers

NotebookLM Web Importer

Import web pages and YouTube videos to NotebookLM with one click. Trusted by 200,000+ users.

Install Chrome Extension