Context7
Keep your AI agents grounded in real, up-to-date library docs and examples using version-aware context injection.
At a Glance
Pricing
Get started with Context7 at no cost with Personal use and Up-to-date documentation injection.
Engagement
Available On
About Context7
Context7 is a tool for injecting up-to-date, version-specific documentation and code examples directly into the prompt context of AI coding agents. Instead of relying on stale training data or hallucinated APIs, Context7 retrieves documentation and real examples from source libraries, tailored to your stack. It integrates with MCP servers, Cursor, Claude, and other tools.
By simply adding use context7 to a prompt, developers can trigger precise inline docs for packages like Next.js, React, Cloudflare Workers, and more. You can also automate this by adding a rule to your .windsurfrules file or equivalent, so relevant prompts automatically invoke Context7 without manual triggers.
Context7 is maintained by the Upstash team and supports community contribution for new libraries via GitHub.

Community Discussions
Using Context7 with multi-product docs in a single repo
🧠 Anyone else using Context7 with multi-product docs in a single repo? We just added Context7 to EveryDev — it’s a killer way to feed live, version-aware docs into your AI agent’s prompt (MCP-ready, works with Cursor, Claude, etc). But I’m curious how people are handling this common case: You’ve go…
Pricing
Free Plan Available
Get started with Context7 at no cost with Personal use and Up-to-date documentation injection.
- Personal use
- Up-to-date documentation injection
- Access to public projects
Capabilities
Key Features
- Inject version-specific documentation into LLM context
- Compatible with MCP servers and tools like Cursor and Claude
- Auto-invoke via .windsurfrules or tool-specific rule config
- Community project addition via GitHub
- Free for personal use