Add a Rule
To avoid typinguse context7 in every prompt, add a rule to your MCP client to automatically invoke Context7 for code-related questions:
- Cursor:
Cursor Settings > Rules - Claude Code:
CLAUDE.md - Or the equivalent in your MCP client
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get the most out of Context7 with these best practices
use context7 in every prompt, add a rule to your MCP client to automatically invoke Context7 for code-related questions:
Cursor Settings > RulesCLAUDE.mdAlways use Context7 MCP when I need library/API documentation, code generation, setup or configuration steps without me having to explicitly ask.
Implement basic authentication with Supabase. use library /supabase/supabase for API and docs.
How do I set up Next.js 14 middleware? use context7
Was this page helpful?