This extension integrates Context7 as a Model Context Protocol (MCP) server for Zed's Assistant, providing up-to-date documentation for any prompt.
Context7 pulls up-to-date, version-specific documentation and code examples straight from the source and places them directly into your prompt context.
LLMs rely on outdated or generic information about the libraries you use. You get:
- ❌ Code examples are outdated and based on year-old training data
- ❌ Hallucinated APIs that don't even exist
- ❌ Generic answers for old package versions
Context7 fetches up-to-date, version-specific documentation and code examples straight from the source — and places them directly into your prompt.
Add use context7 to your question in Zed Assistant:
How do I use the new Next.js `after` function? use context7
How do I invalidate a query in React Query? use context7
How do I protect a route with NextAuth? use context7
- 1️⃣ Ask your question naturally
- 2️⃣ Tell the LLM to
use context7 - 3️⃣ Get working code answers
No tab-switching, no hallucinated APIs that don't exist, no outdated code generations.
This extension can be installed from the Zed extension.