What is Privacy Mode?

With Privacy Mode enabled, none of your code will ever be stored by us or any third-party. Otherwise, we may collect prompts, code snippets and telemetry data to improve Cursor. You can read more about Privacy Mode here.

You can enable Privacy Mode at onboarding or under Cursor Settings > General > Privacy Mode.

Are requests always routed through the Cursor backend?

Yes! Even if you use your API key, your requests will still go through our backend! That’s where we do our final prompt building.

Does indexing the codebase require storing code?

It does not! If you choose to index your codebase, Cursor will upload your codebase in small chunks to our server to compute embeddings, but all plaintext code ceases to exist after the life of the request.

The embeddings and metadata about your codebase (hashes, obfuscated file names) are stored in our database, but none of your code is.

You can read more about this on our security page.