Context7 MCP
Fetch up-to-date, version-specific library docs and code examples directly into prompts.
🛡️ AgentReady threat assessment
MAESTRO 7-layer threat model + OWASP AIVSS risk score for Context7 MCP, derived from its capabilities.
AIVSS 7.4 · High
View MAESTRO 7-layer threat model →Overview
Context7 by Upstash pulls current, version-specific documentation and code examples for thousands of libraries into an agent's prompt, reducing hallucinated APIs. Agents add 'use context7' to a query and the server returns relevant docs. Because it injects fetched documentation into context, the returned snippets are an untrusted-content surface, though the corpus is curated library docs.
Key features
- Version-specific library docs
- Curated code examples
- Reduces API hallucinations
- Wide library coverage
Use cases
- Accurate coding assistance
- Avoid outdated API usage