Pirate Ship MCP server for AI agents
Let Claude, ChatGPT or your own agent read Pirate Ship: 1 typed function through one MCP server. No Pirate Ship API key needed.
- Site
- pirateship.com
- Functions
- 1
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
Just Pirate Ship
An MCP server for Pirate Ship alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/pirateshipEvery site
One MCP server for Pirate Ship and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.
Functions
Open a function to see its arguments, what it returns and how to call it.
Read 1
getRatesCompares live shipping rates across USPS and UPS for a package.Arguments
Name Type Required originZipstringYes destinationstringYes weightOznumberYes dimensions.lengthnumberYes dimensions.widthnumberYes dimensions.heightnumberYes isResidentialbooleanNo Returns
PirateshipRate[]interface PirateshipRate { title: string; carrier: { carrierKey: string; title: string }; mailClassKey: string; international: boolean; packageTypeKey: string; zone: string; totalPrice: number; basePrice: number; crossedTotalPrice: number; surcharges: Array<{ title: string; price: number }>; deliveryDescription: string; cheapest: boolean; fastest: boolean; best: boolean; learnMoreUrl: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/pirateship/getRatesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.pirateship.getRates("10001", "90001", 32, { length: 10, width: 8, height: 6 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.pirateship.getRates("10001", "90001", 32, {"length": 10, "width": 8, "height": 6}))curl -X POST https://api.bowmark.ai/v1/sites/pirateship/getRates \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"originZip":"10001","destination":"90001","weightOz":32,"dimensions":{"length":10,"width":8,"height":6}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.pirateship.getRates("10001", "90001", 32, { length: 10, width: 8, height: 6 });
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/pirateship/<function> - OpenAPI
/v1/sites/pirateship/openapi.json