Few US tech companies arouse such strong feelings in the UK as Palantir. In April, two petitions attracted almost 230,000 signatures calling on ministers to end public contracts with the US data analytics company and cancel its £330mn contract to build NHS England’s Federated Data Platform. Some NHS staff have been boycotting the system amid ethical concerns over Palantir. Then last week, a committee of MPs said the US company’s significant role across UK defence, health and police data systems was an “unacceptable point of weakness” — and urged ministers to exercise a break clause next year in the seven-year NHS contract.

No one doubts the need to drag NHS England technology into the 21st century. Its fragmented systems force staff into daily workarounds. The NHS data trove, meanwhile, is a potentially rich resource, including for Britain’s own vibrant life sciences sector.

Palantir has said its FDP, which collates NHS operational data such as waiting lists, staffing, patient information and theatre schedules, has helped to deliver more than 110,000 additional operations and remove hundreds of thousands of patients from waiting lists.

But the cross-party Science, Innovation and Technology committee warned that Palantir had expanded its presence across the public sector despite a “clear mismatch with UK values”. It cited Palantir’s role “supporting highly controversial policies and activities”, including supplying software to the US military and its use by US Immigration and Customs Enforcement. On the same day the MPs’ report was published, a number of the company’s key shareholders — including the massive Norwegian sovereign wealth fund — backed a motion at Palantir’s annual meeting calling, unsuccessfully, for an independent human rights report into the company.

Britain should endeavour to use the best available technology for any task. But more compelling than the values argument is MPs’ concern that the UK is getting “locked in” to a small number of mostly US suppliers that may seek to embed themselves and crank up prices even as Trump’s US has become a less reliable partner. In sectors such as cloud computing, dominated by Amazon, Microsoft and Google, that may be harder to avoid. But the committee suggests Palantir is “far from the only company capable” of providing the data analysis UK public bodies need; NHS opinions on the platform’s merits are mixed.

The committee also rightly called on the government to confirm the nature of Palantir’s access to NHS patient data, after the FT revealed that some external staff had been granted “unlimited access” to patient data while working on a part of the data platform.

Despite the shortcomings, it is clear that NHS data management has improved during the period of Palantir’s contract. So exercising next year’s break clause would be the wrong decision. But for the remainder of the contract, close monitoring is vital to ensure there is no “lock in” to the US company. Ministers could also use the time to encourage potential domestic or EU rivals capable of replacing Palantir when the contract expires.

In particular, the government should heed the MPs’ call to commit wherever possible to UK suppliers to develop a planned NHS Single Patient Record. It should also explain why Palantir won a £240mn defence contract without a competitive tender.

Louis Mosley, head of Palantir UK, accused MPs of putting “the politics of the playground before public services”. But many other countries, including the EU, are examining how to reduce vulnerabilities and boost their tech sovereignty. For the benefit of its security and growth, the UK, too, needs to foster its own tech businesses where it can.