Packeta MCP by usefulapi
Validate, create and cancel packets, and read their status and tracking in Packeta.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"packeta": {
"url": "https://packeta.usefulapi.io/mcp"
}
}
}Remote endpoints
https://packeta.usefulapi.io/mcpstreamable-httpWhat it can do
Tool inventory
Tools (8)
🟢packeta_validate_packet(number, name, surname, company, email, ...)
Check packet data against Packeta's rules without creating anything. Use it before packeta_create_packet. Packeta API: packetAttributesValid.
Input Schema
{
"type": "object",
"properties": {
"number": {
"type": "string",
"minLength": 1,
"maxLength": 36,
"pattern": "^[A-Za-z0-9]+$",
"description": "Your order number: unique, 1 to 36 letters or digits."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"description": "Recipient first name."
},
"surname": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"description": "Recipient last name."
},
"company": {
"description": "Recipient company.",
"type": "string",
"maxLength": 32
},
"email": {
"description": "Recipient email. Give an email or a phone number.",
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"phone": {
"description": "Recipient phone in international form, e.g. +420777123456.",
"type": "string"
},
"addressId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Destination: a Packeta branch ID or an external carrier ID."
},
"currency": {
"description": "ISO 4217 code of the COD and value, e.g. CZK.",
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"cod": {
"description": "Cash on delivery amount in the packet currency.",
"type": "number",
"minimum": 0
},
"value": {
"type": "number",
"minimum": 0,
"description": "Packet value for insurance, in the packet currency."
},
"weight": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Weight in kg."
},
"deliverOn": {
"description": "Scheduled delivery date, yyyy-mm-dd, within 14 days.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"eshop": {
"description": "Sender indication, when the account has more than one sender.",
"type": "string",
"maxLength": 64
},
"note": {
"description": "Sender note, shown on the label where the carrier supports it. No double quote or semicolon.",
"type": "string",
"maxLength": 128,
"pattern": "^[^\";]*$"
},
"street": {
"description": "Street, for home delivery.",
"type": "string",
"maxLength": 32
},
"houseNumber": {
"description": "House number, for home delivery.",
"type": "string",
"maxLength": 16
},
"city": {
"description": "City, for home delivery.",
"type": "string",
"maxLength": 32
},
"province": {
"description": "Province or region.",
"type": "string",
"maxLength": 32
},
"zip": {
"description": "ZIP code, for home delivery.",
"type": "string",
"maxLength": 16
},
"carrierService": {
"description": "Comma-separated carrier services.",
"type": "string",
"maxLength": 128
},
"carrierPickupPoint": {
"description": "Carrier pick-up point code, when the carrier needs one.",
"type": "string",
"maxLength": 32
}
},
"required": [
"number",
"name",
"surname",
"addressId",
"value",
"weight"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢packeta_packet_status(packetId)
Get the current status of a packet: its state, whether it is returning to the sender, the last day it can be picked up, and its carrier. Packeta API: packetStatus.
Input Schema
{
"type": "object",
"properties": {
"packetId": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Packet ID, digits only (returned by packeta_create_packet)."
}
},
"required": [
"packetId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢packeta_packet_tracking(packetId)
Get the full tracking history of a packet, one record per status change. Packeta API: packetTracking.
Input Schema
{
"type": "object",
"properties": {
"packetId": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Packet ID, digits only (returned by packeta_create_packet)."
}
},
"required": [
"packetId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢packeta_packet_info(packetId)
Get a packet's destination branch, verified invoice weight, and courier consignment details (courier, courier numbers, barcodes), when there is one. Packeta API: packetInfo.
Input Schema
{
"type": "object",
"properties": {
"packetId": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Packet ID, digits only (returned by packeta_create_packet)."
}
},
"required": [
"packetId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢packeta_shipment_packets(shipmentId)
List the packets inside a shipment, given its D-code or B-code shipment ID. Packeta API: shipmentPackets.
Input Schema
{
"type": "object",
"properties": {
"shipmentId": {
"type": "string",
"pattern": "^[A-Za-z0-9-]{1,40}$",
"description": "Shipment ID: a D-code or B-code, e.g. D-123456."
}
},
"required": [
"shipmentId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢packeta_return_routing(senderLabel)
Get the two return routing strings of a sender, to print on return labels. They change with account settings, so fetch them each time. Packeta API: senderGetReturnRouting.
Input Schema
{
"type": "object",
"properties": {
"senderLabel": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "Sender label of the account (the eshop indication)."
}
},
"required": [
"senderLabel"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴packeta_create_packet(number, name, surname, company, email, ...)
Create a packet in the customer's Packeta account and return its ID and barcode. This is a live action: the packet is registered at once and can be handed to a carrier. Run packeta_validate_packet first. Packeta API: createPacket.
Input Schema
{
"type": "object",
"properties": {
"number": {
"type": "string",
"minLength": 1,
"maxLength": 36,
"pattern": "^[A-Za-z0-9]+$",
"description": "Your order number: unique, 1 to 36 letters or digits."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"description": "Recipient first name."
},
"surname": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"description": "Recipient last name."
},
"company": {
"description": "Recipient company.",
"type": "string",
"maxLength": 32
},
"email": {
"description": "Recipient email. Give an email or a phone number.",
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"phone": {
"description": "Recipient phone in international form, e.g. +420777123456.",
"type": "string"
},
"addressId": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Destination: a Packeta branch ID or an external carrier ID."
},
"currency": {
"description": "ISO 4217 code of the COD and value, e.g. CZK.",
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"cod": {
"description": "Cash on delivery amount in the packet currency.",
"type": "number",
"minimum": 0
},
"value": {
"type": "number",
"minimum": 0,
"description": "Packet value for insurance, in the packet currency."
},
"weight": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Weight in kg."
},
"deliverOn": {
"description": "Scheduled delivery date, yyyy-mm-dd, within 14 days.",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"eshop": {
"description": "Sender indication, when the account has more than one sender.",
"type": "string",
"maxLength": 64
},
"note": {
"description": "Sender note, shown on the label where the carrier supports it. No double quote or semicolon.",
"type": "string",
"maxLength": 128,
"pattern": "^[^\";]*$"
},
"street": {
"description": "Street, for home delivery.",
"type": "string",
"maxLength": 32
},
"houseNumber": {
"description": "House number, for home delivery.",
"type": "string",
"maxLength": 16
},
"city": {
"description": "City, for home delivery.",
"type": "string",
"maxLength": 32
},
"province": {
"description": "Province or region.",
"type": "string",
"maxLength": 32
},
"zip": {
"description": "ZIP code, for home delivery.",
"type": "string",
"maxLength": 16
},
"carrierService": {
"description": "Comma-separated carrier services.",
"type": "string",
"maxLength": 128
},
"carrierPickupPoint": {
"description": "Carrier pick-up point code, when the carrier needs one.",
"type": "string",
"maxLength": 32
}
},
"required": [
"number",
"name",
"surname",
"addressId",
"value",
"weight"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴packeta_cancel_packet(packetId)
Cancel a packet that has not been physically handed over yet. The cancellation cannot be undone. Packeta API: cancelPacket.
Input Schema
{
"type": "object",
"properties": {
"packetId": {
"type": "string",
"pattern": "^\\d{1,20}$",
"description": "Packet ID, digits only (returned by packeta_create_packet)."
}
},
"required": [
"packetId"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Evidence