| name | context7-cli |
| description | Use when fetching library documentation that would previously use Context7 MCP. Prefer the local context7x CLI. |
Context7 CLI
Use context7x for library documentation. Do not use Context7 MCP.
Commands
- Search libraries:
context7x search '<library-or-framework>'
- Fetch docs:
context7x docs <library-id> [topic] [tokens]
Workflow
- Search for the library.
- Pick the most relevant verified or official result.
- Fetch only the topic needed for the task.
- Keep excerpts short and cite the source path shown in the output.
Example
context7x search react
context7x docs /reactjs/react.dev useState 2000