{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "upstash-context7--stop-agent-using-outdated-apis",
 "repo": "upstash/context7",
 "repo_url": "https://github.com/upstash/context7",
 "repo_slug": "upstash-context7",
 "title": "Stop your agent coding against outdated library APIs",
 "page_title": "How to set up Context7 MCP so your agent uses current docs",
 "summary": "Set up Context7 so the agent pulls current docs when you add use Context7 to a prompt.",
 "who": "A developer whose agent keeps using deprecated Next.js or Supabase APIs.",
 "problem": "Model training data lags behind library releases.",
 "outcome": "Code generated from current documentation.",
 "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"
 ],
 "agent_prompt": "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.",
 "agents": [
  "cursor",
  "claude-code"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "Docs coverage depends on what Context7 has indexed for each library.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js for npx",
  "An MCP-capable coding agent such as Cursor or Claude Code"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/upstash-context7/stop-agent-using-outdated-apis/",
 "md": "https://dedupedai.com/use-cases/upstash-context7/stop-agent-using-outdated-apis/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/upstash-context7--stop-agent-using-outdated-apis.json",
 "api_version": "v1"
}
