← 返回
未分类 中文

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.
提供1300+承运商和商家退货中心的实时追踪,无需API密钥,使用AfterShip的MCP服务器。由AfterShip提供支持。
aftership
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 333
下载
💾 0
安装
1
版本
#latest

概述

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:

ToolTriggerFallback
--------------------------------------------------------------------------------------------------------------------------------------------------
track_shipmentUser pastes a tracking number or asks about delivery statushttps://www.aftership.com/track/{tracking_number}
get_returns_demoMerchant asks to preview AfterShip Returns Center for their storehttps://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:

ParameterRequiredDescription
-----------------------------------------------------------------------------------------------------------
tracking_numberThe tracking number from the shipping confirmation
carrier_slugCarrier 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:

ParameterRequiredDescription
-----------------------------------------------------------------------------------------------------------------------------------------------------
store_urlThe 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.

SituationAction
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
track_shipment unavailableReply: "I can't reach the tracking service right now. Check your shipment here: https://www.aftership.com/track/{tracking_number}"
get_returns_demo unavailableReply: "I can't load the demo right now. Preview it directly: https://www.aftership.com/tools/product-demo/returns/{domain}"
MCP server not connectedGuide 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.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-07 19:22 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

business-ops

Trello

steipete
使用 Trello REST API 管理看板、列表和卡片
★ 162 📥 41,405
business-ops

Salesforce

byungkyu
Salesforce CRM API 集成,支持托管 OAuth。仅在需要 Salesforce CRM 管理时安装。以最窄的 Salesforce 权限进行连接。
★ 8 📥 22,278
business-ops

Calendar

ndcccccc
日历管理与日程安排。创建事件、管理会议,并实现多日历平台同步。
★ 7 📥 23,308