Postage.lk
Sri Lanka Post postage, COD fees, post office lookup and prohibited items for international mail.
我該用這個嗎
品質與安全性
發現項目(4)
- LOW在 calculate-postage 中
- LOW在 calculate-cod-fee 中
- LOW在 find-post-office 中
- LOW在 check-prohibited-articles 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"postage": {
"url": "https://postage.lk/mcp"
}
}
}遠端端點
https://postage.lk/mcpstreamable-http它能做什麼
工具清單
工具(4)
🟢calculate-postage(weight_grams, destination_country)
Calculates Sri Lanka Post postage for a weight, in LKR. Without a destination it prices every local service (ordinary letter, open article, parcel, speed post, logi post). With a destination country it prices every international airmail and sea mail service, with optional extras such as registration, and lists current notices for that country. Services that cannot carry the weight are left out. For cash on delivery fees use calculate-cod-fee instead.
輸入結構描述
{
"type": "object",
"properties": {
"weight_grams": {
"description": "Weight of the item in grams, e.g. 750 for 750 g.",
"type": "number"
},
"destination_country": {
"description": "Destination country as an English name (\"Japan\") or two-letter ISO code (\"JP\"). Leave out to price local postage within Sri Lanka.",
"type": "string"
}
},
"required": [
"weight_grams"
]
}🟢calculate-cod-fee(weight_grams, amount_lkr)
Calculates the Sri Lanka Post cash on delivery (COD) fee for a parcel: the Logi Post courier fee for its weight, the money order commission on the amount collected, and the flat service fee. All amounts are in LKR.
輸入結構描述
{
"type": "object",
"properties": {
"weight_grams": {
"description": "Parcel weight in grams.",
"type": "number"
},
"amount_lkr": {
"description": "Amount the courier collects from the buyer, in LKR.",
"type": "number"
}
},
"required": [
"weight_grams",
"amount_lkr"
]
}🟢find-post-office(query)
Finds Sri Lanka Post offices and postal codes. Search by post office name, 5-digit post code, short (tele) code, or a village or town name. Returns the post code, type, grade, whether it delivers, its division, phone numbers and, for a sub post office, the controlling post office. If no office matches the name, villages matching it are returned with the post offices serving their area.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"description": "Post office name (\"Kandy\"), post code (\"20000\"), short code, or village/town name (\"Peradeniya\").",
"type": "string"
}
},
"required": [
"query"
]
}🟢check-prohibited-articles(country)
Lists the items that are prohibited or restricted when posting from Sri Lanka to a destination country by international mail. Returns every entry for the country; compare the user's item against the descriptions yourself, as wording varies ("lithium batteries" vs "power banks"). Absence from the list is not a guarantee that an item is allowed.
輸入結構描述
{
"type": "object",
"properties": {
"country": {
"description": "Destination country, as an English name (\"Australia\") or two-letter ISO code (\"AU\").",
"type": "string"
}
},
"required": [
"country"
]
}社群
證據