context7
Context7 platform provides up-to-date code documentation for LLMs and AI code editors.
- Region
- Overseas
- Pricing
- Free + Paid
- Open source
- Yes
- GitHub Stars
- ★ 56.7k
- Source
- GitHub
- Added
- 2026-06-05
- Last verified
- 2026-06-05

Overview
The Context7 platform delivers the latest code documentation for LLMs and AI code editors. It addresses the issue of LLMs relying on outdated or generic information by directly fetching up-to-date, version-specific documentation and code examples from source repositories and injecting them directly into prompts. Users can install and use Context7 via CLI + Skills or MCP mode. Ideal for developers who need current code documentation support.
Key features
- ▪Real-time updated code documentation
- ▪Version-specific documentation and examples
- ▪Direct integration into LLM prompts
- ▪Supports multiple installation modes
Use cases
Pros
- +No need to switch tabs
- +Avoids non-existent APIs
- +Prevents generation of outdated code
Limitations / notes
- -Requires Node.js 18 or higher
Who it's for
This overview was compiled by AI from public sources and may contain inaccuracies — please refer to the official site.
FAQ
How do I install Context7?
Run the `npx ctx7 setup` command to install.
Do I need an API key?
It is recommended to obtain a free API key to increase rate limits.
Something wrong? Let us know on the About page and we'll fix it.