All apps/Context7 CLI

Context7 CLI

ctx7

A CLI for fetching current library documentation

Runs as ctx7|macOS, Linux, Windows|context7.com

Command form

ai-draft · 2 tasks · 8 fields

Search Context7 documentation, resolve a library ID, or fetch docs by ID. Setup, remove and login commands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui ctx7

ctx7 search

Search documentation
Search documentationExample values, fixed in this page — nothing here reaches a terminal
Basic
Question*
string
Library
string
Library version
string
Advanced
Preferred language
string
JSON output
--json
TasksEach one presets the form for one job
Search docs
querylibrarylibrary_versionlanguagejson
ParametersOnly these flags are editable in the form
Question
string · positional 0
Library
A name or library ID; repeat for up to four.
string · repeatable
--library
Library version
string
--library-version
Preferred language
string
--language
JSON output
boolean
--json

ctx7 docs

Fetch documentation by library ID
Fetch documentation by library IDExample values, fixed in this page — nothing here reaches a terminal
Basic
Library ID*
string
Question*
string
JSON output
--json
TasksEach one presets the form for one job
Fetch docs
library_idqueryjson
ParametersOnly these flags are editable in the form
Library ID
For example /facebook/react.
string · positional 0
Question
string · positional 1
JSON output
boolean
--json
SourcesEvery flag above is checked against these
readme
ctx7 search "how do I validate a request body with a schema?" ctx7 search "how do I stream a response?" --library Next.js --library /openai/openai-node ctx7 search "how do I cache a server function?" --library Next.js --library-version 15.4.0 ctx7 search "how do I send an SMS?" --library Twilio --language Ruby ctx7 search "how do I use hooks?" --library Reac…
manual2026-10-27

github.com

readme
ctx7 docs /facebook/react "useEffect cleanup" ctx7 docs /facebook/react "hooks" --json
manual2026-10-27

github.com

Before it fills your prompt, Otty checks the installed ctx7 against its version. A form that does not match your version is not offered.