# Postbot — physical mail for AI agents (Czech Republic) > Send a real paper letter in the Czech Republic from an AI agent, CLI, or the > web. We print it, envelope it, and Česká pošta delivers it. Ordinary or > registered (doporučené) with a tracking number (podací číslo). ## Homepage - [Czech](https://postbot.cz/) - [English](https://postbot.cz/en/) ## Connect (agents) - Hosted MCP server (no install): add this URL to your agent as a remote MCP server (Streamable HTTP): `https://postbot.cz/mcp` - Claude / ChatGPT / Cursor: "Add MCP server" -> paste the URL. - initialize and tools/list work before sign-in; tools/call needs OAuth sign-in. - [MCP server card](https://postbot.cz/.well-known/mcp.json) - Self-host (stdio, Node.js 22+, your own Česká pošta DopisOnline account): `npx -y @postbotcz/mcp` (setup and env vars in the npm package README) - Human-readable setup guide: [pro-agenty (cs)](https://postbot.cz/pro-agenty) / [agents (en)](https://postbot.cz/en/agents) — same 3-step recipe as above, with copy-paste install snippets per client and a "what is /mcp" explainer. ## CLI - Install: `npm i -g @postbotcz/cli` (or `bun add -g @postbotcz/cli`) - Use: `posta send letter.md --to-name "Jan Novák" --to-street "Dlouhá" --to-house "5" --to-city "Praha" --to-zip "110 00"` ## Web (humans) - Send a letter: [poslat-dopis (cs)](https://postbot.cz/poslat-dopis) / [send-letter (en)](https://postbot.cz/en/send-letter) — write or upload a PDF, preview the exact render, pay from 50 CZK. The in-page WebMCP tools prepare_letter and send_letter_cz are available on these pages for a browser-based agent to drive directly. The homepage (/ and /en/) registers send_letter_cz and open_send_letter, which opens this form. ## Developer docs - Human-readable REST + CLI + self-host MCP reference: [pro-vyvojare (cs)](https://postbot.cz/pro-vyvojare) / [developers (en)](https://postbot.cz/en/developers). ## REST - [OpenAPI 3.1 spec](https://postbot.cz/openapi.json): request and response schemas, errors, rate limits. - Base URL: https://postbot.cz/api/v1 (the version is in the path; the unversioned /api/... paths serve the same v1). - POST /api/v1/send (funded send; JSON body = send_letter_cz input; optional Idempotency-Key header) - POST /api/v1/preview (render + firm price, no side effects; returns pdfBase64) - POST /api/v1/topup (buy prepaid credit; body {"amountCzk": 500}) - POST /api/v1/oneoff (pay-per-letter, no account; returns a payUrl) - GET /api/v1/order-status?order= (public status of one Order, no auth) - GET /api/v1/orders?limit=<1-100>&cursor= (your Orders, newest first; API key; returns {data, next_cursor, has_more}; pass next_cursor back as cursor for the next page) ## Funding (every send must be funded first — two rails, pick per situation) - FIRST LETTER, NO ACCOUNT (fastest): just call send. A VALID but unauthenticated or unfunded send returns HTTP 402 whose body carries `rails` (a malformed letter still returns 401/400 — the rails only appear once the letter renders): - `rails.oneoff.payUrl` — a ready Stripe pay-link for THAT exact letter (min 50 CZK). Hand it to your human; the letter mails automatically once paid. No account, no top-up, nothing to cancel. - `rails.credit.topupUrl` — the prepaid-credit page for repeat sends. (You can also quote directly: POST /api/oneoff with the letter JSON -> {payUrl}.) Anonymous `/api/send` and `/api/oneoff` accept `pdfBase64`, `markdown`, or `text` only — `pdfUrl` (server-side fetch) is rejected on these paths for SSRF protection; use it only on an authenticated, funded send. - REPEAT SENDS (agents with volume): get an API key, top up prepaid CZK credit (min 500 CZK), auth each request with `Authorization: Bearer pb_...`. Each send atomically debits the balance. A low balance returns 402 with {balance, needed, topupUrl, rails} — the same one-off pay-link works as a fallback. Enable auto-recharge on /account and the agent never blocks on funding. - Humans on the web: sign in with Google to hold prepaid credit, or pay per letter one-off (card) with no account. - We render + price the letter before charging, so the amount is always known up front; a small margin covers ČP's real-price variance. ## Tools - send_letter_cz: PDF/markdown/text + Czech address -> printed, mailed letter. Choose ordinary (obycejne) or registered (doporucene). Registered needs a sender. Over REST, a FIRST send needs no funded key: a valid unauthenticated POST /api/v1/send returns the one-off pay-link (above). COMPLETING sends without that per-letter payment needs a funded API key (prepaid credit); unfunded calls return 402 with both rails. On the hosted /mcp, tools/call needs OAuth sign-in with the letters:send scope (a pb_ API key does not work there) and spends prepaid credit; an unfunded account gets insufficient_credit with both rails. - get_letter_status: track a sent letter by its ČP order code. On the hosted /mcp it needs OAuth sign-in with the letters:read scope. - list_letters (hosted /mcp only): page through the signed-in account's letters, newest first, with limit and cursor. Needs OAuth sign-in with the letters:read scope. Over REST the same page is GET /api/v1/orders with an API key. ## Pricing (estimate, CZK; postage VAT-exempt, print incl. VAT) - Human-readable pricing page (both rails, the price formula, Česká pošta's tariff): [cenik (cs)](https://postbot.cz/cenik) / [pricing (en)](https://postbot.cz/en/pricing) - Ordinary letter <=50 g: ~31 CZK. Registered <=50 g: ~84 CZK. Print: first sheet ~3.27 CZK, each additional ~1.05 CZK. - Postage rises by weight tier as sheets add up (never undercharged). - Charge (prepaid credit) = ceil(max(cost + 8 CZK, cost * 1.10)) → ordinary 43 CZK, registered 96 CZK. - One-off card payment = charge + 7 CZK (our allowance for the fixed part of the card fee), min 50 CZK → ordinary 50 CZK, registered 103 CZK. Credit is cheaper because that fixed fee is paid once per top-up, not once per letter. ČP's real price varies; the margin covers it. ## Guides (Czech, human-readable explainers) - [Index of all Czech guides](https://postbot.cz/navody) - [Send a letter without visiting a post office](https://postbot.cz/jak-poslat-dopis-bez-posty) - [Send a registered letter online (tracking number)](https://postbot.cz/jak-poslat-doporuceny-dopis-online) - [Letter prices 2026 (online vs. counter)](https://postbot.cz/kolik-stoji-dopis-online) - [Registered letter prices 2026 + provider comparison (ČP counter, DopisOnline, Listonoška, Postbot)](https://postbot.cz/kolik-stoji-doporuceny-dopis) - [How to fill in the Czech posting form (podací lístek)](https://postbot.cz/jak-vyplnit-podaci-listek) - [What a return receipt (dodejka) is and when to use it](https://postbot.cz/co-je-dodejka) - [E-mail vs. data box vs. hybrid mail](https://postbot.cz/jak-poslat-dopis-elektronicky) ## Guides (English) - [Index of English guides](https://postbot.cz/en/guides) - [Send a physical letter via API or MCP (for agent builders)](https://postbot.cz/en/send-physical-letter-api) ## Letter templates (Czech law, Czech only) - [Index](https://postbot.cz/vzory) — each page holds the full template text, the statute with links to its text, deadlines, and delivery advice. Notices (výpověď) need the sender's handwritten signature (NOZ § 561); a Postbot Letter is printed without one, and each page says so. - [Tenant's lease notice (výpověď z nájmu bytu)](https://postbot.cz/vzory/vypoved-z-najmu) - [Pre-action demand (předžalobní výzva, § 142a OSŘ)](https://postbot.cz/vzory/predzalobni-vyzva) - [Insurance / motor liability cancellation (výpověď pojištění, povinného ručení)](https://postbot.cz/vzory/vypoved-pojistne-smlouvy) - [Employee's resignation (výpověď z pracovního poměru)](https://postbot.cz/vzory/vypoved-z-pracovniho-pomeru) - Prefill the send form with a template: https://postbot.cz/poslat-dopis?vzor= (keys: the slugs above) ## Use cases - Notice letter (contract termination — carrier, energy, insurance, lease): [cs](https://postbot.cz/pripady-uziti/vypoved) / [en](https://postbot.cz/en/use-cases/notice-letter) - Complaint letter (goods or service, written warranty claim): [cs](https://postbot.cz/pripady-uziti/reklamace) / [en](https://postbot.cz/en/use-cases/complaint-letter) - Official letter (appeal, request, or sworn statement to an authority): [cs](https://postbot.cz/pripady-uziti/uredni-dopis) / [en](https://postbot.cz/en/use-cases/official-letter) - Agent-mailed invoices (AI agent sends paper invoices via MCP/API): [cs](https://postbot.cz/pripady-uziti/agent-fakturace) / [en](https://postbot.cz/en/use-cases/agent-invoicing) - Agent-mailed payment reminders (paper fallback when email fails): [cs](https://postbot.cz/pripady-uziti/agent-upominky) / [en](https://postbot.cz/en/use-cases/agent-reminders) ## Legal - [Terms of Service (cs, authoritative)](https://postbot.cz/obchodni-podminky) - [Terms of Service (en, informative)](https://postbot.cz/en/terms) - [Privacy Policy (cs, authoritative)](https://postbot.cz/ochrana-osobnich-udaju) - [Privacy Policy (en, informative)](https://postbot.cz/en/privacy) - Use of the API or MCP with an issued key constitutes acceptance of the current Terms (https://postbot.cz/obchodni-podminky). ## Operator (Provozovatel) - IamLadi s.r.o., IČO 09877169, DIČ CZ09877169 - Fryčovice 332, 739 45, Czech Republic - Registered in the Commercial Register kept by the Regional Court in Ostrava, Section C, Insert 84636 - ARES: https://ares.gov.cz/ekonomicke-subjekty?ico=09877169 ## Contact - ladi@amentistudio.com - Contact page (what to include in a support request, where to check a Letter's status): https://postbot.cz/kontakt (cs) / https://postbot.cz/en/contact (en) - About Postbot and the Operator: https://postbot.cz/o-nas (cs) / https://postbot.cz/en/about (en)