{
  "openapi": "3.0.1",
  "info": {
    "title": "UK & US Statutory Compliance & Property Tribunal MCP Server",
    "description": "Deterministic 15-tool UK, EU & US compliance & property tribunal MCP server: UK RRO precedents, OFSI/OFAC sanctions, EU VIES/UK VAT, Companies House/Charity & LEI, ONS Postcodes, RDAP/DMARC hygiene, FDA/CPSC/NHTSA recalls, S106/MR01 PDF clauses & MCP trust.",
    "version": "0.3",
    "x-build-id": "QpgzMZ9k2Cotb2ZNZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/technoplusit~compliance-intel-mcp/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-technoplusit-compliance-intel-mcp",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/technoplusit~compliance-intel-mcp/runs": {
      "post": {
        "operationId": "runs-sync-technoplusit-compliance-intel-mcp",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/technoplusit~compliance-intel-mcp/run-sync": {
      "post": {
        "operationId": "run-sync-technoplusit-compliance-intel-mcp",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "action": {
            "title": "Screening Action",
            "enum": [
              "uk_sanctions_and_company_screen",
              "health_and_provenance",
              "verify_eu_uk_vat",
              "lookup_uk_postcode_and_council",
              "domain_rdap_and_dns_hygiene",
              "bulk_email_and_domain_hygiene",
              "audit_mcp_server_trust",
              "lint_apify_mcp_input_schema",
              "email_security_posture",
              "screen_uk_sanctions",
              "screen_us_ofac_sanctions",
              "lookup_uk_public_registries",
              "us_regulatory_recall_and_enforcement_check",
              "extract_uk_scanned_pdf_clauses",
              "search_uk_property_tribunal_rro_precedents"
            ],
            "type": "string",
            "description": "Select the full unified compliance screen or an individual deterministic check.",
            "default": "uk_sanctions_and_company_screen"
          },
          "entity_name": {
            "title": "Entity / Individual / Product Name",
            "type": "string",
            "description": "Organization, company, charity, person, or product name to screen.",
            "default": "Oxfam"
          },
          "domain": {
            "title": "Domain Name (for RDAP, Email & DNS Security Posture)",
            "type": "string",
            "description": "Optional domain to audit RDAP, MX, SPF, DMARC, and CAA records over Cloudflare/Google DNS-over-HTTPS.",
            "default": "oxfam.org.uk"
          },
          "domains": {
            "title": "Batch Domains List (for bulk_email_and_domain_hygiene)",
            "type": "array",
            "description": "Optional list of up to 100 domains for batch DNS/DMARC hygiene screening (charged_results_only=True).",
            "items": {
              "type": "string"
            }
          },
          "input_schema_json": {
            "title": "Apify .actor/input_schema.json Payload (for lint_apify_mcp_input_schema)",
            "type": "string",
            "description": "Optional JSON string of an Apify .actor/input_schema.json file to lint and auto-fix for the MCP required+default silent drop bug."
          },
          "company_or_charity_number": {
            "title": "UK Charity or Companies House Number",
            "type": "string",
            "description": "Optional UK Charity registration number (e.g. 202918) or UK Companies House number (e.g. 00612172).",
            "default": "202918"
          },
          "vat_number": {
            "title": "EU or UK VAT Number (e.g. IE6388047V or GB999999973)",
            "type": "string",
            "description": "Optional EU Member State, Northern Ireland (XI), or UK (GB) VAT number to verify via EU VIES REST API / HMRC Modulo-97."
          },
          "uk_postcode": {
            "title": "UK Postcode (for ONS/OS Council & Parish Lookup)",
            "type": "string",
            "description": "Optional UK postcode (e.g. SW1A 1AA or OX14 4AB) to resolve Local Authority Council, Civil Parish, Ward, and GSS codes."
          },
          "include_rdap": {
            "title": "Include Live RDAP Registration Metadata",
            "type": "boolean",
            "description": "Fetch live IANA/Nominet RDAP registration, expiration, status flags, and nameservers alongside DNS security checks.",
            "default": false
          },
          "include_us_ofac": {
            "title": "Include US Treasury OFAC SDN Screen",
            "type": "boolean",
            "description": "Screen entity against the live US Treasury OFAC SDN list.",
            "default": true
          },
          "include_us_recalls": {
            "title": "Include US FDA / CPSC / NHTSA Recall & Enforcement Screen",
            "type": "boolean",
            "description": "Screen entity/product against live US FDA openFDA, CPSC SaferProducts, and NHTSA recall APIs.",
            "default": false
          },
          "vehicle_make": {
            "title": "Vehicle Make (Optional NHTSA Check)",
            "type": "string",
            "description": "Optional vehicle manufacturer make for NHTSA recall lookup (e.g. Ford)."
          },
          "vehicle_model": {
            "title": "Vehicle Model (Optional NHTSA Check)",
            "type": "string",
            "description": "Optional vehicle model for NHTSA recall lookup (e.g. F-150)."
          },
          "vehicle_year": {
            "title": "Vehicle Model Year (Optional NHTSA Check)",
            "type": "integer",
            "description": "Optional vehicle model year for NHTSA recall lookup (e.g. 2023)."
          },
          "max_results": {
            "title": "Max Results Per Source",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of matched records to return per data source (clamped 1..50).",
            "default": 5
          },
          "pdf_url": {
            "title": "PDF URL (for extract_uk_scanned_pdf_clauses)",
            "type": "string",
            "description": "Optional public URL of a UK Section 106 Deed, Companies House MR01 Charge PDF, or Charity TAR PDF to extract clauses from."
          },
          "raw_text": {
            "title": "Raw Deed / Clause Text or Base64 PDF (for extract_uk_scanned_pdf_clauses)",
            "type": "string",
            "description": "Optional raw legal clause text or document excerpt to analyze for S106 obligations, MR01 negative pledges, and Charity Examiner qualifications."
          },
          "region": {
            "title": "UK Tribunal Region (for search_uk_property_tribunal_rro_precedents)",
            "type": "string",
            "description": "Optional UK First-tier Tribunal Property Chamber region filter (e.g. London, Southern, Midlands, Northern, Eastern, or all)."
          },
          "offence_type": {
            "title": "RRO Offence Type Filter (for search_uk_property_tribunal_rro_precedents)",
            "type": "string",
            "description": "Optional Housing Act / Renters' Rights Act offence filter (e.g. HMO, Selective Licensing, Unlawful Eviction, or all)."
          },
          "mitigation": {
            "title": "RRO Mitigation Factor Filter (for search_uk_property_tribunal_rro_precedents)",
            "type": "string",
            "description": "Optional mitigation factor filter (e.g. utilities_deducted, letting_agent_reliance, financial_hardship, prompt_remediation, or all)."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}