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.
Developer
Pricing and Plans
Plan | Price | Features |
---|---|---|
Free | Free |
|