DHL MCP server for AI agents
Let Claude, ChatGPT or your own agent read DHL: 1 typed function through one MCP server. No DHL API key needed.
- Site
- dhl.com
- Functions
- 1
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
Just DHL
An MCP server for DHL 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/dhlEvery site
One MCP server for DHL 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
getQuoteGets an instant shipping quote from DHL's own Get a Quote calculator without logging in.Arguments
Name Type Required originCountrystringISO-2, e.g. "US".Yes originPostalCodestringRequired unless originCity is supplied.No originCitystringRequired for some DHL city-addressed origins.No destinationCountrystringISO-2.Yes destinationPostalCodestringRequired unless destinationCity is supplied.No destinationCitystringRequired for some DHL city-addressed destinations.No weightnumberPer piece; lb when imperial, kg when metric.Yes lengthnumberIn when imperial, cm when metric.Yes widthnumberYes heightnumberYes quantitynumberPieces, default 1.No units"imperial" | "metric"Default "imperial".No stackablebooleanDefault true; false for a non-stackable pallet.No documentsbooleanTrue for a documents-only envelope.No toBusinessbooleanDefault false (residential delivery).No Returns
dhlQuoteinterface dhlOffer { service: string; // DHL's offer key, e.g. "EXP_DOMESTIC_ENDOFDAY_CLICK" businessUnit: string; // EXP, ECOM, FRG, … price: number | null; currency: string | null; estimatedDelivery: string | null; estimatedDeliveryDisplay: string | null; deliveryType: string | null; cutOff: string | null; purchaseMethod: string | null; // CLICK = book online, WALK = drop off features: string[]; addOns: string[]; bookUrl: string | null; } interface dhlQuote { shippingDate: string | null; offers: dhlOffer[]; warnings: string[]; // empty unless a city-less lane returned no offers }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/dhl/getQuoteCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.dhl.getQuote({ originCountry: "US", originPostalCode: "10001", destinationCountry: "US", destinationPostalCode: "90001", weight: 5, length: 12, width: 10, height: 8 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.dhl.getQuote({ "originCountry": "US", "originPostalCode": "10001", "destinationCountry": "US", "destinationPostalCode": "90001", "weight": 5, "length": 12, "width": 10, "height": 8 }))curl -X POST https://api.bowmark.ai/v1/sites/dhl/getQuote \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"originCountry":"US","originPostalCode":"10001","destinationCountry":"US","destinationPostalCode":"90001","weight":5,"length":12,"width":10,"height":8}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.dhl.getQuote({ originCountry: "US", originPostalCode: "10001", destinationCountry: "US", destinationPostalCode: "90001", weight: 5, length: 12, width: 10, height: 8 });
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/dhl/<function> - OpenAPI
/v1/sites/dhl/openapi.json