ghn_list_provinces
List provinces
List all provinces and cities with their ProvinceID. Use the ProvinceID with ghn_list_districts. Uses the district address model. GHN: GET /master-data/province.
无需输入参数。
io.usefulapi由 usefulapi.io 发布官方发布者v1.0.1更新于 Nov 8, 2026
Quote shipping fees, track orders, and create or cancel shipping orders in GHN.
发布方自己的服务:Ably MCP by usefulapi
面向 GHN 物流的托管 MCP 服务器:让助手查询运费、查看订单,并创建或取消真实配送订单。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.usefulapi%2Fghn/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"ghn-by-usefulapi": {
"type": "http",
"url": "https://ghn.usefulapi.io/mcp"
}
}
}Use your GHN account from Claude, Cursor, or any MCP client. Quote shipping fees, read orders, and create or cancel GHN shipping orders. Hosted, no local install: connect with your own credentials.
Live endpoint: https://ghn.usefulapi.io/mcp · Homepage: https://usefulapi.io
https://ghn.usefulapi.io/mcp.claude mcp add --transport http ghn https://ghn.usefulapi.io/mcp, then run /mcp to log in.Add only the URL. Do not add an Authorization header or an API key to the client config: the server signs you in with OAuth, and the login page asks for your GHN credentials.
Step-by-step setup, where to find your credentials, and FAQ: https://usefulapi.io/ghn/
On first connect you provide your GHN Token API value (GHN Developer Portal, Manage token; reveal it with the OTP sent to your phone) and your GHN ShopId (in your GHN account information). The server validates them and stores them per user. No keys go in config files.
read tools are read-only; write tools mutate data (clients should confirm them); meta tools report usage, manage your subscription or send a feature request.
*Pro has a fair use limit of 10,000 tool calls a month on this server. For more, write to [email protected].
Pro covers this server only. Subscribe with ghn_upgrade (it returns a Stripe Checkout link). Cancel any time with ghn_cancel_subscription: Pro continues to the end of the paid period, with no refund for the current period, and running ghn_upgrade before then undoes the cancel. Or write to [email protected].
MIT — see LICENSE. Documentation only; the server is hosted.
来源:servers/ghn/README.md,提交 eece7cf
List provinces
List all provinces and cities with their ProvinceID. Use the ProvinceID with ghn_list_districts. Uses the district address model. GHN: GET /master-data/province.
无需输入参数。
List districts
List the districts of one province with DistrictID and service support (SupportType: 0 locked, 1 pickup only, 2 delivery only, 3 both). GHN: GET /master-data/district?province_id=.
province_id必填List wards
List the wards of one district. Use WardCode (a string) for ghn_calculate_fee and ghn_create_order ward fields. GHN: GET /master-data/ward?district_id=.
district_id必填List delivery services
List the delivery services GHN offers on a route for this shop. Returns service_type_id (2 = under 20 kg, 5 = 20 kg or more or multi-parcel). Call it before ghn_calculate_fee. GHN: POST /v2/shipping-order/available-services.
to_district_id必填from_district_id必填Calculate shipping fee
Quote the shipping fee for a parcel to a ward, before creating an order. Quote only: no order is created. GHN: POST /v2/shipping-order/fee.
itemswidthcouponheightlengthweight必填cod_valueto_ward_code必填from_ward_codeto_district_id必填insurance_valueservice_type_id必填另有 1 个Get an order
Get the full details of one shipping order by its GHN tracking code: status, parties, COD, fees and items. GHN: GET /v2/shipping-order/detail?order_code=.
order_code必填Get an order by your code
Get the full details of one shipping order by your own client_order_code instead of the GHN tracking code. GHN: GET /v2/shipping-order/detail-by-client-code?client_order_code=.
client_order_code必填Create a shipping order
CREATES A REAL SHIPPING ORDER: GHN picks up and delivers the parcel and can charge the shop or collect cash on delivery (COD) from the recipient. Call only after the user explicitly confirms the recipient, the parcel and the fee in this chat (use ghn_calculate_fee first). client_order_code is required: a retry with the same code returns the first order and creates no duplicate. Set to_district_name when is_new_to_address is false. Send content or items. GHN: POST /v2/shipping-order/create.
noteitemswidth必填height必填length必填weight必填contentto_name必填to_phone必填cod_amountto_address必填to_ward_name必填另有 8 个Cancel shipping orders
CANCELS REAL SHIPPING ORDERS. The batch is all-or-nothing: one unknown or foreign order code cancels nothing. Call only after the user explicitly confirms the order codes. An order that can no longer be cancelled returns result false. GHN: POST /v2/switch-status/cancel.
reasonorder_codes必填reason_code已满足适用检查项的 100%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
io.usefulapi官方发布者
MCP server for Ably — channel history, presence, occupancy, stats, publish, and app management.
io.usefulapi官方发布者
托管的只读 MCP 服务器,让助手读取 Tiltify 的募捐活动、捐款记录以及捐款人和筹款人排行榜。
io.usefulapi官方发布者
托管的 Termii 服务器,让助手发送短信,并查询钱包余额、DND 状态、发送方 ID 和消息记录。
io.usefulapi官方发布者
托管型 MCP 服务器,让助手读取 Temp Stick 的温度与湿度传感器、其读数以及告警通知。
io.usefulapi官方发布者
将助手连接到 Stibee 邮件营销工作区,可读取地址簿、订阅者和邮件统计,并添加订阅者与分组。
{ "mcpServers": { "ghn": { "url": "https://ghn.usefulapi.io/mcp" } }}