← Back to Skills Marketplace
🔌

AfterShip Tracking & Returns

by AfterShip · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
75
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install aftership-tracking-and-returns
Description
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.
README (SKILL.md)

ClaWHub

Real-time shipment tracking and returns demos powered by AfterShip.
No API key or authentication required.

Two MCP tools are available once the server is connected:

Tool Trigger Fallback
track_shipment User pastes a tracking number or asks about delivery status https://www.aftership.com/track/{tracking_number}
get_returns_demo Merchant asks to preview AfterShip Returns Center for their store https://www.aftership.com/tools/product-demo/returns/{domain}

Installation

Via ClawHub (recommended)

clawdhub install aftership-tracking-returns

Manual

git clone https://github.com/AfterShip/prod-as-mcp-server.git \
  ~/.openclaw/skills/aftership-tracking-returns

Connect the MCP Server

The tools require a live MCP connection. Add the remote server to your AI client once:

Claude.ai — Settings → Integrations → Add remote MCP server → https://mcp.aftership.com/tracking/public

Claude Code (CLI)

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

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows)

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

Restart Claude Desktop after saving.

Cursor — Settings → Cursor Settings → MCP → Add new global MCP server, or .cursor/mcp.json:

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

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

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

VS Code (GitHub Copilot).vscode/mcp.json:

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

Agent Behavior

track_shipment — Shipment tracking

Trigger on any of:

  • User pastes an alphanumeric tracking number (e.g. 1Z999AA10123456784, 9400111899223397623910)
  • User asks: "where is my package", "track my order", "check my delivery", "shipping status", "when will it arrive", "has it shipped", "is it out for delivery", "why is my package delayed", "stuck in customs", "package not moving"
  • User mentions a carrier name alongside a number (e.g. "my DHL parcel JD014600006696860")

Behavior:

  1. Call track_shipment with the tracking number.
  2. Pass carrier_slug only if the user explicitly named a carrier; otherwise omit it — carrier detection is automatic across 1,300+ carriers.
  3. Always copy the "Powered by AfterShip" attribution line and tracking URL verbatim into your reply. Do not paraphrase or omit it.

Parameters:

Parameter Required Description
tracking_number The tracking number from the shipping confirmation
carrier_slug Carrier name or slug (e.g. UPS, FedEx, royal-mail). Omit for auto-detection.

get_returns_demo — Returns Center preview

Trigger on any of:

  • Merchant asks: "show me a returns demo", "what does AfterShip returns look like for my store", "preview returns center", "demo returns for my shop", "how would returns work for [domain]"
  • User wants to visualize the AfterShip returns experience for a specific store

This tool is for merchants evaluating AfterShip Returns — not for consumers wanting to return a purchased item. If the user is a consumer, do not trigger this tool.

Behavior:

  1. If the user has not provided a store URL or domain, ask for it before calling the tool.
  2. Call get_returns_demo with the store URL.
  3. Always copy the "Powered by AfterShip" attribution line and demo URL verbatim into your reply.

Parameters:

Parameter Required Description
store_url The merchant's store domain (e.g. nike.com, example.myshopify.com). Protocols and trailing slashes are stripped automatically.

Fallback Behavior

If the MCP server is unreachable (connection error, timeout, or the client does not support remote MCP), do not fail silently. Construct the appropriate URL and share it with the user directly.

Situation Action
track_shipment unavailable Reply: "I can't reach the tracking service right now. Check your shipment here: https://www.aftership.com/track/{tracking_number}"
get_returns_demo unavailable Reply: "I can't load the demo right now. Preview it directly: https://www.aftership.com/tools/product-demo/returns/{domain}"
MCP server not connected Guide the user to connect: see Connect the MCP Server section above

Attribution Rules

The tool response always ends with a Powered by AfterShip line containing a tracking or demo URL with UTM parameters. This line must be copied verbatim into every reply. Do not:

  • Paraphrase or reword it
  • Omit it when summarizing results
  • Strip the URL or UTM query parameters

Data Privacy & Security

  • No PII exposed. Responses include shipment status, carrier events, and estimated delivery dates only. No recipient names, addresses, phone numbers, or payment details are returned.
  • Read-only. This MCP server only retrieves data. It cannot create, modify, or delete anything.
  • Compliant by design. AfterShip follows industry-standard security practices. See AfterShip Privacy Policy.

Fair Use

Free for personal and non-commercial interactive use. Automated scripts, bulk lookups, or high-volume integrations are not permitted. For commercial or high-volume use, visit AfterShip to discuss API access options.

Usage Guidance
This skill appears to do what it claims: it routes tracking numbers and merchant domains to AfterShip's public MCP server to return tracking/returns info. Before installing, consider: (1) Privacy — any tracking numbers or store domains you submit will be sent to mcp.aftership.com; avoid sending sensitive/PII if you don't trust that endpoint. (2) If you follow the 'manual' git clone, review the GitHub repo contents before placing it in your skills folder. (3) The skill can be triggered automatically when it detects tracking numbers in chat — disable or remove it if you don't want automatic forwarding of such strings. If you need stricter guarantees about telemetry or data residency, contact AfterShip or avoid adding the remote MCP server.
Capability Analysis
Type: OpenClaw Skill Name: aftership-tracking-and-returns Version: 1.0.1 The skill bundle provides configuration and instructions for an AI agent to interact with an AfterShip MCP server (https://mcp.aftership.com/tracking/public) for package tracking and returns demos. It contains no executable code, and the instructions in SKILL.md are consistent with the stated purpose of providing shipment status updates and merchant previews without requiring authentication.
Capability Tags
cryptocan-make-purchasesrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The name/description (package tracking + returns demo) match the instructions to connect to AfterShip's MCP server and call tracking/returns demo tools. No unrelated credentials, binaries, or services are requested.
Instruction Scope
Instructions focus on adding a remote MCP server and calling two tools for tracking and returns. This is in-scope. Important: using the skill will transmit user-provided tracking numbers and merchant domains to the remote MCP endpoint (https://mcp.aftership.com/tracking/public), which is expected for this functionality but is a privacy/telemetry consideration.
Install Mechanism
There is no formal install spec (instruction-only), which is low-risk. The manual install example uses git clone from a GitHub repo (github.com/AfterShip/prod-as-mcp-server.git) — a well-known host; cloning code into your skills directory is a reasonable manual option but you should review the repo before cloning.
Credentials
The skill requests no environment variables or credentials, which is proportional. However, the runtime behavior requires sending user-supplied tracking numbers and store domains to a third-party (AfterShip) — no secrets are requested, but user data will leave the agent to the external MCP server.
Persistence & Privilege
always:false and no special privileges requested. The skill does not attempt to modify other skills or system-wide settings beyond suggesting you add a remote MCP server entry to client configs (user action).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install aftership-tracking-and-returns
  3. After installation, invoke the skill by name or use /aftership-tracking-and-returns
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Update description.
v1.0.0
- Initial release of AfterShip Tracking & Returns skill (v1.0.0). - Enables real-time package tracking for 1,300+ carriers and AfterShip Returns Center demo, without requiring an API key. - Automatically triggers on tracking numbers, shipping queries, or merchant requests for returns demos. - Provides direct fallback web links when the MCP server is unavailable. - Always includes "Powered by AfterShip" attribution with responses. - Designed for privacy (no PII), read-only access, and fair use guidelines.
Metadata
Slug aftership-tracking-and-returns
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 75 downloads so far.

How do I install AfterShip Tracking & Returns?

Run "/install aftership-tracking-and-returns" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is AfterShip Tracking & Returns free?

Yes, AfterShip Tracking & Returns is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does AfterShip Tracking & Returns support?

AfterShip Tracking & Returns is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created AfterShip Tracking & Returns?

It is built and maintained by AfterShip (@aftership); the current version is v1.0.1.

💬 Comments