{"openapi":"3.1.0","info":{"title":"CQC Provider Regulatory Decision Layer","version":"0.6.0","description":"Remote MCP decision service plus a narrow HTTP x402 compatibility surface for the two primary commercial entry points. Both HTTP routes execute the same deterministic provider engine as MCP.","x-cqc-links":{"pricing":"https://cqc.regevidencehub.com/pricing","privacy":"https://cqc.regevidencehub.com/privacy","terms":"https://cqc.regevidencehub.com/terms","support":"https://cqc.regevidencehub.com/support"}},"servers":[{"url":"https://cqc.regevidencehub.com"}],"paths":{"/":{"get":{"summary":"CQC Agent/MCP decision-service landing page","responses":{"200":{"description":"Human and crawler-readable service entry points"}}}},"/health":{"get":{"summary":"Health check","responses":{"200":{"description":"Service healthy"}}}},"/statutory-notification-check":{"get":{"summary":"Human-facing statutory-notification readiness and checkout-intent page","responses":{"200":{"description":"Human-readable structured form and synthetic report preview"}}}},"/guides/cqc-statutory-notification-check":{"get":{"summary":"CQC statutory-notification buyer guide","responses":{"200":{"description":"Useful buyer-facing guide with a link to the existing human workflow"}}}},"/metrics":{"get":{"summary":"Privacy-minimal aggregate MCP commercial metrics","description":"24h/7d aggregate tool/payment funnel metrics with owned, declared-external and unattributed payment traffic separated. Client software labels are not exposed.","responses":{"200":{"description":"Aggregate usage metrics"}}}},"/mcp":{"post":{"summary":"MCP Streamable HTTP endpoint","description":"Use MCP tools/list and tools/call. Paid decision tools enforce x402 v2.","responses":{"200":{"description":"MCP response"}}}},"/.well-known/x402":{"get":{"summary":"Public x402 payment metadata","responses":{"200":{"description":"x402 metadata"}}}},"/pricing":{"get":{"summary":"CQC public pricing surface","responses":{"200":{"description":"Public pricing page"}}}},"/privacy":{"get":{"summary":"CQC public privacy surface","responses":{"200":{"description":"Public privacy page"}}}},"/terms":{"get":{"summary":"CQC public terms surface","responses":{"200":{"description":"Public terms page"}}}},"/support":{"get":{"summary":"CQC public support surface","responses":{"200":{"description":"Public support page"}}}},"/api/v1/registration-scope-preflight":{"post":{"operationId":"cqc-registration-scope-preflight","summary":"CQC registration-scope and regulated-activity preflight","description":"Use for a new or proposed England provider when registration need or regulated activities are uncertain. Returns deterministic evidence-linked findings and fails closed on incomplete or conflicting facts.","tags":["cqc","registration","regulated-activities","regulatory"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"V0.6 scope payload with decision-bearing TDDI, diagnostic and Personal care facts.\n\nThis subclasses the existing public payload so legacy callers remain compatible while\nthe MCP schema can expose newly material or previously under-modelled CQC scope facts\nwithout rewriting the legacy shared models module in this release.","properties":{"country":{"default":"England","description":"Country where the regulated activity is carried on; this decision layer covers England.","title":"Country","type":"string"},"service_type":{"description":"Short service category used to select relevant CQC regulated-activity rules, for example home_care, care_home, ambulance or gp.","title":"Service Type","type":"string"},"provides_personal_care":{"default":false,"title":"Provides Personal Care","type":"boolean"},"provides_accommodation_with_care":{"default":false,"title":"Provides Accommodation With Care","type":"boolean"},"accommodation_for_substance_misuse_treatment":{"default":false,"title":"Accommodation For Substance Misuse Treatment","type":"boolean"},"treats_disease_disorder_or_injury":{"default":false,"title":"Treats Disease Disorder Or Injury","type":"boolean"},"event_tddi_context":{"default":false,"description":"True when the TDDI scope question concerns health care or treatment delivered at an event site under the 2026-2027 CQC event-registration transition.","title":"Event Tddi Context","type":"boolean"},"event_tddi_professional_criterion_met":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For event-site TDDI: whether treatment is provided by/under supervision of a listed healthcare professional, a qualifying multidisciplinary team, or a qualifying social worker for mental-disorder treatment. Leave null when this professional-scope fact has not been established.","title":"Event Tddi Professional Criterion Met"},"event_tddi_assessment_date":{"description":"Date on which the event-site TDDI registration position should be assessed. Used for the staged CQC registration window that opens 7 September 2026 and regulatory enforcement that starts 6 December 2027.","format":"date","title":"Event Tddi Assessment Date","type":"string"},"provides_surgical_procedures":{"default":false,"title":"Provides Surgical Procedures","type":"boolean"},"provides_diagnostic_or_screening":{"default":false,"title":"Provides Diagnostic Or Screening","type":"boolean"},"provides_nursing_care":{"default":false,"title":"Provides Nursing Care","type":"boolean"},"provides_maternity_or_midwifery":{"default":false,"title":"Provides Maternity Or Midwifery","type":"boolean"},"provides_family_planning":{"default":false,"title":"Provides Family Planning","type":"boolean"},"provides_transport_triage_or_remote_medical_advice":{"default":false,"title":"Provides Transport Triage Or Remote Medical Advice","type":"boolean"},"ambulance_vehicle_designed_or_modified_to_transport_people_needing_treatment":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For ambulance/medical transport services: whether the vehicle is designed or modified to transport people who need treatment. Leave null if this vehicle-scope fact has not yet been assessed.","title":"Ambulance Vehicle Designed Or Modified To Transport People Needing Treatment"},"provides_mental_health_act_detained_assessment_or_treatment":{"default":false,"title":"Provides Mental Health Act Detained Assessment Or Treatment","type":"boolean"},"manages_blood_supply":{"default":false,"title":"Manages Blood Supply","type":"boolean"},"provides_termination_of_pregnancy":{"default":false,"title":"Provides Termination Of Pregnancy","type":"boolean"},"provides_slimming_clinic_services":{"default":false,"title":"Provides Slimming Clinic Services","type":"boolean"},"only_diagnoses_adhd_or_autism_without_treatment":{"default":false,"title":"Only Diagnoses Adhd Or Autism Without Treatment","type":"boolean"},"scope_facts_complete":{"default":false,"description":"Set true only when all material regulated-activity and exception facts relevant to this scope question have been supplied; otherwise the result may remain review-required.","title":"Scope Facts Complete","type":"boolean"},"only_housing_or_social_support_without_personal_care":{"default":false,"title":"Only Housing Or Social Support Without Personal Care","type":"boolean"},"directly_employed_personal_care_worker_under_service_user_control":{"default":false,"title":"Directly Employed Personal Care Worker Under Service User Control","type":"boolean"},"directly_employed_nurse_under_service_user_control":{"default":false,"title":"Directly Employed Nurse Under Service User Control","type":"boolean"},"introductory_agency_no_ongoing_role_in_care":{"default":false,"title":"Introductory Agency No Ongoing Role In Care","type":"boolean"},"fostering_agency_ofsted_personal_care":{"default":false,"title":"Fostering Agency Ofsted Personal Care","type":"boolean"},"ofsted_regulates_same_activity":{"default":false,"title":"Ofsted Regulates Same Activity","type":"boolean"},"family_or_personal_relationship_no_commercial_consideration":{"default":false,"title":"Family Or Personal Relationship No Commercial Consideration","type":"boolean"},"shared_lives_scheme":{"default":false,"title":"Shared Lives Scheme","type":"boolean"},"tddi_professional_criterion_met":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"Whether TDDI treatment is provided by or under the supervision of a healthcare professional listed by CQC, a qualifying multidisciplinary team that includes such a professional, or (for mental-disorder treatment) a qualifying social worker/team. Leave null when this scope fact has not been established.","title":"Tddi Professional Criterion Met"},"tddi_first_aid_only":{"default":false,"description":"True only when the activity is asserted to remain solely within CQC's first-aid boundary rather than regulated TDDI treatment. If true, also supply tddi_first_aid_disqualifier_present so the boundary can be checked.","title":"Tddi First Aid Only","type":"boolean"},"tddi_first_aid_disqualifier_present":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For an asserted first-aid-only service: whether any CQC first-aid boundary trigger is present, including clinical diagnosis, treatment requiring listed-professional judgement, interpretation of clinical investigations, prescribing prescription-only medicine, use of a PGD/PSD, ongoing healthcare management/treatment, or a listed professional relying on professional-registration skills/knowledge/judgement. Leave null if not assessed.","title":"Tddi First Aid Disqualifier Present"},"tddi_good_samaritan_exception_met":{"default":false,"description":"True only when the combined Good Samaritan facts are established: unexpected bystander assistance, voluntary, unpaid, and not provided in a contracted/commissioned/deployed professional capacity.","title":"Tddi Good Samaritan Exception Met","type":"boolean"},"diagnostic_scope_category":{"anyOf":[{"enum":["standard_in_scope","listed_simple_measurement_exception","hearing_assessment_exception","research_only_not_part_of_care","professional_imaging_exception","national_cancer_screening_exception","gym_fitness_screening_exception","listed_sample_handling_exception","hfea_licensed_activity_exception","genetic_test_exception","low_risk_procedure_with_other_registration","ai_software_supply_only","ai_independent_analysis_and_reporting","adhd_autism_diagnosis_only"],"type":"string"},{"type":"null"}],"default":null,"description":"Classify the diagnostic/screening facts against current CQC scope guidance. Use standard_in_scope for ordinary in-scope diagnostic/screening activity; use ai_independent_analysis_and_reporting where an AI supplier itself independently analyses/reports clinical images without independent provider review; use ai_software_supply_only only for supply of technology without carrying on the regulated activity. The listed *_exception values map to CQC's current explicit exclusions/exceptions. Leave null rather than guessing; the rule will fail closed to review.","title":"Diagnostic Scope Category"},"diagnostic_provided_as_part_of_tddi_treatment":{"default":false,"description":"True only when the diagnostic/screening procedure is provided as part of the same TDDI treatment rather than as a separate diagnostic service. Separate Diagnostic registration can be suppressed only when TDDI is actually established by the final scope decision.","title":"Diagnostic Provided As Part Of Tddi Treatment","type":"boolean"},"diagnostic_registered_for_other_regulated_activity":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For low_risk_procedure_with_other_registration only: whether the provider is already registered with CQC for another regulated activity. CQC treats specified low-risk procedures as part of that overall registration. Leave null when the existing-registration fact has not been established.","title":"Diagnostic Registered For Other Regulated Activity"},"personal_care_medicine_support_only":{"default":false,"description":"True only when the service solely administers, prompts or supervises medicines and does not provide any task within CQC's definition of Personal care. CQC says medicine support alone does not require Personal care registration.","title":"Personal Care Medicine Support Only","type":"boolean"},"personal_care_prison_manager_exception_met":{"default":false,"description":"True only when the provider itself manages a prison or similar custodial establishment (other than the specified Mental Health Act hospital case) and provides Personal care to detained people there. This exception does not apply to an external domiciliary/homecare agency delivering care inside the prison.","title":"Personal Care Prison Manager Exception Met","type":"boolean"},"personal_care_all_provided_as_part_of_tddi_treatment":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"When Personal care and TDDI are both asserted: whether all Personal care covered by this decision is delivered as part of the same TDDI treatment. True permits the TDDI overlap; false means separate Personal care remains required for care delivered to people not receiving that treatment; leave null rather than assuming the overlap.","title":"Personal Care All Provided As Part Of Tddi Treatment"},"personal_care_also_provided_outside_accommodation_activity":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"When Personal care and Accommodation for persons who require nursing or personal care are both asserted: whether the provider also supplies Personal care separately in places where people live outside that accommodation activity (for example in their own homes). True requires separate Personal care registration; false allows the care-home overlap; leave null when this material boundary has not been established.","title":"Personal Care Also Provided Outside Accommodation Activity"},"direct_employment_worker_operates_through_own_company":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"When relying on a directly-employed Personal care or Nursing care exception: whether the worker or nurse now operates through their own company rather than remaining directly employed by the person/related third party. CQC says the direct-employment exception does not continue automatically in that company arrangement. Leave null when this material boundary has not been established.","title":"Direct Employment Worker Operates Through Own Company"},"direct_employment_care_provided_overnight_in_worker_own_home":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"When relying on a directly-employed Personal care or Nursing care exception: whether nursing/personal care is provided overnight in the worker's or nurse's own home. CQC identifies this as Accommodation for persons who require nursing or personal care, subject to the Shared Lives boundary. Leave null when not established.","title":"Direct Employment Care Provided Overnight In Worker Own Home"},"ofsted_regulated_activity_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"When ofsted_regulates_same_activity is true and more than one CQC regulated activity is asserted, list the exact CQC activity identifiers for the activity or activities that are the same activity regulated by Ofsted. CQC's exemption applies only to those same activities; separate health care remains subject to CQC registration. Leave null when the mapping has not been established so the decision fails closed to REVIEW.","title":"Ofsted Regulated Activity Ids"}},"required":["service_type"],"title":"ScopeDecisionInput","type":"object"},"example":{"country":"England","service_type":"home_care","provides_personal_care":true,"scope_facts_complete":true}}}},"responses":{"200":{"description":"Evidence-linked deterministic registration-scope result."},"402":{"description":"Payment Required. Inspect the runtime x402 v2 PAYMENT-REQUIRED header for the authoritative chain, asset, amount and payment requirements."},"422":{"description":"Invalid request."}}}},"/api/v1/statutory-notification-preflight":{"post":{"operationId":"cqc-statutory-notification-preflight","summary":"CQC statutory-notification duty preflight","description":"Use for an already-operating or registered England provider when an incident or post-registration event may need notifying to CQC. Returns whether notification is required, route/channel, timing, missing facts and evidence-linked review conditions.","tags":["cqc","notification","incident","regulatory"],"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.04"},"protocols":[{"x402":{}}]},"requestBody":{"required":true,"content":{"application/json":{"schema":{"description":"V0.6 notification facts that close current Regulation 18 coverage gaps.","properties":{"notification_type":{"description":"The CQC statutory-notification scenario to assess.","enum":["death_person_using_service","serious_injury","abuse_or_allegation","police_involvement","service_disruption","dols_outcome","detained_patient_death","detained_patient_awol","registered_person_absence","statement_of_purpose_revision","child_in_adult_psychiatric_unit"],"title":"Notification Type","type":"string"},"facts_complete":{"default":false,"description":"Set true only when the facts relevant to the chosen notification type have been supplied.","title":"Facts Complete","type":"boolean"},"is_nhs_trust":{"default":false,"title":"Is Nhs Trust","type":"boolean"},"is_nhs_blood_and_transplant":{"default":false,"title":"Is Nhs Blood And Transplant","type":"boolean"},"is_primary_medical_service":{"default":false,"title":"Is Primary Medical Service","type":"boolean"},"event_related_to_regulated_activity":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For death/serious injury: whether it happened while a regulated activity was provided or may have resulted from that activity/how it was provided.","title":"Event Related To Regulated Activity"},"serious_injury_from_assault":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For serious_injury: whether the injury resulted from an assault. Leave null when unknown; current CQC guidance uses the abuse/allegation notification route for assault-related serious injury, so the generic serious-injury route must not be selected until this discriminator is known.","title":"Serious Injury From Assault"},"abuse_concerns_person_using_service":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Abuse Concerns Person Using Service"},"incident_may_affect_health_safety_welfare":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Incident May Affect Health Safety Welfare"},"police_event_is_death_serious_injury_or_abuse":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For police_involvement: whether the event is also a death, serious injury, or abuse/allegation concerning a person using the service. Leave null when unknown; those events use the matching specific notification route rather than the generic police-involvement form.","title":"Police Event Is Death Serious Injury Or Abuse"},"cannot_meet_assessed_needs_safely":{"default":false,"title":"Cannot Meet Assessed Needs Safely","type":"boolean"},"safety_system_failure_hours":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"For service_disruption: duration in hours of the electricity, gas, water, sewerage, fire-alarm or other safety-device failure.","title":"Safety System Failure Hours"},"dols_outcome_known":{"default":false,"title":"Dols Outcome Known","type":"boolean"},"dols_application_withdrawn":{"default":false,"title":"Dols Application Withdrawn","type":"boolean"},"person_detained_or_liable_under_mha":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Person Detained Or Liable Under Mha"},"secure_psychiatric_unit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For AWOL: whether the absence is from an inpatient psychiatric unit designated low, medium or high security.","title":"Secure Psychiatric Unit"},"absent_past_midnight":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Absent Past Midnight"},"awol_return":{"default":false,"title":"Awol Return","type":"boolean"},"registered_person_absence_days":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"For registered_person_absence: number of days the registered person has been or is expected to be absent.","title":"Registered Person Absence Days"},"absence_phase":{"anyOf":[{"enum":["planned","emergency_started","return"],"type":"string"},{"type":"null"}],"default":null,"description":"For registered_person_absence: whether this is a planned absence, an emergency absence already started, or a return-to-duty update.","title":"Absence Phase"},"days_until_planned_absence":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Days Until Planned Absence"},"emergency_absence_started_working_days_ago":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Emergency Absence Started Working Days Ago"},"return_to_duty_working_days_ago":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"title":"Return To Duty Working Days Ago"},"provider_is_health_service_body":{"default":false,"title":"Provider Is Health Service Body","type":"boolean"},"registered_manager_condition_applies_to_health_service_body":{"default":false,"title":"Registered Manager Condition Applies To Health Service Body","type":"boolean"},"statement_of_purpose_revised_days_ago":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"For statement_of_purpose_revision: number of days since the statement was revised.","title":"Statement Of Purpose Revised Days Ago"},"service_disruption_staffing_shortage_threatens_safe_operation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For service_disruption: whether insufficient suitably qualified, skilled and experienced staff prevents or appears likely to threaten safe continuation of the regulated activity.","title":"Service Disruption Staffing Shortage Threatens Safe Operation"},"service_disruption_physical_damage_threatens_care":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For service_disruption: whether physical damage to premises has or is likely to have a detrimental effect on treatment or care.","title":"Service Disruption Physical Damage Threatens Care"},"service_disruption_other_safe_continuation_threat":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For service_disruption: whether another event prevents or appears likely to threaten the provider's ability to carry on the regulated activity safely or in accordance with registration requirements.","title":"Service Disruption Other Safe Continuation Threat"},"service_disruption_safety_or_utility_failure_present":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For service_disruption: whether there is an electricity/gas/water/sewerage interruption or fire-alarm/other safety-device failure whose duration must be assessed against the Regulation 18 24-hour threshold.","title":"Service Disruption Safety Or Utility Failure Present"},"person_under_18":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For child_in_adult_psychiatric_unit: whether the person is under 18 years old.","title":"Person Under 18"},"adult_psychiatric_unit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"For child_in_adult_psychiatric_unit: whether the placement is in a psychiatric ward/unit intended for adults.","title":"Adult Psychiatric Unit"},"adult_psychiatric_placement_hours":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"default":null,"description":"Continuous duration in hours of the under-18 placement in the adult psychiatric unit.","title":"Adult Psychiatric Placement Hours"}},"required":["notification_type"],"title":"NotificationDecisionInput","type":"object"},"example":{"notification_type":"service_disruption","facts_complete":true,"cannot_meet_assessed_needs_safely":false,"safety_system_failure_hours":26}}}},"responses":{"200":{"description":"Evidence-linked deterministic statutory-notification result."},"402":{"description":"Payment Required. Inspect the runtime x402 v2 PAYMENT-REQUIRED header for the authoritative chain, asset, amount and payment requirements."},"422":{"description":"Invalid request."}}}}}}