context7
Verified Safeby 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
npx -y @upstash/context7-mcp@latestEnvironment 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
mcp
Provides AI assistants with direct, real-time access to official Microsoft Learn documentation to prevent hallucinations and retrieve accurate technical information.
docs-mcp-server
The Documentation MCP Server indexes documentation from various sources (web, local files, registries) and makes it semantically searchable via vector embeddings, primarily for AI coding assistants.
code-index-mcp
Provides intelligent code indexing, searching, and analysis capabilities for large language models to understand and navigate codebases.
chunkhound
Transforms codebases into searchable knowledge bases for AI assistants using semantic search and regex search, with deep research capabilities for code and files.