Look up documentation for any library
Fetches up-to-date documentation and code examples for any library.
/plugin marketplace add upstash/context7/plugin install context7-plugin@context7-marketplace<library> [query]Fetches up-to-date documentation and code examples for a library.
/context7:docs <library> [query]
//context7:docs react hooks
/context7:docs next.js authentication
/context7:docs prisma relations
/context7:docs /vercel/next.js/v15.1.8 app router
/context7:docs /supabase/supabase row level security
/, it's used directly as the Context7 IDresolve-library-id finds the best matching libraryquery-docs fetches documentation relevant to your queryInclude the version in the library ID for pinned documentation:
/context7:docs /vercel/next.js/v15.1.8 middleware
/context7:docs /facebook/react/v19.0.0 use hook
This is useful when you're working with a specific version and want docs that match exactly.
/docsUpdate or generate YAML documentation for SQL models with proper descriptions and tests