{"serverInfo":{"name":"simpig","title":"SimPig eSIMs","version":"0.1.0"},"description":"Travel eSIMs for 200+ countries, with no sign-in: the catalogue of plans, an order started for a buyer’s email (its answer is a pay link for the buyer), and a paid order’s install details read with its order token.","protocolVersion":"2025-06-18","supportedProtocolVersions":["2025-06-18","2025-03-26","2024-11-05"],"endpoint":"https://simpig.com/api/mcp","transport":{"type":"streamable-http","endpoint":"https://simpig.com/api/mcp"},"capabilities":{"tools":{"listChanged":false}},"authentication":{"required":false,"schemes":[]},"instructions":"SimPig sells prepaid travel eSIMs. The tools cover the catalogue (search_destinations, list_plans, plans_covering, get_plan) and one order (start_order, order_status). An order is started with the buyer’s real email address (a placeholder such as test@… or example.com is refused) and a productId; its payUrl is a Stripe page where the buyer pays; orderToken is returned once, by start_order, and is what order_status reads the order with; a fulfilled order carries the eSIM’s install details, which are also emailed to the buyer. No sign-in, account or API key exists for any of this. Every price carries its currency and is in that currency’s minor unit (cents; whole yen for JPY). The `currency` argument selects one of USD, AUD, NZD, EUR, GBP, CAD, SGD, JPY on the catalogue tools and on start_order; without it, the shop currency applies.","documentationUrl":"https://simpig.com/agents.md","tools":[{"name":"search_destinations","title":"Search destinations","annotations":{"title":"Search destinations","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"Where SimPig sells eSIMs: countries and regions with the number of plans and the cheapest price. `query` filters by a country name, code or alias such as \"Bali\". Every price carries its `currency` and is in that currency’s minor unit (cents; whole yen for JPY). `currency` prices in another (USD, AUD, NZD, EUR, GBP, CAD, SGD, JPY); one not on offer answers in the shop currency.","inputSchema":{"type":"object","properties":{"query":{"type":"string","maxLength":60},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"A currency to price in (USD, AUD, NZD, EUR, GBP, CAD, SGD, JPY). Without it, or with one not on offer, the shop currency."}},"additionalProperties":false}},{"name":"list_plans","title":"List plans for a destination","annotations":{"title":"List plans for a destination","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"The plans for one destination (code or slug, e.g. \"JP\" or \"japan\"): data volume in bytes, validity in days, price in minor units, whether the plan is regional (covers more countries), `coverage`: the networks in the country asked about, with its ISO 3166 alpha-2 and alpha-3 codes, `breakout`: where its traffic reaches the internet, and `prices`: the plan in every currency on offer, each what that currency’s checkout charges. A plan’s `productId` is what start_order takes.","inputSchema":{"type":"object","properties":{"destination":{"type":"string","minLength":2,"maxLength":48,"pattern":"^[A-Za-z0-9_-]{2,48}$"},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"A currency to price in (USD, AUD, NZD, EUR, GBP, CAD, SGD, JPY). Without it, or with one not on offer, the shop currency."}},"required":["destination"],"additionalProperties":false}},{"name":"plans_covering","title":"Find plans for a multi-stop trip","annotations":{"title":"Find plans for a multi-stop trip","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"For a multi-stop trip (1–8 ISO codes such as [\"JP\",\"KR\",\"TH\"]): `covering` is every plan whose coverage includes all of them (one eSIM for the whole trip); `singles` is each country’s own plans, one plan per country where nothing covers them all. A covering plan is a single eSIM and a single install.","inputSchema":{"type":"object","properties":{"destinations":{"type":"array","items":{"type":"string","minLength":2,"maxLength":2,"pattern":"^[A-Za-z]{2}$"},"minItems":1,"maxItems":8},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"A currency to price in (USD, AUD, NZD, EUR, GBP, CAD, SGD, JPY). Without it, or with one not on offer, the shop currency."}},"required":["destinations"],"additionalProperties":false}},{"name":"get_plan","title":"Get a plan","annotations":{"title":"Get a plan","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"One plan by productId, with `coverage`: every country it works in (ISO 3166 alpha-2 and alpha-3) and the networks there, with their generation; `breakout`: where its traffic reaches the internet; `prices`: the plan in every currency on offer.","inputSchema":{"type":"object","properties":{"productId":{"type":"string","format":"uuid"},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"A currency to price in (USD, AUD, NZD, EUR, GBP, CAD, SGD, JPY). Without it, or with one not on offer, the shop currency."}},"required":["productId"],"additionalProperties":false}},{"name":"start_order","title":"Start an order","annotations":{"title":"Start an order","readOnlyHint":false,"destructiveHint":false,"idempotentHint":false,"openWorldHint":true},"description":"Starts an order for a buyer’s email and a productId. The answer has payUrl (Stripe’s page, where the buyer pays by card, Apple Pay or Google Pay), statusUrl, and orderToken, which is returned only in this answer and is what order_status takes. Nothing is charged until the buyer pays. A repeated idempotencyKey returns the same order instead of a second one. callbackUrl (https, optional) is POSTed {ref, status, statusUrl} when the eSIM is ready. poolCode (optional; the six-character code of a mates link, simpig.com/pool/<code>) buys at mates rates: one eSIM for that link’s trip, the card held at full price, the discounted price taken when the link closes. startPool: true (optional) starts a new mates link with this purchase instead.","inputSchema":{"type":"object","properties":{"email":{"type":"string","format":"email","description":"The buyer’s real email address, one that receives mail: the install details are emailed here. A placeholder address (test@…, example.com and other reserved or made-up names) is refused."},"productId":{"type":"string","format":"uuid"},"qty":{"type":"integer","minimum":1,"maximum":5,"default":1},"callbackUrl":{"type":"string","format":"uri","maxLength":2048,"description":"https, to a public host. POSTed { ref, status, statusUrl } when the order is fulfilled; never the install details."},"idempotencyKey":{"type":"string","minLength":8,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"},"poolCode":{"type":"string","pattern":"^[A-HJ-NP-Z2-9]{6}$","description":"The code of a mates link to buy from; qty is then 1."},"displayName":{"type":"string","maxLength":20,"description":"The name shown on the mates link, with poolCode or startPool."},"startPool":{"type":"boolean","description":"Starts a mates link with this purchase, hosted by the buyer. The link is simpig.com/pool/<order.pool.code>."},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$","description":"The currency to price and charge in, the one the plan was shown in. The answer’s order.currency says which was used."},"payLinkEmail":{"type":"boolean","description":"false: the pay link is not emailed (for a buyer already on the pay page). By default the buyer is also emailed the link a minute and a half after the order starts, unless it is paid by then."},"watchKey":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,64}$","description":"A watch key (16 to 64 characters of A–Z a–z 0–9 - _): whoever holds it can read this order’s status, and only its status, at GET /api/v1/agent/watch/{key}."},"partner":{"type":"string","pattern":"^(?!.*--)[A-Za-z0-9][A-Za-z0-9-]{1,18}[A-Za-z0-9]$","description":"A Piggyback partner code (simpig.com/piggyback): the partner who referred the buyer. The partner earns up to 20 % of what the buyer pays, and may pass part of it to the buyer as a discount (then order.totalMinor is lower). A code that is nobody’s is ignored."},"partnerTyped":{"type":"boolean","description":"True on an order from the shop’s own page whose partner code was typed at checkout."},"partnerSub":{"type":"string","pattern":"^[A-Za-z0-9_-]{1,64}$","description":"With partner only: the partner’s own click id, returned to them on the sale."}},"required":["email","productId"],"additionalProperties":false}},{"name":"order_status","title":"Check an order","annotations":{"title":"Check an order","readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"description":"The order by ref and orderToken: status (pending_payment, paid, provisioning, fulfilled, partially_fulfilled, failed, refunded, cancelled, expired), payUrl while unpaid, and once fulfilled esims[].install with iosInstallUrl / androidInstallUrl (one tap), ac (the LPA string; a QR code of it installs the eSIM) and the manual SM-DP+ address, matching id and confirmation code. For an order in a pool: pool (code, status, closesAt, tierBps, membersPaid), captureState (authorised while the card is held) and paidMinor once the pool has closed and the final price was taken.","inputSchema":{"type":"object","properties":{"ref":{"type":"string","minLength":8,"maxLength":8,"pattern":"^[0-9A-Za-z]{8}$"},"orderToken":{"type":"string","minLength":43,"maxLength":43,"pattern":"^[A-Za-z0-9_-]{43}$"}},"required":["ref","orderToken"],"additionalProperties":false}}]}