❌ Without Context7
LLMs rely on outdated or generic information about the libraries you use:- ❌ Code examples based on old training data
- ❌ Hallucinated APIs that don’t even exist
- ❌ Generic answers for old package versions
✅ With Context7
Context7 MCP pulls up-to-date, version-specific documentation and code examples straight from the source — and gives them to your coding agent. Adduse context7 to your prompt in your coding agent:
- 1️⃣ Write your prompt naturally
- 2️⃣ Add
use context7to your prompt - 3️⃣ Get working code with current APIs
Get Started
Paste this prompt into your coding agent. The agent sets up Context7, and you sign in with OAuth in the browser. No API key is needed.npx ctx7 setup yourself. See Installation for other ways to install.
Next Steps
Install Context7
Get set up in 2 minutes with your preferred coding agent
Troubleshooting
Common issues and solutions
Get an API Key
For the REST API, SDKs and CI. Unlock higher rate limits and use your private repositories