Documentation
README
Context7 MCP
HARD GATE β Max 3 Context7 tool calls per user question (
resolve-library-id+query-docscount toward the cap). On quota/rate-limit errors, emit an explicit CONTEXT7_UNAVAILABLE block β do NOT silently answer from training data.HARD GATE β Before HTTP fetch, check
bash scripts/lib/doc-fetch-cache.sh get "<libraryId>:<query>". Cache hit within TTL β use cached body (no round-trip). On ETag mismatch after conditional refresh, replace cache entry.
When to Use
- Setup/configuration questions ("How do I configure Next.js middleware?")
- Code involving libraries ("Write a Prisma query forβ¦")
- API references ("What are the Supabase auth methods?")
- User mentions specific frameworks (React, Vue, Svelte, Express, Tailwind, etc.)
This is the opening of the README. Read the full README on GitHub.