Back to Home
upstash icon

context7

Verified Safe

by upstash

Overview

Context7 MCP enhances LLM prompts by injecting up-to-date, version-specific documentation and code examples directly from source code, enabling more accurate and relevant code generation.

Installation

Run Command
npx -y @upstash/context7-mcp@latest

Environment Variables

  • CONTEXT7_API_KEY
  • CLIENT_IP_ENCRYPTION_KEY
  • HTTPS_PROXY
  • HTTP_PROXY

Security Notes

The `mcp/src/lib/encryption.ts` file contains a hardcoded `DEFAULT_ENCRYPTION_KEY` for AES-256-CBC encryption of client IPs. While this is primarily for internal hashing/rate limiting and can be overridden by the `CLIENT_IP_ENCRYPTION_KEY` environment variable, hardcoded default keys are generally not best practice for cryptographic operations. The server relies on an external API (`https://context7.com/api` or `https://mcp.context7.com/mcp`), so the overall security posture depends on the trustworthiness and security of this external service. No `eval` or other directly malicious patterns were found in the provided source code.

Similar Servers

Stats

Interest Score100
Security Score8
Cost ClassMedium
Avg Tokens1000
Stars38704
Forks1924
Last Update2025-12-05

Tags

Model Context ProtocolMCPDeveloper ToolsDocumentationAI-assisted coding