Groundwork

Guides

Is Claude Code GDPR compliant? Claude Code, Cursor and Codex for UK teams

By Dr Aadam Ul-Haq, Dentist & Co-founder of Groundwork · Updated 7 Nov 2026

It depends on your plan, and on whether personal data ever reaches the tool. Claude Code, Cursor and Codex mostly see your code. They see personal data only if it's in your prompts, your files or a database you connect.

On a business plan, none of the three trains on your data by default. Each company also offers a DPA (data processing agreement). That's the contract UK GDPR (the UK General Data Protection Regulation) requires with any supplier that handles personal data for you.

On a personal plan, those business terms don't apply.

Who this guide is for

UK founders and developers who build with Claude Code, Cursor or Codex on a product that holds customers' personal data. It often comes up when a customer asks which AI tools can see their data. For the suppliers your app runs on, such as OpenAI's API, Supabase and Vercel, see our supplier GDPR guide.

The short answer for each tool

Tool

DPA covers

Trains on your code?

How long data is kept

Claude Code

Team, Enterprise and API accounts

Not on those accounts, unless your organisation opts in. Personal plans: yes, if the setting is on

Business accounts: 30 days. Personal plans: 30 days, or 5 years with training on

Cursor

Teams and Enterprise. Not individual plans

Not with Privacy Mode, which is on by default for teams

File contents cached briefly; zero data retention agreements with its model providers

Codex

ChatGPT business plans (OpenAI supports signing one) and the API

Not on ChatGPT Business, Enterprise, Edu or the API, by default

API: abuse-monitoring logs for up to 30 days

If none of your users' personal data reaches the tool, it isn't handling that data for you. If it does, treat the tool like any other supplier: a DPA that covers your plan, and a line in your list of suppliers. If you'd like that list drafted and kept up to date as your tools change, see how Groundwork works for startups.

Is Claude Code GDPR compliant?

On a Team, Enterprise or API account, Anthropic's Commercial Terms apply, and its DPA is automatically part of them.

Is Cursor GDPR compliant?

Only on a team plan. Cursor's DPA covers Teams and Enterprise, and says plainly that it doesn't apply to individual plans.

Is Codex GDPR compliant?

Codex works with ChatGPT Plus, Pro, Business, Edu and Enterprise plans, or with an OpenAI API key (Codex on GitHub). Use it through a business plan or the API.

What to do before your coding tool sees customer data

  1. Keep real customer data out of it, since that removes most of the question. Use made-up test data, and don't connect the tool to your production database. Our guides to vibe coding and GDPR and the vibe coding security checklist cover the rest of your app.
  2. Put the team on a business plan: Claude Team or Enterprise, Cursor Teams, or ChatGPT Business. That's where the DPA and the no-training terms apply.
  3. Check the settings: have an admin enforce Cursor's Privacy Mode, don't join Anthropic's Development Partner Program unless you mean to, and don't send feedback from sessions with real data.
  4. Add the tool to your supplier list if personal data does reach it, with where it's processed. Our data processing agreement guide covers what that list needs.
  5. Re-check every three months. These terms change often, and every fact here is dated.

What will it cost?

The DPAs cost nothing extra. The cost is the business plan. All three bill in US dollars, so the pounds below use HMRC's November 2026 rate ($1.3396 to £1), with prices as listed on 7 November 2026:

Plan

Per user, per month

Claude Team, which includes Claude Code

About £15 billed annually ($20), or £19 monthly ($25)

Cursor Teams

From about £22 ($30)

ChatGPT Business, which includes Codex

About £15 billed annually ($20), or £19 monthly ($25)

Then there's your time: keeping your supplier list, DPA and privacy notice in line whenever a tool or its terms change.

Groundwork's AI agent drafts your UK GDPR documents with you in a chat, including your supplier list, DPA and privacy notice. Connect GitHub and it can use your codebase as context when it lists your suppliers.

Its MCP server lets Claude Code and Cursor read your Groundwork documents, so your coding tool can work from what they say. If you've drafted these in ChatGPT or Claude, that's the difference.

Your documents stay in step with each other. Changes wait in the review queue until you approve them, and each approved version is kept with its full history.

It won't make you compliant: choosing plans and settings, and deciding what data your tools can reach, stay with you.

See how Groundwork works for startups

About the author

Dr Aadam Ul-Haq - Dentist & Co-founder of Groundwork

Get your SaaS compliant in a weekend.

Draft UK GDPR, Cyber Essentials, and a customer-ready data processing agreement in hours. The documents stay sized to a founder-led team, and update when your tools or suppliers change.