> ## Documentation Index
> Fetch the complete documentation index at: https://context7.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Security

> An overview of Context7's security practices, data handling, and compliance measures

Context7 takes security and privacy seriously. This page outlines our security practices, data handling, and compliance measures.

## Highlights

* Your original prompts stay with your AI assistant; Context7 only receives search queries formulated by the MCP client, which is instructed to strip sensitive data before sending them
* Documentation is indexed inside SOC 2 compliant infrastructure operated by Upstash
* API keys are encrypted, rate limited, and easy to rotate from your dashboard
* Enterprise customers can enable SSO (SAML, OAuth, OIDC) and receive dedicated audit trails
* The [Context7 Addendum](https://upstash.com/trust/context7addendum.pdf), [Upstash Terms and Privacy Policy](https://upstash.com/docs/common/help/legal) applies to all users; see [trust.upstash.com](https://trust.upstash.com/) for full infrastructure compliance details, certifications

## Security Areas

Explore the main security topics in Context7:

> [card] [Data Privacy](https://context7.com/docs/security/data-privacy.md)
>
> Learn how Context7 handles privacy, retrieval scope, and data.

> [card] [Infrastructure](https://context7.com/docs/security/infrastructure.md)
>
> Review platform protections, operational controls, abuse prevention, and secure development practices.

> [card] [Authentication and Access Control](https://context7.com/docs/security/auth-and-access-control.md)
>
> See how API keys, SSO, and enterprise access controls are handled.

> [card] [Data Safety](https://context7.com/docs/security/data-safety.md)
>
> Understand how Context7 detects malicious content and prevents it from reaching AI assistants.

> [card] [Compliance and Reporting](https://context7.com/docs/security/compliance-and-reporting.md)
>
> Find reporting guidance, transparency commitments, and compliance details.

> [card] [Best Practices](https://context7.com/docs/security/best-practices.md)
>
> Follow practical recommendations for using Context7 securely.

Context7 also uses verification badges to help signal trusted libraries. For full verification details, see [Library Verification](https://context7.com/docs/howto/verification.md).
For more details on how Context7 handles quality and safety, see the [Quality and Safety in Context7](https://upstash.com/blog/context7-quality-and-safety) blog post.

## Questions and Support

For security-related questions:

* Contact us through [GitHub Issues](https://github.com/upstash/context7/issues)
* Join our [Discord Community](https://upstash.com/discord)
* Enterprise customers: Contact your dedicated support team

For privacy policy details, visit: [context7.com/privacy](https://context7.com/privacy)

***

**Last Updated**: March 2026

We continuously improve our security practices. Check this page regularly for updates.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.