easypost_rates
Pack: easypost · Endpoint: https://gateway.pipeworx.io/easypost/mcp
Get shipping rate quotes from <from_zip> to <to_zip> for a parcel — returns multi-carrier rates (USPS, UPS, FedEx, etc.) with price, service level, and estimated delivery days. Example: easypost_rates({ from_zip: “94105”, to_zip: “10001”, weight_oz: 16, _apiKey: “your-key” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
to_zip | string | yes | Destination postal/ZIP code, e.g. “10001” |
to_country | string | no | Destination ISO country code (default “US”) |
to_state | string | no | Destination state/province code (optional), e.g. “NY” |
to_city | string | no | Destination city (optional), e.g. “New York” |
from_zip | string | yes | Origin postal/ZIP code, e.g. “94105” |
from_country | string | no | Origin ISO country code (default “US”) |
weight_oz | number | yes | Parcel weight in ounces, e.g. 16 for 1 lb |
length_in | number | no | Parcel length in inches (optional) |
width_in | number | no | Parcel width in inches (optional) |
height_in | number | no | Parcel height in inches (optional) |
_apiKey | string | yes | EasyPost API key (get one free at easypost.com) |
Example call
Arguments
{
"from_zip": "94105",
"to_zip": "10001",
"weight_oz": 16,
"_apiKey": "your-easypost-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/easypost/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"easypost_rates","arguments":{"from_zip":"94105","to_zip":"10001","weight_oz":16,"_apiKey":"your-easypost-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('easypost_rates', {
"from_zip": "94105",
"to_zip": "10001",
"weight_oz": 16,
"_apiKey": "your-easypost-api-key"
});
More examples
{
"from_zip": "90210",
"to_zip": "60611",
"to_state": "IL",
"to_city": "Chicago",
"weight_oz": 32,
"length_in": 12,
"width_in": 8,
"height_in": 6,
"_apiKey": "your-easypost-api-key"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"easypost": {
"url": "https://gateway.pipeworx.io/easypost/mcp"
}
}
}
See Getting Started for client-specific install steps.