# PaidMCP — Deterministic UK & Global Compliance MCP Server > 100% deterministic, zero-LLM execution path backed by verified read-only SQLite snapshots. ## Service Metadata - **Base URL:** https://paidmcp-api-j7cpz2cyjq-nw.a.run.app - **Region:** europe-west2 - **Active Packs:** tariff, validate, sanctions, planning - **Snapshot Schema:** 1.0.0 - **Snapshot Built (UTC):** 2026-12-01T16:39:25Z - **Snapshot SHA-256:** e01887aeac1c50189b49705d9c8f27b7cd49260da109fd6a6ae99fb92e94493b ## Endpoints - `GET https://paidmcp-api-j7cpz2cyjq-nw.a.run.app/` — Human-readable service overview, tool catalog & MCP client quickstart - `GET https://paidmcp-api-j7cpz2cyjq-nw.a.run.app/health` — Unauthenticated liveness & snapshot checksum metadata - `GET https://paidmcp-api-j7cpz2cyjq-nw.a.run.app/llms.txt` — Machine-readable discovery manifest (Stripe Directory & agent hosts) - `POST https://paidmcp-api-j7cpz2cyjq-nw.a.run.app/mcp` — Streamable HTTP MCP transport (`initialize`, `ping`, `tools/list` are free; `tools/call` is payment-gated via HTTP 402) ## Payment Rails (HTTP 402 on `tools/call`) - **x402 (Crypto Micropayments):** USDC on `base` to `0x626ea8CC2C2F130303866cc5E37132e4F672c5Ea` via facilitator `https://x402.org/facilitator`. Handshake headers: `PAYMENT-REQUIRED` -> `PAYMENT-SIGNATURE` -> `PAYMENT-RESPONSE`. - **Stripe Machine Payments Protocol (MPP):** Profile `profile_61VrJXLVaIonuv81AA6VrJXL0rE9Pf2juNMbRtUpsEsy` ($0.50 USD minimum per card charge; use bulk tools at $0.75-$1.00 or x402 for $0.03-$0.07 micropayments). Handshake headers: `WWW-Authenticate` (Shared Payment Token) -> `Authorization` -> `Payment-Receipt`. Browser requests (`Accept: text/html`) redirect to `https://buy.stripe.com/3cI5kwg0xfvD8i89APcs800`. ## Deterministic Tools ### `freight_landed_cost` ($0.07 USD/call | pack: `tariff`) - **Description:** Deterministic UK/US landed cost calculator in integer minor units covering CIF/FOB valuation, £135 UK de minimis, VAT, preferential rates, Section 301/232 stacking, US MPF, and Ocean HMF. - **Required Inputs:** `originIso2, destination, code, customsValue, freightCost, insuranceCost, currency, incoterm, transportMode` ### `freight_landed_cost_batch` ($1.00 USD/call | pack: `tariff`) - **Description:** Bulk deterministic UK/US landed cost calculator for up to 20 shipments in one call ($1.00 flat = $0.05/shipment at max batch; Stripe MPP and x402 native) with per-row error isolation. - **Required Inputs:** `items` ### `gpdo_class_a_rear_extension` ($0.03 USD/call | pack: `planning`) - **Description:** Deterministic England GPDO 2015 (SI 2015/596 Schedule 2, Part 1, Class A) rear and side extension permitted development and Prior Approval calculator. - **Required Inputs:** `dwellingType, storeys, rearProjectionM, maxHeightM, eavesHeightM, distanceToBoundaryM, existingHouseRidgeHeightM, existingHouseEavesHeightM, originalCurtilageAreaSqm, existingExtensionsFootprintSqm, proposedFootprintSqm, isArticle23Land, isListedBuilding, extendsBeyondSideWall` ### `gpdo_outbuilding_and_loft_check` ($0.06 USD/call | pack: `planning`) - **Description:** Deterministic England GPDO 2015 (SI 2015/596 Schedule 2, Part 1, Class E outbuildings and Class B roof/loft additions) statutory compliance engine. - **Required Inputs:** `assessmentType, dwellingType, isArticle23Land, isListedBuilding` ### `sanctions_screen_batch` ($0.75 USD/call | pack: `sanctions`) - **Description:** Bulk deterministic UK FCDO and US OFAC SDN screening for up to 25 entity names in one call ($0.75 flat = $0.03/entity at max batch; Stripe MPP and x402 native) with per-entity match capping and deduplication. - **Required Inputs:** `entities, entityType, minMatchScore, sources` ### `sanctions_screen_entity` ($0.03 USD/call | pack: `sanctions`) - **Description:** Deterministically screen an individual, entity, or vessel name against local UK FCDO Sanctions and US OFAC SDN snapshot records using NFKD folding, token sorting, Levenshtein, and Jaro-Winkler similarity. - **Required Inputs:** `queryName, entityType, minMatchScore, sources` ### `tariff_lookup` ($0.03 USD/call | pack: `tariff`) - **Description:** Deterministic UK Global Online Tariff (10-digit commodity) and USITC HTS lookup returning MFN duty, VAT, preferential rates, and Section 301/232 remedies. - **Required Inputs:** `jurisdiction, code` ### `tariff_lookup_batch` ($0.75 USD/call | pack: `tariff`) - **Description:** Bulk deterministic UK Global Online Tariff and USITC HTS lookup for up to 25 commodity codes in one call ($0.75 flat = $0.03/code at max batch; Stripe MPP and x402 native). - **Required Inputs:** `items` ### `uk_entity_compliance_check` ($0.07 USD/call | pack: `sanctions`) - **Description:** Cross-check a UK Companies House entity and optional officers against UK FCDO and US OFAC sanctions lists and statutory insolvency/status flags, returning a deterministic PASS, REVIEW, or BLOCK decision. - **Required Inputs:** `officerNames, minMatchScore` ### `validate_fhir_ukcore` ($0.06 USD/call | pack: `validate`) - **Description:** Deterministic HL7 FHIR R4 and NHS England UK Core validator checking Mod-11 NHS Numbers, ODS codes, SDS/GMC/NMC practitioner identifiers, and SNOMED CT/dm+d codings. - **Required Inputs:** `resource, profile` ### `validate_openapi_31` ($0.03 USD/call | pack: `validate`) - **Description:** Deterministic OpenAPI 3.1.0 validator using JSON Schema Draft 2020-12 plus duplicate operationId, local $ref pointer, 2xx response, and security scheme checks. - **Required Inputs:** `document, strictSecurity`