← 返回 Skills 市场
shopmeskills

Logistics Tracking

作者 Shopme · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
913
总下载
0
收藏
4
当前安装
2
版本数
在 OpenClaw 中安装
/install logistics-tracking
功能描述
Track international packages by tracking number. Supports 3100+ carriers (China Post, DHL, FedEx, UPS, USPS, Yanwen, Cainiao, etc.) via 17track. Optional: se...
使用说明 (SKILL.md)

Logistics Tracking

Track international packages by tracking number only. Supports 3100+ carriers worldwide.

When to Use

  • User asks "where is my package" or provides a tracking number
  • User needs to check shipment status or delivery estimate
  • User asks about customs clearance or logistics exceptions
  • User needs to track multiple packages at once

How It Works

Mode API Key Required? Description
With TRACK17_API_KEY Yes (1 key) Uses the official api.17track.net — most reliable, 3100+ carriers.
Without key No Uses Playwright (headless Chromium) to query t.17track.net. Requires playwright npm package.

Recommendation: Set TRACK17_API_KEY for the best reliability. Get a free key at https://api.17track.net

Option A: Deploy as HTTP Service (users need no key)

You deploy the MCP HTTP server with TRACK17_API_KEY on your server. End users connect via URL — they don't need any API key.

1. Start the server (your side)

export TRACK17_API_KEY=your-17track-api-key
npx -y @shopmeagent/logistics-tracking-mcp serve

# Default: http://0.0.0.0:3000/mcp
# Override with PORT and HOST env vars

2. User/client MCP config (Streamable HTTP)

{
  "mcpServers": {
    "logistics-tracking": {
      "type": "streamable-http",
      "url": "https://your-domain.com/mcp"
    }
  }
}

Users only need a tracking number — no API key required on their end.


Option B: Local stdio (zero-config or with key)

Zero-config (no key, uses Playwright fallback — requires playwright installed):

{
  "mcpServers": {
    "logistics-tracking": {
      "command": "npx",
      "args": ["-y", "@shopmeagent/logistics-tracking-mcp"]
    }
  }
}

Recommended — with API key for broader carrier coverage and better reliability:

{
  "mcpServers": {
    "logistics-tracking": {
      "command": "npx",
      "args": ["-y", "@shopmeagent/logistics-tracking-mcp"],
      "env": {
        "TRACK17_API_KEY": "your-17track-api-key"
      }
    }
  }
}

Get a free 17track API key: https://api.17track.net

Using with OpenClaw

Add this skill to OpenClaw:

npx skills add shopmeskills/mcp

Then in OpenClaw's MCP configuration, add either the HTTP or stdio config shown above.

Example prompts:

  • "Track package YT2412345678901234"
  • "Where is my package LX123456789CN?"
  • "Check status of 1ZABCDEF1234567890"

Available Tools

track_package

Query tracking info for a single package.

  • Input: trackingNumber (required), carrier (optional, auto-detected)
  • Returns: status, current location, timeline of events

detect_carrier

Identify the carrier from a tracking number's format.

  • Input: trackingNumber
  • Returns: carrier name, confidence level

batch_track

Track up to 40 packages at once.

  • Input: trackingNumbers array
  • Returns: array of tracking results

explain_status

Get a human-readable explanation of a tracking status code.

  • Input: statusCode (e.g. InTransit, CustomsClearance, Delivered)
  • Returns: description and advice in English

Tracking Number Format Guide

Pattern Carrier Example
XX123456789CN China Post LX123456789CN
EX123456789CN China EMS EA123456789CN
YT + 16 digits Yanwen YT1234567890123456
LP + 14+ digits Cainiao LP12345678901234
SF + 12+ digits SF Express SF1234567890123
1Z + 16 chars UPS 1ZABCDEF1234567890
94/93/92 + 20 digits USPS 9400111899223100012345
10-11 digits DHL 1234567890
12-15 digits FedEx 123456789012

Typical Delivery Times (International)

Route Standard Express
China to US 15-30 days 5-10 days
China to EU 15-30 days 5-10 days
China to SE Asia 7-15 days 3-7 days
China to Japan/Korea 5-10 days 3-5 days

Status Codes Explained

  • InfoReceived: Carrier has the info but hasn't picked up the package (1-3 day wait)
  • InTransit: Package is moving through the logistics network
  • CustomsClearance: Going through customs (3-7 business days typical)
  • OutForDelivery: Final delivery attempt today
  • Delivered: Successfully delivered
  • Exception: Problem occurred (customs hold, wrong address, failed delivery)
  • Returned: Being sent back to origin

Tips

  1. No key needed: Without TRACK17_API_KEY, the tool uses Playwright to query 17track directly. Install Playwright with npm install playwright for this to work.
  2. 3100+ carriers: With a 17track API key, auto-detects carrier from the tracking number.
  3. Wait 24-48 hours after shipment before tracking — data may not be available on day one.
  4. Allow at least 2 hours between queries for the same tracking number to avoid rate limiting.
  5. Use batch_track for multiple packages — more efficient than individual queries.
安全使用建议
Before installing or running this skill: 1) Verify the npm package @shopmeagent/logistics-tracking-mcp (check publisher, source repo, recent changes, and npm page) rather than blindly running npx -y. 2) Prefer using a valid TRACK17_API_KEY (official API) to avoid the Playwright scraping fallback. 3) If you must use the npx approach, pin to a specific trusted version and review package contents locally. 4) Run the MCP server in an isolated environment/container and restrict public access (add authentication/reverse proxy) if you expose an HTTP endpoint. 5) Be aware Playwright will download browser binaries and run headless Chromium — this increases network/disk usage and can be blocked by target sites. 6) Review 17track terms of service to ensure scraping (Playwright fallback) is permitted. These steps will reduce supply-chain and runtime risk.
功能分析
Type: OpenClaw Skill Name: logistics-tracking Version: 1.0.1 The skill is suspicious due to its reliance on `npx -y @shopmeagent/logistics-tracking-mcp` for execution, which introduces a supply chain risk by downloading and running code from an external registry without explicit user confirmation. The trustworthiness of the `@shopmeagent` scope is unknown. Additionally, the skill's fallback mechanism utilizes Playwright (a headless browser) for web scraping, a powerful capability that, while intended for `t.17track.net`, significantly increases the attack surface and could be misused if the underlying package is compromised or contains vulnerabilities. These risky capabilities are present in `SKILL.md`.
能力评估
Purpose & Capability
The name/description (tracking via 17track) matches the declared behavior: optional TRACK17_API_KEY for the official API and a Playwright fallback for no-key operation. Required env vars and resources are proportional to that purpose.
Instruction Scope
Instructions are narrowly scoped to starting an MCP server or running the MCP package via npx and to accepting tracking numbers. They do not instruct reading unrelated files or credentials. Note: the fallback uses a headless browser (Playwright) to scrape t.17track.net, which is within the skill's stated fallback behavior but can be brittle and may carry legal/operational considerations.
Install Mechanism
There is no built-in install spec; the runtime instructions rely on npx -y @shopmeagent/logistics-tracking-mcp which will fetch and execute code from the npm registry at run time. That introduces supply-chain risk (unverified remote code execution). The Playwright fallback also requires installing playwright and will download browser binaries, increasing disk/network activity and attack surface.
Credentials
The only environment variable mentioned is TRACK17_API_KEY (optional) and standard PORT/HOST overrides. These are appropriate and directly relevant to the described functionality; no unrelated credentials are requested.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and does not claim persistent elevated privileges. It instructs running an external service that you control.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install logistics-tracking
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /logistics-tracking 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Updated skill version to 1.0.1 in metadata. - No functional or documentation changes except for version bump.
v1.0.0
Initial release: international package tracking across 3100+ carriers - Track packages worldwide using tracking number only, with support for top carriers (China Post, DHL, FedEx, UPS, USPS, etc.) - Works with or without a 17track API key: uses official API if key is set, Playwright fallback otherwise - Provides single, batch, and carrier detection tools, plus human-readable explanations of tracking status codes - Easy deployment as an HTTP service or local tool; sample configurations included - Includes delivery time estimates and carrier-specific tracking number guide for user reference
元数据
Slug logistics-tracking
版本 1.0.1
许可证
累计安装 4
当前安装数 4
历史版本数 2
常见问题

Logistics Tracking 是什么?

Track international packages by tracking number. Supports 3100+ carriers (China Post, DHL, FedEx, UPS, USPS, Yanwen, Cainiao, etc.) via 17track. Optional: se... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 913 次。

如何安装 Logistics Tracking?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install logistics-tracking」即可一键安装,无需额外配置。

Logistics Tracking 是免费的吗?

是的,Logistics Tracking 完全免费(开源免费),可自由下载、安装和使用。

Logistics Tracking 支持哪些平台?

Logistics Tracking 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Logistics Tracking?

由 Shopme(@shopmeskills)开发并维护,当前版本 v1.0.1。

💬 留言讨论