UPS MCP Server
Provides tools for UPS shipping and logistics, including creating shipments, tracking packages, getting rates, validating addresses, scheduling pickups, and finding UPS locations.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@UPS MCP Server track package 1Z999AA10123456784"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
UPS MCP Server
A Model Context Protocol server for UPS shipping and logistics APIs. Enables AI agents to create shipments, track packages, get rates, validate addresses, schedule pickups, and find UPS locations.
Quick Install
Add to your MCP config (~/.cursor/mcp.json, .cursor/mcp.json, or claude_desktop_config.json):
{
"mcpServers": {
"ups": {
"command": "npx",
"args": ["-y", "ups-mcp"],
"env": {
"UPS_CLIENT_ID": "your_client_id",
"UPS_CLIENT_SECRET": "your_client_secret",
"UPS_ACCOUNT_NUMBER": "123456",
"UPS_ENVIRONMENT": "sandbox"
}
}
}
}Get your credentials at the UPS Developer Portal.
Tools
Tool | Description |
| Create a shipment and generate a shipping label |
| Cancel a shipment and void its label |
| Track a package with full activity history |
| Get shipping rates for all available services |
| Get estimated delivery dates |
| Validate US/PR addresses |
| Schedule a package pickup |
| Cancel a scheduled pickup |
| Find nearby UPS stores and drop-off points |
Related MCP server: Easyship MCP
Prerequisites
Node.js 20+
UPS Developer Portal credentials (Get started)
UPS account number (for shipping and rating)
Installation
npx ups-mcpOr install globally:
npm install -g ups-mcpConfiguration
Environment Variables
Variable | Required | Description |
| Yes | OAuth Client ID from UPS Developer Portal |
| Yes | OAuth Client Secret |
| No |
|
| No | 6-digit UPS account (required for shipping/rating) |
Client | Config file |
Cursor (project) |
|
Cursor (global) |
|
Claude Desktop |
|
VS Code |
|
Usage Examples
Create a Shipment
"Ship a 5lb package from 123 Main St, Atlanta GA 30301 to 456 Oak Ave, Los Angeles CA 90001 via UPS Ground"
Get Rates
"What are the shipping rates for a 10lb package from NYC to Chicago?"
Track a Package
"Track package 1Z999AA10123456784"
Validate an Address
"Is 1600 Pennsylvania Ave NW, Washington DC 20500 a valid address?"
Schedule a Pickup
"Schedule a pickup tomorrow at 9am for 3 packages at our warehouse"
Development
git clone https://github.com/roscoej/ups-mcp.git
cd ups-mcp
npm install
npm run buildTesting with MCP Inspector
npm run inspectorRunning locally
cp .env.example .env
# Edit .env with your credentials
npm run build
node dist/index.jsArchitecture
src/
├── index.ts # Entry point (stdio transport)
├── config.ts # Environment variable resolution
├── server.ts # MCP server factory
├── client/
│ ├── auth.ts # OAuth 2.0 token manager
│ ├── http.ts # HTTP client with retry + error handling
│ └── errors.ts # Structured error types
├── tools/
│ ├── tracking.ts # track_package
│ ├── shipping.ts # create_shipment, void_shipment
│ ├── rating.ts # get_rates, get_time_in_transit
│ ├── address.ts # validate_address
│ ├── pickup.ts # schedule_pickup, cancel_pickup
│ ├── locator.ts # find_locations
│ ├── builders.ts # Shared request payload builders
│ ├── constants.ts # UPS API codes and enumerations
│ └── schemas.ts # Zod input schemas
└── types/
├── config.ts # Server configuration
├── shipping.ts # Shipment types + service codes
├── tracking.ts # Tracking types
├── rating.ts # Rating types
├── address.ts # Address validation types
└── pickup.ts # Pickup typesSecurity
Your API credentials are sensitive. Never commit them to version control. Use environment variables or a secrets manager.
Disclaimer
This project is an independent, unofficial, third-party tool. It is not affiliated with, endorsed by, sponsored by, or in any way officially connected to United Parcel Service, Inc. (UPS) or any of its subsidiaries.
"UPS" and the UPS brandmark are registered trademarks of United Parcel Service of America, Inc. All other trademarks are property of their respective owners. Use of these names is for identification and interoperability purposes only and does not imply endorsement.
This software is provided "AS IS", without warranty of any kind. You are solely responsible for:
Complying with the UPS Technology Agreement and all applicable UPS terms of service, rate limits, and acceptable-use policies.
Securing your API credentials and UPS account.
All activity conducted through your UPS account via this tool.
Compliance with all applicable laws and regulations in your jurisdiction.
The authors and contributors accept no liability for damages arising from the use of this software or the UPS APIs accessed through it.
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
License
MIT
Available Tools
9 toolscancel_pickupCancel PickupA
Cancel a previously scheduled UPS pickup by confirmation number.
Inputs: confirmationNumber (required).
create_shipmentCreate ShipmentA
Create a UPS shipment and generate a shipping label. Supports all UPS domestic and international services. Returns tracking number, charges, and label image (base64-encoded GIF by default). Common service codes: 03=Ground, 02=2nd Day Air, 01=Next Day Air, 13=Next Day Air Saver, 12=3 Day Select, 07=Express (intl), 11=Standard (intl).
Inputs: shipFrom (required), shipTo (required), packages (required), service, +3 more.
find_locationsFind UPS LocationsA
Find nearby UPS locations, Access Points, and drop-off points. Search by address or postal code. Returns locations with services available, hours of operation, and distance from the search point.
Inputs: postalCode (required), countryCode, city, stateProvinceCode, +3 more.
get_ratesGet Shipping RatesA
Get shipping rates for a package between two addresses. Returns available service options with prices, transit times, and delivery guarantees. Omit the service code to get rates for ALL available services (shop rates). Common codes: 03=Ground, 02=2nd Day Air, 01=Next Day Air, 12=3 Day Select.
Inputs: shipFrom (required), shipTo (required), packages (required), service.
get_time_in_transitGet Time in TransitB
Get estimated delivery dates and transit times between two locations. Returns the expected delivery date and time for each available UPS service.
Inputs: shipFrom (required), shipTo (required), weight (required), shipDate.
schedule_pickupSchedule PickupB
Schedule a UPS package pickup at a specific address and time. Provide the pickup date, time window, address, and package details. Returns a confirmation number to reference or cancel the pickup.
Inputs: pickupDate (required), readyTime (required), closeTime (required), name (required), +11 more.
track_packageTrack PackageA
Track a UPS package by tracking number. Returns current status, delivery estimate, and full activity history. Optionally includes signature details, milestones, and proof of delivery.
Inputs: trackingNumber (required), locale, returnSignature, returnMilestones, +1 more.
validate_addressValidate AddressB
Validate a US or Puerto Rico address using UPS Address Validation. Returns whether the address is valid, classification (residential/commercial), and suggested corrections if ambiguous.
Inputs: addressLine1 (required), city (required), stateProvinceCode (required), postalCode (required), +2 more.
void_shipmentVoid ShipmentA
Cancel a shipment and void its label. Use when a shipment has been created but not yet picked up or tendered to UPS. The tracking number becomes invalid after voiding.
Inputs: shipmentIdentificationNumber (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct UPS operation: pickup management, shipment creation, location lookup, rate quoting, transit time, scheduling, tracking, address validation, and voiding, with no overlap in purpose.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., cancel_pickup, create_shipment, find_locations, get_rates, get_time_in_transit, schedule_pickup, track_package, validate_address, void_shipment).
9 tools is well-scoped for a UPS integration server, covering essential workflows without unnecessary bloat or insufficient functionality.
Covers core UPS operations: create, track, void shipments; get rates and transit times; validate addresses; schedule/cancel pickups; find locations. Minor gaps like shipment listing or label reprint, but complete for primary use cases.
Maintenance
Related MCP Connectors
Multi-carrier shipping for AI agents: compare rates, buy labels, track packages, validate addresses
India shipping for AI agents: Shiprocket courier serviceability, create orders, track AWB.
Manage Shipday orders, drivers, driver earnings, reports from your AI assistants.
US shipping labels for AI agents: buy USPS/UPS/FedEx, track and refund via EasyPost.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to integrate with UPS shipping and logistics capabilities, including package tracking with delivery status and transit information, and address validation for U.S. and Puerto Rico locations.33MIT

Easyship MCPofficial
AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage global shipping operations, including rate comparison, shipment creation, label purchasing, tracking, pickup scheduling, address validation, billing, and analytics, via natural language.MIT- AlicenseNot gradedqualityBmaintenanceEnables AI agents to buy US shipping labels (USPS, UPS, FedEx) with automatic cheapest-rate selection, track parcels, and refund unused labels via the EasyPost API. Stateless, bring-your-own API key, free test keys available.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to track packages, rate and create shipments, manage pickups and customs documentation, and perform international shipping logistics checks through natural language.MIT