Who it is forA developer whose agent keeps using deprecated Next.js or Supabase APIs.
The problemModel training data lags behind library releases.
The outcomeCode generated from current documentation.
What you need first
- Node.js for npx
- An MCP-capable coding agent such as Cursor or Claude Code
Steps
- Run
npx ctx7 setup - Restart your agent
- Add use Context7 to a prompt, for example a Next.js proxy request
- Check the code against the current docs
Prompt for your agent
With Context7 set up, ask: How do I set up a Next.js 16 proxy? use context7. Confirm the answer cites the current docs version.
Caveat. Docs coverage depends on what Context7 has indexed for each library.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for upstash/context7 and "Stop your agent coding against outdated library APIs"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer