Skip to content

Context7 ​

github.com/upstash/context7

Description ​

Context7 pulls up-to-date, version-specific documentation and code examples straight from the source — and places them directly into your prompt.

Install ​

bash
npx ctx7 setup

API Key ​

Set the key in the environment rather than pasting it into a config file or a note:

bash
export CONTEXT7_API_KEY="ctx7sk-..."

npx ctx7@latest login stores it for you. The free tier works without a key; a key raises the rate limit.