Finding Documentation
Retrieve current documentation and code examples for any library using the Context7 CLI.
npx ctx7@latest <command>
Workflow
Two-step process -- resolve the library name to an ID, then query docs with that ID.
# Step 1: Resolve library ID
ctx7 library <name> <query>
# Step 2: Query documentation
ctx7 docs <libraryId> <query>
You MUST call ctx7 library first to obtain a valid library ID UNLESS the user explicitly provides a library ID in
[Description truncada. Veja o README completo no GitHub.]