Summary
Apaczka.pl API v2, the Polish multi-carrier shipping broker: available services and carriers, shipment prices, parcel points, orders, labels as PDF, dispatch codes, turn-in confirmations, tracking and courier pickup hours. Buying a shipment, cancelling and ordering a courier are included but switched off. App ID and app secret from the Apaczka panel.
Guided setup
Connect Apaczka to Cursor in 2 minutes
Start a free trial on AnythingMCP Cloud, connect Apaczka in the guided setup, then add your MCP URL to Cursor. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
Try asking
Example prompts for Apaczka
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Apaczka, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
Apaczka + Cursor
Apaczka.pl API v2, the Polish multi-carrier shipping broker: available services and carriers, shipment prices, parcel points, orders, labels as PDF, dispatch codes, turn-in confirmations, tracking and courier pickup hours. Buying a shipment, cancelling and ordering a courier are included but switched off. App ID and app secret from the Apaczka panel.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
APACZKA_APP_ID, APACZKA_APP_SECRET
Step 1 — Get credentials
Setting up takes about 3 minutes.
- Sign in to the Apaczka panel at https://panel.apaczka.pl with a business account.
- Open Ustawienia (Settings), API, and create an API (WebAPI) application.
- Copy its app_id into
APACZKA_APP_IDand its app_secret intoAPACZKA_APP_SECRET.
Apaczka never receives the secret: every call is a form POST with app_id, request (the call's data as JSON text), expires and a signature, an HMAC-SHA256 over app_id:route:request:expires keyed with the secret. The connector signs each call with an expiry 10 minutes ahead; Apaczka accepts at most 15 minutes. This is the production API: sandbox keys from panel-sandbox.apaczka.pl are refused here.
Where to start: apaczka_get_service_structure lists the services of your account with their service_id, the carrier and what each needs. apaczka_list_orders shows your orders; apaczka_get_order reads one in full.
Prices: apaczka_get_order_valuation prices a shipment without buying it. Leave out service_id to get a price for every service that can carry the parcel, then check in the service structure what the chosen service needs: pickup_courier 2 means a courier pickup is required, the point flags mean a point id is needed, domestic 0 means customs data. Courier pickups on the same day, COD and options cost extra, so price the final payload.
Points: apaczka_list_points lists the lockers and points of one carrier (type INPOST, DPD and so on). Put the point's foreign_address_id on the receiver for delivery to a locker, or on the sender to drop the parcel off at a point (pickup type SELF).
Orders and documents: apaczka_list_orders (up to 25 per page), apaczka_get_order, apaczka_get_waybill (the label as base64 PDF), apaczka_get_dispatch_code (the code some carriers want at a drop-off point) and apaczka_get_turn_in (one confirmation, base64 PDF, for several parcels handed to one courier). apaczka_track_shipment takes the carrier's waybill number, not the order id, and returns normalised statuses (NEW, PICKUP, IN_TRANSIT, DELIVERED, EXCEPTION, RETURNED_TO_SHIPPER, CANCELLED and others) with the carrier's own text.
Courier pickups: apaczka_get_pickup_hours returns the pickup windows for a postal code and service. Note the naming trap: in an order the pickup fields are hours_from and hours_to; the separate pickup orders use hour_from and hour_to.
Switched off (they cost money or cannot be undone): apaczka_send_order buys the shipment and charges your Apaczka account. It is not idempotent: if a call times out, look for the order with apaczka_list_orders before trying again, or the parcel is bought twice. apaczka_cancel_order works only until the carrier takes the parcel, and a cancelled order no longer serves its label. apaczka_order_pickup (DPD only) and apaczka_order_batch_pickup order a paid courier pickup for existing orders and need the pickup via API privilege, which Apaczka support enables on request.
Field notes: parcel sizes are dimension1, dimension2, dimension3 in whole centimetres and weight in kilograms. Apaczka silently ignores keys it does not know (length, width, height), so a misnamed field gives a wrong price without any error. Money in requests and in valuations is in grosze (1 PLN = 100 grosze): COD amount, shipment_value, customs unit prices, price and price_gross of the price table. Order details carry price and price_gross as text; read them with care, the documentation describes them as grosze but its example shows złoty with decimals (9.92). Order times are Polish local time, tracking times ISO 8601 in UTC. Service ids differ per account: always take them from the service structure.
Errors: Apaczka answers every call with HTTP 200 and puts the real outcome in the body: status 200 is success, anything else is an error with a Polish or English message. The connector turns such answers into failed calls with that message. "App not found." means the app_id is wrong (or a sandbox key); "Invalid signature" means the app_secret does not match it, or the clock of the server is far off. Apaczka does not publish rate limits; avoid polling tracking in a tight loop.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in Cursor
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
Cursor reads MCP servers from ~/.cursor/mcp.json. Add this entry:
{
"mcpServers": {
"anythingmcp": {
"url": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of
YOUR_MCP_API_KEY. - Save the file and restart Cursor.
- Open Cursor → Settings → MCP and check that
anythingmcpis listed and connected. - Start chatting — the agent can now call the
Apaczkatools.
Available tools
| Tool | What it does |
|---|---|
apaczka_get_service_structure | Read the services available on your account: per service service_id, name, supplier (carrier), domestic (1) or international (0)… |
apaczka_get_order_valuation | Price a shipment without ordering it: returns price_table keyed by service_id with price (net) and price_gross, in grosze (1220 = 12.20… |
apaczka_list_points | List parcel points (lockers, PUDO points) of one carrier: per point foreign_address_id (the id to put on an address), type, subtype, name… |
apaczka_list_orders | List your orders, newest first: per order id, service_id, service_name, supplier, waybill_number, tracking_url, status (e.g. NEW)… |
apaczka_get_order | Read one order in full: supplier, service, waybill_number, pickup, tracking_url, status, the shipments with type, weight, dimensions and… |
apaczka_get_waybill | Download the shipping label (waybill) of an order: waybill is the document as base64 text and type its format (pdf). Decode the base64 to… |
apaczka_get_dispatch_code | Read the dispatch (drop-off) code of an order, which some carriers ask for when you hand the parcel in at a point: order_id and… |
apaczka_get_turn_in | Download the turn-in confirmation, one document listing several orders handed to the courier together: turn_in is the PDF as base64 text.… |
apaczka_get_pickup_hours | Read the courier pickup windows for a postal code and service: postal_code and hours, keyed by date (YYYY-MM-DD) with the windows per… |
apaczka_track_shipment | Tracking history of a shipment by its carrier waybill number (not the order id), newest event first: data[] with status (NEW, PICKUP… |
apaczka_send_order | Create (buy) a shipment order with the carrier: Apaczka charges the price to your account. Returns order with id, service_name… |
apaczka_cancel_order | Cancel an order while the carrier has not taken the parcel yet; afterwards Apaczka answers with an error. A cancelled order no longer… |
apaczka_order_pickup | Order a courier pickup for one existing order, for a fee. Only for DPD orders, and only when Apaczka support enabled pickups through the… |
apaczka_order_batch_pickup | Order one courier pickup for several existing orders, for a fee. All orders need the same sender address and the same service, the service… |
Example prompts
- "How much does a 5 kg parcel, 40 x 30 x 20 cm, from Warsaw 00-950 to Kraków 30-001 cost with each carrier?"
- "Find InPost lockers near postal code 50-001 Wrocław."
- "Track waybill 6A12345678901 and tell me its status."
- "Download the label of order 1234567."
- "When can a DPD courier pick up a parcel at postal code 61-001 tomorrow?"
FAQ
Where do the credentials come from? In the Apaczka panel (panel.apaczka.pl) with a business account: Ustawienia, API, create an API application and copy its app_id and app_secret. The secret only signs calls and never leaves the server; sandbox keys do not work here.
What does it cover? Available services and carriers, shipment prices, parcel points, your orders, labels as PDF, dispatch codes, turn-in confirmations, tracking and courier pickup hours across the carriers Apaczka resells (DPD, InPost, DHL, UPS, FedEx, Poczta Polska and others).
Which tools install switched off? apaczka_send_order, which buys the shipment and charges your account, apaczka_cancel_order, apaczka_order_pickup and apaczka_order_batch_pickup, which order a paid courier pickup. Switch them on on the connector page only if the AI should use them.
Does Cursor support custom MCP servers on the free tier? Yes — MCP is available on Hobby, Pro and Business plans.
Next steps
Was this guide helpful?