Skip to main content
The slash syntax tells the MCP tool exactly which library to load docs for.
Context7 will automatically match the appropriate version.
Overview
Best Practices
Get the most out of Context7 with these best practices
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
