mcp-ups

mcp-ups

MCP server for UPS package tracking and shipping services using browser automation. Supports tracking packages, getting shipping rates, finding locations, and scheduling pickups.

Category
访问服务器

README

mcp-ups

MCP server for UPS package tracking and shipping services. Uses Playwright browser automation to interact with the UPS website.

Requirements

  • Node.js 18 or higher
  • Playwright (installed automatically as a dependency)

Installation

npm install -g @striderlabs/mcp-ups

After installing, install the Playwright browser:

npx playwright install chromium

Configuration for Claude Desktop

Add the following to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "ups": {
      "command": "mcp-ups"
    }
  }
}

If using npx instead of a global install:

{
  "mcpServers": {
    "ups": {
      "command": "npx",
      "args": ["-y", "@striderlabs/mcp-ups"]
    }
  }
}

Tools

track_package

Track a UPS package by tracking number. Returns current status, location history, and estimated delivery date.

Parameters:

  • tracking_number (required): UPS tracking number (e.g., 1Z999AA10123456784)

Example:

{
  "tracking_number": "1Z999AA10123456784"
}

Response:

{
  "tracking_number": "1Z999AA10123456784",
  "status": "In Transit",
  "estimated_delivery": "Thursday, March 14, 2026",
  "events": [
    {
      "date": "03/13/2026",
      "time": "8:00 A.M.",
      "location": "Louisville, KY, US",
      "status": "In Transit",
      "description": "Package transferred to destination facility"
    }
  ]
}

get_rates

Get UPS shipping rates between two ZIP codes for a package of specified dimensions and weight.

Parameters:

  • from_zip (required): Origin ZIP code
  • to_zip (required): Destination ZIP code
  • weight_lbs (required): Package weight in pounds
  • length_in (optional): Package length in inches
  • width_in (optional): Package width in inches
  • height_in (optional): Package height in inches

Example:

{
  "from_zip": "90210",
  "to_zip": "10001",
  "weight_lbs": 5,
  "length_in": 12,
  "width_in": 8,
  "height_in": 6
}

Response:

{
  "from_zip": "90210",
  "to_zip": "10001",
  "weight_lbs": 5,
  "rates": [
    {
      "service_name": "UPS Ground",
      "price": "$12.34",
      "delivery_time": "1-5 business days",
      "guaranteed": false
    },
    {
      "service_name": "UPS Next Day Air",
      "price": "$45.67",
      "delivery_time": "Next business day",
      "guaranteed": true
    }
  ]
}

find_locations

Find UPS Store locations, drop boxes, and access points near a given address or ZIP code.

Parameters:

  • address (required): Address, city, or ZIP code to search near
  • radius_miles (optional): Search radius in miles (default: 5)
  • location_type (optional): Type of location — store, dropbox, access_point, or all (default: all)

Example:

{
  "address": "90210",
  "radius_miles": 3,
  "location_type": "store"
}

Response:

{
  "search_address": "90210",
  "locations": [
    {
      "name": "The UPS Store",
      "address": "123 Main St",
      "city": "Beverly Hills",
      "state": "CA",
      "zip": "90210",
      "phone": "(310) 555-1234",
      "hours": "Mon-Fri 8am-7pm, Sat 9am-5pm",
      "distance": "0.5 miles",
      "type": "UPS Location"
    }
  ]
}

schedule_pickup

Schedule a UPS package pickup at your address. Note: This requires a UPS account login, so the tool will provide step-by-step instructions if authentication is needed.

Parameters:

  • address (required): Pickup street address
  • city (required): City
  • state (required): State (2-letter code)
  • zip (required): ZIP code
  • pickup_date (required): Desired pickup date in YYYY-MM-DD format
  • num_packages (optional): Number of packages (default: 1)
  • total_weight_lbs (optional): Total weight in pounds (default: 5)

Example:

{
  "address": "123 Main St",
  "city": "San Francisco",
  "state": "CA",
  "zip": "94105",
  "pickup_date": "2026-03-15",
  "num_packages": 2,
  "total_weight_lbs": 10
}

Response:

{
  "success": false,
  "pickup_date": "2026-03-15",
  "address": "123 Main St, San Francisco, CA 94105",
  "message": "Scheduling a pickup requires a UPS account login",
  "instructions": "1. Visit https://www.ups.com/pickup/schedule\n2. Sign in to your UPS account\n..."
}

Notes

  • This server uses Playwright browser automation to interact with the UPS website. It does not use the UPS API directly.
  • Some features (e.g., scheduling pickups) require a UPS account. The server will provide instructions for completing those steps manually.
  • UPS website structure may change over time, which could affect data extraction accuracy.
  • The server keeps a shared browser instance to reduce overhead across tool calls.

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选